windowsforms-devexpress-dot-xtrascheduler-dot-appointmentstatus.md
Gets or sets the type of the appointment status.
Namespace : DevExpress.XtraScheduler
Assembly : DevExpress.XtraScheduler.v25.2.dll
NuGet Package : DevExpress.Win.Scheduler
[Browsable(false)]
[DefaultValue(AppointmentStatusType.Free)]
public AppointmentStatusType Type { get; set; }
<Browsable(False)>
<DefaultValue(AppointmentStatusType.Free)>
Public Property Type As AppointmentStatusType
| Type | Default | Description |
|---|---|---|
| AppointmentStatusType | Free |
An AppointmentStatusType enumeration value representing the type of the appointment status.
|
Available values:
| Name | Description |
|---|---|
| Free |
This status means that a person is in the office and available to others. The status bar is colored white.
| | Tentative |
This status means that a person is in the office and tentatively available to others. The status bar is colored with a darker shade of the appointment label color. If an appointment has no label, the color is blue (#FF4A87E2). The color pattern has white diagonal stripes (the System.Drawing.Drawing2D.HatchStyle.WideUpwardDiagonal type).
| | Busy |
This status means that a person is in the office but unavailable to others. The status bar is colored with a darker shade of the appointment label color. If an appointment has no label, the color is blue (#FF4A87E2).
| | OutOfOffice |
This status means that a person is out of the office and unavailable to others. The status bar color is close to purple (#FF800080).
| | WorkingElsewhere |
This status means that a person is not in the office but is readily available for business contacts. The status bar is colored with a darker shade of the appointment label color. If an appointment has no label, the color is light violet (#FF937BD1). The pattern is 75 percent hatch (System.Drawing.Drawing2D.HatchStyle.Percent75) with the white foreground.
| | Custom |
This status represents all custom statuses added to the AppointmentStorage.Statuses collection. The color fill of appointment status is specified by the AppointmentStatus.Brush property, which is platform-specific.
|
When a new AppointmerntStatus object is created using the AppointmentStatusCollection.CreateNewStatus or the AppointmentStatusCollection.Add methods, its Type is set to the AppointmentStatusType.Custom value.
See Also