Back to Devexpress

AppointmentStatusExtension.SetBrush(IAppointmentStatus, Brush) Method

windowsforms-devexpress-dot-xtrascheduler-dot-appointmentstatusextension-dot-setbrush-x28-devexpress-dot-xtrascheduler-dot-iappointmentstatus-system-dot-drawing-dot-brush-x29.md

latest2.0 KB
Original Source

AppointmentStatusExtension.SetBrush(IAppointmentStatus, Brush) 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 void SetBrush(
    this IAppointmentStatus status,
    Brush brush
)
vb
<ExtensionAttribute>
Public Shared Sub SetBrush(
    status As IAppointmentStatus,
    brush As Brush
)

Parameters

NameTypeDescription
statusIAppointmentStatus

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

| | brush | Brush |

A IAppointmentStatus object that is the appointment status.

|

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

See Also

AppointmentStatusExtension Class

AppointmentStatusExtension Members

DevExpress.XtraScheduler Namespace