AppointmentStatusCollection.CreateNewStatus(String) Method

Creates a status with the specified display name.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll


public AppointmentStatus CreateNewStatus(
    string displayName
Public Function CreateNewStatus(
    displayName As String
) As AppointmentStatus


Name Type Description
displayName String

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


Type Description

A AppointmentStatus object that is the newly created status.


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