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

AppointmentStatusCollection.CreateNewStatus(String) Method

Creates a status with the specified display name.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public AppointmentStatus CreateNewStatus(
    string displayName
)

#Parameters

Name Type Description
displayName String

A string that is the name of the status used in editors.

#Returns

Type Description
AppointmentStatus

A AppointmentStatus object that is the newly created status.

#Remarks

The status identifier is provided automatically by the AppointmentStatusCollection object. The status type is the AppointmentStatusType.Custom. The AppointmentStatus.Brush property is set to the SolidBrush object of Color.White. The name of the status used in menus is the same as its display name.

See Also