Gets or sets a Boolean value indicating whether the control displays week numbers (1-52).
This is a dependency property. The default is false.
Namespace:
C1.Xaml.CalendarAssembly: C1.Xaml.Calendar (in C1.Xaml.Calendar.dll)
Syntax
| C# |
|---|
public bool ShowWeekNumbers { get; set; } |
| Visual Basic |
|---|
Public Property ShowWeekNumbers As Boolean Get Set |
Remarks
The actual appearance of week numbers is determined in the C1Calendar 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.