A class that retrieves filtered slots.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
C#
public class SlotGenerationBehavior : Freezable
Inheritance: objectSlotGenerationBehavior
Constructors
C#
public SlotGenerationBehavior()
Methods
CreateInstanceCore()
Freezable
C#
protected override Freezable CreateInstanceCore()
Freezable
C#
protected virtual IEnumerable<Slot> GetSlots(SlotGenerationData data, DateTime? start, Func<IDateSpan, Slot> createSlot)
Gets all slots in the current time zone.
C#
public IEnumerable<Slot> GetSlots(SlotGenerationData data, TimeZoneInfo timeZone)
The data source.
timeZoneTimeZoneInfoThe time zone.
Returns:The filtered slots.
Gets all visible slots.
C#
public IEnumerable<Slot> GetSlots(SlotGenerationData data)
The slot data.
Returns:The slots.
Gets all slots by time.
C#
public IEnumerable<Slot> GetSlotsAtTime(SlotGenerationData data, Slot slot)
The data source.
slotSlotThe slot.
Returns:The filtered slots.
Gets all slots in the current group.
C#
public IEnumerable<Slot> GetSlotsInGroup(SlotGenerationData slotData, IGroupIdentifier group)
The data source.
groupIGroupIdentifierThe group.
Returns:The filtered slots.
Gets all slots in current group which intersects with current slot.
C#
public IEnumerable<Slot> GetSlotsInGroupsIntersectingWith(SlotGenerationData data, Slot target)
The data source.
targetSlotThe slot.
Returns:The filtered slots.