Skip to main content

AppointmentStatus.Type Property

Gets or sets the type of the appointment status.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.1.dll

NuGet Package: DevExpress.Win.Scheduler

Declaration

[Browsable(false)]
[DefaultValue(AppointmentStatusType.Free)]
public AppointmentStatusType Type { get; set; }

Property Value

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.

AppointmentStatusType.Free

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).

AppointmentStatusType.Tentative

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).

AppointmentStatusType.Busy

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).

AppointmentStatusType.OutOfOffice

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.

AppointmentStatusType.WorkingElsewhere

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.

Remarks

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