DayView.TimeSlots Property

Gets the View's collection of time slots.

Namespace: DevExpress.Web.ASPxScheduler

Assembly: DevExpress.Web.ASPxScheduler.v20.2.dll

Declaration

public TimeSlotCollection TimeSlots { get; }
Public ReadOnly Property TimeSlots As TimeSlotCollection

Property Value

Type Description
TimeSlotCollection

A TimeSlotCollection object that represents a time slot collection.

Available values:

Name Description
GetMaxValue()

Obsolete. The method is unnecessary since the collection is ordered.

GetMinValue()

Obsolete. The method is unnecessary since the collection is ordered.

CreateItem(Object, String, String)

Creates a new instance of the TimeSlotCollection class with the specified ID, name and menu caption.

Add(TimeSpan, String, String)

Appends a new time slot with the specified value, display name and menu caption to the collection.

Add(TimeSpan, String)

Appends a new time slot with the specified value and display name to the collection.

TimeSlotCollection()

Initializes a new instance of the TimeSlotCollection class with the default settings.

Remarks

The TimeSlots property provides access to the TimeSlotCollection object which represents a collection of time slots within the Day View. The collection's properties and methods can be used to manipulate individual collection items (instances of the TimeSlot class).

The members of the TimeSlotCollection determines how the DayView.TimeScale value is recalculated when assigned.

See Also