Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppointmentStatusDataStorage.Add(Color, String, String) Method

Adds a new Status with specified settings to this AppointmentStatusDataStorage.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public AppointmentStatus Add(
    Color color,
    string displayName,
    string menuCaption
)

#Parameters

Name Type Description
color Color

A Color value that specifies the Status appearance. Assigned to the AppointmentStatus.Color property.

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