AppointmentStatusExtension.GetBrush(IAppointmentStatus) Method

Gets the brush used to visualize the appointment status.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll

Declaration

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

Parameters

Name Type Description
status IAppointmentStatus

A IAppointmentStatus object that is the appointment status.

Returns

Type Description
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