UserInterfaceObjectCollection<T>.LoadDefaults() Method

Clears the collection and loads standard items created by default.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

public virtual void LoadDefaults()
Public Overridable Sub LoadDefaults

Remarks

The LoadDefaults method removes all the objects from the collection, and populates it with the default items.

Standard items, created by default, are different for different object types. There are 11 standard appointment label items of different colors and display names; 5 appointment statuses which correspond to AppointmentStatusType enumeration members; 7 different time scales from TimeScale15Minutes to TimeScaleYear etc.

To determine whether a collection contains only default items, use the UserInterfaceObjectCollection<T>.HasDefaultContent method.

Implements

DevExpress.XtraScheduler.IStorageCollection<T>.LoadDefaults()
See Also