Hy all.
I looked at the new controls from Infragistics, the XamMonthCalendar and XamDateTimeEditor, but I noticed that XamMonthCalendar has more configuration properties like WeekNumberVisibility or FirstDayOfWeek, which I think are great. But would it be possible to have them also for the XamDateTimeEditor? Is there a configuration or something to be able to use them here also?
Thanks.
Nico
We didn't want to mimic the properties of the xamMonthCalendar on the xamDateTimeEditor since technically the xamMonthCalendar is just used by the xamDateTimeEditor within its template but there isn't a tight coupling between the two - you could retemplate the xamDateTimeEditor and remove the xamMonthCalendar or use something else. Anyway, I think the answer to your question is in this post where I showed how someone can provide a style for the xamMonthCalendar in the resources that could be used to set these properties.
Hy Andrew.
Thanks for the answer. I tryed to use a style like this:
<Style TargetType="{x:Type igEditors:XamMonthCalendar}">
<Setter Property="TodayButtonVisibility" Value="Hidden" />
<Setter Property="WeekNumberVisibility" Value="Visible" />
<Setter Property="FirstDayOfWeek" Value="Monday" />
</Style>
but dosen't seem to work. Am I doing something wrong?