Back to Devexpress

AppointmentStatusExtension.GetBrush(IAppointmentStatus) Method

windowsforms-devexpress-dot-xtrascheduler-dot-appointmentstatusextension-dot-getbrush-x28-devexpress-dot-xtrascheduler-dot-iappointmentstatus-x29.md

latest2.1 KB
Original Source

AppointmentStatusExtension.GetBrush(IAppointmentStatus) Method

Gets the brush used to visualize the appointment status.

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.dll

NuGet Package : DevExpress.Win.Scheduler

Declaration

csharp
public static Brush GetBrush(
    this IAppointmentStatus status
)
vb
<ExtensionAttribute>
Public Shared Function GetBrush(
    status As IAppointmentStatus
) As Brush

Parameters

NameTypeDescription
statusIAppointmentStatus

A IAppointmentStatus object that is the appointment status.

|

Returns

TypeDescription
Brush

A Brush object that is the color used to paint the appointment status strip.

|

Remarks

Use the AppointmentStatus.GetBrush notation to obtain the brush used to paint the appointment status strip. Use the AppointmentStatus.SetBrush notation to specify the brush used to paint the appointment status strip.

See Also

Appointment Labels and Statuses

AppointmentStatusExtension Class

AppointmentStatusExtension Members

DevExpress.XtraScheduler Namespace