[]
        
(Showing Draft Content)

C1.WinUI.Calendar.CalendarAdapter.GetSlotKind

GetSlotKind Method

GetSlotKind(CalendarSlotInfo)

Gets the kind of slot will be used to the specified slotInfo.

Declaration
public virtual object GetSlotKind(CalendarSlotInfo slotInfo)
Parameters
Type Name Description
CalendarSlotInfo slotInfo

The info about a slot.

Returns
Type Description
object

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.