Click here to Skip to main content
15,914,016 members
Home / Discussions / WPF
   

WPF

 
QuestionWindow Background Brush Change Pin
BlitzPackage8-Aug-08 10:07
BlitzPackage8-Aug-08 10:07 
AnswerRe: Window Background Brush Change Pin
Insincere Dave8-Aug-08 13:58
Insincere Dave8-Aug-08 13:58 
GeneralRe: Window Background Brush Change Pin
BlitzPackage8-Aug-08 15:41
BlitzPackage8-Aug-08 15:41 
GeneralRe: Window Background Brush Change Pin
BlitzPackage8-Aug-08 15:51
BlitzPackage8-Aug-08 15:51 
AnswerRe: Window Background Brush Change Pin
Jammer8-Aug-08 22:38
Jammer8-Aug-08 22:38 
QuestionWPF Control Advice Pin
Harvey Saayman7-Aug-08 20:59
Harvey Saayman7-Aug-08 20:59 
AnswerRe: WPF Control Advice Pin
Jammer7-Aug-08 23:09
Jammer7-Aug-08 23:09 
AnswerRe: WPF Control Advice Pin
Gideon Engelberth8-Aug-08 3:19
Gideon Engelberth8-Aug-08 3:19 
The first thing that jumped out at me is that you are not nesting the controls. The way it stands now, the Canvas and Label elements will end up on top of instead of inside the Borders in the same grid cell. My guess is that you are using the Rectangles as a background color for certain cells; if so, you can use the Background property of the Border instead.

Personally, I would use the lighter-weight TextBlock instead of Label (which unlike its Forms cousin can show a wide range of content) if all you will show is text.

As for the using a Canvas, if all you want to do is put the date in the cell, I would again use a TextBlock inside the Border and change the Text property to match the day you need.
QuestionGetting A DependencyProperty 'Original Value' Pin
Jammer7-Aug-08 12:53
Jammer7-Aug-08 12:53 
AnswerRe: Getting A DependencyProperty 'Original Value' Pin
Insincere Dave7-Aug-08 13:58
Insincere Dave7-Aug-08 13:58 
GeneralRe: Getting A DependencyProperty 'Original Value' Pin
Insincere Dave7-Aug-08 14:18
Insincere Dave7-Aug-08 14:18 
GeneralRe: Getting A DependencyProperty 'Original Value' Pin
Jammer7-Aug-08 20:56
Jammer7-Aug-08 20:56 
GeneralRe: Getting A DependencyProperty 'Original Value' Pin
Jammer7-Aug-08 20:54
Jammer7-Aug-08 20:54 
GeneralRe: Getting A DependencyProperty 'Original Value' Pin
Jammer7-Aug-08 22:54
Jammer7-Aug-08 22:54 
Questioncustom, main window look with wpf Pin
valajbeg7-Aug-08 0:57
valajbeg7-Aug-08 0:57 
AnswerRe: custom, main window look with wpf Pin
Thomas Stockwell7-Aug-08 1:47
professionalThomas Stockwell7-Aug-08 1:47 
GeneralRe: custom, main window look with wpf Pin
valajbeg7-Aug-08 1:53
valajbeg7-Aug-08 1:53 
GeneralRe: custom, main window look with wpf Pin
Pete O'Hanlon7-Aug-08 2:10
mvePete O'Hanlon7-Aug-08 2:10 
GeneralRe: custom, main window look with wpf Pin
valajbeg7-Aug-08 2:19
valajbeg7-Aug-08 2:19 
GeneralRe: custom, main window look with wpf Pin
Pete O'Hanlon7-Aug-08 3:02
mvePete O'Hanlon7-Aug-08 3:02 
GeneralRe: custom, main window look with wpf Pin
valajbeg7-Aug-08 3:10
valajbeg7-Aug-08 3:10 
GeneralRe: custom, main window look with wpf Pin
Thomas Stockwell7-Aug-08 3:27
professionalThomas Stockwell7-Aug-08 3:27 
GeneralRe: custom, main window look with wpf Pin
valajbeg7-Aug-08 3:29
valajbeg7-Aug-08 3:29 
GeneralRe: custom, main window look with wpf Pin
Jammer7-Aug-08 4:35
Jammer7-Aug-08 4:35 
QuestionASP.NET control in Silverlight Pin
rg106-Aug-08 23:18
rg106-Aug-08 23:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.