ComponentOne Calendar for UWP
C1.UWP.Calendar Assembly / C1.Xaml.Calendar Namespace / C1Calendar Class / ShowWeekNumbers Property

In This Topic
    ShowWeekNumbers Property
    In This Topic
    Gets or sets a System.Boolean value indicating whether the control displays week numbers (1-52). This is a dependency property. The default is false.
    Syntax
    'Declaration
     
    Public Property ShowWeekNumbers As System.Boolean
    public System.bool ShowWeekNumbers {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.
    See Also