Scheduler for WPF | ComponentOne
C1.WPF.Schedule 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 Boolean
    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.
    See Also