[]
        
(Showing Draft Content)

C1.WPF.Schedule.C1Calendar.ShowWeekNumbers

ShowWeekNumbers Property

ShowWeekNumbers

Gets or sets a bool value indicating whether the control displays week numbers (1-52). This is a dependency property. The default is false.

Declaration
public bool ShowWeekNumbers { get; set; }
Remarks

The actual appearance of week numbers is determined in the C1CalendarItem control template with the WeekNumbersPresenter control instance. To show week numbers in the custom control template, place the WeekNumbersPresenter control into template visual tree and bind it's Visibility property to the ShowWeekNumbers property.