Allows week numbers to be customized.
[DXCategory("Events")] public event CustomWeekNumberEventHandler CustomWeekNumber
<DXCategory("Events")> Public Event CustomWeekNumber As CustomWeekNumberEventHandler
The CustomWeekNumber event's data class is DevExpress.XtraEditors.Repository.CustomWeekNumberEventArgs.
If the CalendarControlBase.ShowWeekNumbers property is set to true, the calendar displays week numbers in the year next to each week. The year's first week number is determined based on the CalendarControlBase.WeekNumberRule option.
The CustomWeekNumber event allows you to specify the week numbers based on custom logic. The Date event parameter returns the last day of the week being processed. The WeekNumber event parameter allows you to specify a custom week number.