Skip to main content

CustomDrawAppointmentFlyoutSubjectEventArgs.DrawBackgroundDefault() Method

Renders the Subject rectangle background using the default drawing mechanism.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v22.1.dll

NuGet Package: DevExpress.Win.Scheduler


public void DrawBackgroundDefault()


The DrawBackgroundDefault method invokes the default drawing procedure to paint an element, and enables you to combine your own custom painting with default painting. Handle the necessary SchedulerControl.CustomDrawAppointmentFlyoutSubject event and set CustomDrawObjectEventArgs.Handled to true to prevent default painting from being performed after the handler code execution. Use DrawBackgroundDefault method in the handler code to render the element using the default drawing mechanism.

See Also