AppointmentStatusDataStorage.Add(String, String) Method

Adds a new Status with specified settings to this AppointmentStatusDataStorage.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

public AppointmentStatus Add(
    string displayName,
    string menuCaption
)
Public Function Add(
    displayName As String,
    menuCaption As String
) As AppointmentStatus

Parameters

Name Type Description
displayName String

A String value that is the primary Status caption. Assigned to the UserInterfaceObject.DisplayName property.

menuCaption String

A String value that is the secondary Status caption. Assigned to the UserInterfaceObject.MenuCaption property.

Returns

Type Description
AppointmentStatus

An AppointmentStatus object added to this AppointmentStatusDataStorage.

See Also