Can we Include Workweek number in XamDateTimeEditor, I attached the screenshot, please give me any sample if possible
Forget about first post , Actually I am using datetimeeditor control in XamDataGrid. I able to show workweek number . we can just make weeknumber visible , but how do I use inside to XamDataGrid. How do show column for WorkWeek number.
Hello,
Thank you for your post. I have been looking into it and I can suggest you add the following Style for the XamMonthCalendar in the XamDataGrid’s Resources since this is the control used in the XamDateTimeEditor’s DropDown Template:
<Style TargetType="{x:Type igEditors:XamMonthCalendar}"> <Setter Property="WeekNumberVisibility" Value="Visible" /> </Style>
Please let me know if this helps you or you have further questions on this matter.
Looking forward for your reply.
Thanks for suggesting me , actually my question was little confusion, how can I also show calumn name for week number too, like SU,MO,TU... can we show "WN" top of week number column.please refer to highlighted text of snapshot already attached in second post.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Hello Rubie,
I created a sample project for you with the functionality you want. Basically I copied the default Style of the CalendarItemArea and add a TextBlock in its Template with "WN" text on top of the week numbers. Please let me know if this helps you or you have further questions on this matter.