Skip to main content

AppointmentStatus.Type Property

Gets or sets the type of the appointment status.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v24.1.dll

NuGet Package: DevExpress.Wpf.Scheduler

Declaration

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

Property Value

Type Description
AppointmentStatusType

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

Important

You are viewing documentation for the legacy WPF Scheduler control. If you’re starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

When a new AppointmerntStatus object is created using the AppointmentStatusCollection.CreateNewStatus method, its Type is set to the AppointmentStatusType.Custom value.

See Also