Scheduler for WPF | ComponentOne
C1.WPF.Schedule Namespace / C1CalendarItem Class / Years Property

In This Topic
    Years Property
    In This Topic
    Gets the C1CalendarItem.DateTimeInfoCollection object pre-populated with DateTimeInfo objects representing several adjoining years. This object can be used in xaml for navigating the C1CalendarItem control to the one of the adjoining years.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Years As C1CalendarItem.DateTimeInfoCollection
    Remarks
    This property is used by default C1CalendarItem style. For the sample of using look into source xaml: themes\CommonCalendarResources.xaml.
    See Also