Skip to main content

AppointmentControl.Background Property

Gets or sets the brush used to paint the visual appointment background. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling.Visual

Assembly: DevExpress.Xpf.Scheduling.v23.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public Brush Background { get; set; }

Property Value

Type Description
Brush

A Brush object used to paint the appointment background.

Remarks

Set the Background property to override the appointment label color or the brush assigned in the SchedulerControl.CustomAppointmentBackground event handler.

Tip

The AppointmentControl.ActualBackground property gets the brush actually used to paint the visual appointment background.

See Also