Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppointmentStatusExtension.GetBrush(IAppointmentStatus) Method

Gets the brush used to visualize the appointment status.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.dll

NuGet Package: DevExpress.Win.Scheduler

#Declaration

public static Brush GetBrush(
    this IAppointmentStatus status
)

#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