AppointmentStatusCollection.CreateNewStatus(Object, String) Method
In This Article
Creates a status with the specified identifier and display name.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.dll
NuGet Package: DevExpress.Win.Scheduler
#Declaration
public AppointmentStatus CreateNewStatus(
object id,
string displayName
)
#Parameters
Name | Type | Description |
---|---|---|
id | Object | An object that is the status unique identifier. |
display |
String | A string that is the name of the status used in editors. |
#Returns
Type | Description |
---|---|
Appointment |
A Appointment |
#Remarks
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