Skip to main content

UserInterfaceObjectCollection<T>.HasDefaultContent() Method

Indicates whether the current collection includes only standard items, created by default.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core


public bool HasDefaultContent()


Type Description

True, if the collection has only default items; otherwise, false.


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 populate a generic collection with standard items, use the UserInterfaceObjectCollection<T>.LoadDefaults method.

See Also