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.v23.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public bool HasDefaultContent()

Returns

Type Description
Boolean

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

Remarks

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