views:

885

answers:

2

How can I make a custom control that show the calendar control in a much larger view. Like this or like the calendar view in outlook 2007. Do I have to make a custom class or can I just attempt to resize the calendar. I am doing this in WPF so I use WPF Toolkit

A: 

You probably need a custom class -- the control in WPF is designed to be a picker, not a displayer of data on a timeline. That stated, you could try extending, and retemplating the calandar control to allow display of data in the form you want.

if you are just looking for a huge, lickable date picker, then you could just use a scale factor transform to make it bigger, and more lickable.

dhopton
the larger the more lickable?
redoced
+1  A: 

There are a few options. You can restyle the datepicker control from the toolkit. Try these links:

http://msdn.microsoft.com/en-us/magazine/dd882520.aspx http://www.eggheadcafe.com/tutorials/aspnet/88c6f252-ba7f-4789-97e8-1bd7690ca385/styling-the-wpf-calendar.aspx

Or use/make your own control. There are some good articles on codeproject.com that do this.

http://www.codeproject.com/KB/WPF/Quick_WPf_MonthView_Cal.aspx http://www.codeproject.com/KB/WPF/WPFOutlookCalendar.aspx

nportelli