Skip to main content

TimeSlotCollection.CreateItem(Object, String, String) Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public TimeSlot CreateItem(
    object id,
    string displayName,
    string menuCaption
)

Parameters

Name Type Description
id Object

A Object that is the user interface object identifier. This value is accessible using the UserInterfaceObject.Id property.

displayName String

A String value which is the name of the object displayed in UI. This value is assigned to the UserInterfaceObject.DisplayName property.

menuCaption String

A String value which is the menu caption of the object. This value is assigned to the UserInterfaceObject.MenuCaption property.

Returns

Type Description
TimeSlot

A Object that is the user interface object identifier. This value is accessible using the UserInterfaceObject.Id property.

See Also