Hi
The XamMonthCalendar control displays a maximum of 12 months. Is this by design or do I have an ability to show as many as the size of the window increases?
Thanks,
Chev
Hello Chev,
I have been looking into your post. The style you are using is for the CalendarDay and not for the XamMonthCalendar as I have in the sample application provided in my previous post.
In order to achieve the functionality you want you have to set the MaxGroups property of CalendarItemGroupPanel.
Please take a look at the sample application I have posted in my previous post and feel free to let me know if you have any further questions on this matter.
This doesn't seem to work for me since I already have a style as follows for my monthcalendar. Kindly let me know how I can get this working with this.
<igEditors:XamMonthCalendar.Resources> <Style TargetType="{x:Type igEditors:CalendarDay}"> <EventSetter Event="MouseMove" Handler="CDLoaded"/> <Setter Property="ToolTip"> <Setter.Value> <MultiBinding Converter="{StaticResource TooltipConverter}"> <Binding RelativeSource="{RelativeSource Self}" Path="StartDate"/> <Binding /> </MultiBinding> </Setter.Value> </Setter>
<Setter Property="Background"> <Setter.Value> <MultiBinding Converter="{StaticResource DateToColorConverter}"> <Binding RelativeSource="{RelativeSource Self}" Path="StartDate"/> <Binding /> </MultiBinding> </Setter.Value> </Setter>
</Style> </igEditors:XamMonthCalendar.Resources>
Thanks
I have been looking into your post and have created a small sample application implementing Andrews suggestion.
Please find the attached sample application and feel free to let me know if you have any further questions on this matter.
Appreciate if you could provide a sample.
You would need to re-template the xamMonthCalendar and change the value of the MaxGroups of the CalendarItemGroupPanel in its template.