WPF Calendar - Selecting Months

Sep 28, 2009 at 7:41 PM
Edited Sep 28, 2009 at 7:46 PM

Sorry if this has been discussed, but what I saw didn't help me.

I have a couple of questions:

 - I set the DisplayMode="Month", but I get the day view. I have to click once on the month. What is the event or property I need to configure? I'm using also calendar1_DisplayModeChanged:

Calendar calObj = sender as Calendar;

 calObj.DisplayMode = CalendarMode.Year;

 

 - What event should I use to know the month I have clicked.

Thank you!