Calendar for WPF | ComponentOne
C1.WPF.Calendar Namespace / CalendarAdapter Class / PrepareSlot Method
The slot presenter.
The info about the slot.

In This Topic
    PrepareSlot Method
    In This Topic
    Prepares a slot to be displayed. Typically used to set the style of the slot.
    Syntax
    'Declaration
     
    
    Public Overridable Sub PrepareSlot( _
       ByVal slot As CalendarSlotPresenter, _
       ByVal slotInfo As CalendarSlotInfo _
    ) 
    public virtual void PrepareSlot( 
       CalendarSlotPresenter slot,
       CalendarSlotInfo slotInfo
    )

    Parameters

    slot
    The slot presenter.
    slotInfo
    The info about the slot.
    Remarks
    If some particular property is set for one slot it needs to be set for all of them since the recycling algorithm will reuse the presenters.
    See Also