Calendar for WPF | ComponentOne
C1.WPF.Calendar Namespace / C1Calendar Class / YearSlotLoading Event

In This Topic
    YearSlotLoading Event
    In This Topic
    Occurs when an element representing a year in the calendar is about to be created.
    Syntax
    'Declaration
     
    
    Public Event YearSlotLoading As EventHandler(Of CalendarYearSlotLoadingEventArgs)
    public event EventHandler<CalendarYearSlotLoadingEventArgs> YearSlotLoading
    Event Data

    The event handler receives an argument of type CalendarYearSlotLoadingEventArgs containing data related to this event. The following CalendarYearSlotLoadingEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets whether or not the year is an adjacent year in the calendar.  
    Gets the slot raising the event. (Inherited from C1.WPF.Calendar.CalendarSlotLoadingEventArgs<CalendarYearSlotInfo>)
    Gets or sets the visual element shown in the day slot. (Inherited from C1.WPF.Calendar.CalendarSlotLoadingEventArgs<CalendarYearSlotInfo>)
    Gets the date information for the slot. (Inherited from C1.WPF.Calendar.CalendarSlotLoadingEventArgs<CalendarYearSlotInfo>)
    Gets the year.  
    Gets or sets the visual element shown in the year slot.  
    See Also