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.v20.1.Core.dll

Declaration

public TimeSlot CreateItem(
    object id,
    string displayName,
    string menuCaption
)
Public Function CreateItem(
    id As Object,
    displayName As String,
    menuCaption As String
) As TimeSlot

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