Calendar for WPF | ComponentOne
C1.WPF.Calendar Namespace / CalendarAdapter Class / GetSlotKind Method
The info about a slot.

In This Topic
    GetSlotKind Method
    In This Topic
    Gets the kind of slot will be used to the specified slotInfo.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetSlotKind( _
       ByVal slotInfo As CalendarSlotInfo _
    ) As Object
    public virtual object GetSlotKind( 
       CalendarSlotInfo slotInfo
    )

    Parameters

    slotInfo
    The info about a slot.

    Return Value

    Any object identifying a kind of slot. If null is returned. the slots will not be recycled.
    Remarks
    The object returned will be used as a key for a dictionary of recycled slots, the ones with the same key will be recycled in the same bucket.
    See Also