AppointmentStatus(AppointmentStatusType, Color, String) Constructor
OBSOLETE
Use CreateNewStatus instead.
Initializes a new instance of the AppointmentStatus class with the specified type, color and display name.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v23.2.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
[Obsolete("Use AppointmentStatusCollection.CreateNewStatus instead.", false)]
public AppointmentStatus(
AppointmentStatusType type,
Color color,
string displayName
)
Parameters
Name | Type | Description |
---|---|---|
type | AppointmentStatusType | An AppointmentStatusType enumeration value that specifies the type of the appointment status. This value is assigned to the AppointmentStatus.Type property. |
color | Color | A Color value that specifies the color of the appointment status. This value is assigned to the AppointmentStatus.Color property. |
displayName | String | A String value which represents the display name of the appointment status. This value is assigned to the UserInterfaceObject.DisplayName property. |
Remarks
The UserInterfaceObject.MenuCaption property will be set to the specified value for the display name.
Important
Use the AppointmentStatusCollection.CreateNewStatus method instead.