AppointmentStatusExtension.SetBrush(IAppointmentStatus, Brush) Method

Gets the brush used to visualize the appointment status.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.2.dll


public static void SetBrush(
    this IAppointmentStatus status,
    Brush brush
Public Shared Sub SetBrush(
    status As IAppointmentStatus,
    brush As Brush


Name Type Description
status IAppointmentStatus

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

brush Brush

A IAppointmentStatus object that is the appointment status.


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 he appointment status strip.

See Also