Xamarin.iOS Documentation | ComponentOne
C1.iOS.Calendar Assembly / C1.iOS.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)
    'Usage
     
    
    Dim instance As C1Calendar
    Dim handler As EventHandler(Of CalendarYearSlotLoadingEventArgs)
     
    AddHandler instance.YearSlotLoading, handler
    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 year.  
    Gets or sets the visual element shown in the year slot.  
    See Also