Skip to main content

UserInterfaceObjectCollection<T>.Add(String) Method

Creates a new instance of the UserInterfaceObject descendant, sets its UserInterfaceObject.DisplayName and UserInterfaceObject.MenuCaption, and adds the object to the collection.

Namespace: DevExpress.XtraScheduler

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

NuGet Package: DevExpress.Scheduler.Core


public int Add(
    string displayName


Name Type Description
displayName String

A string that will be used as the display name and menu caption.


Type Description

An integer that is the index of a newly created and added object in the collection.

See Also