Skip to main content

SchedulerControl.BrushSet Property

Defines a set of brushes used to colorize the scheduler’s elements. This is a dependency property.

Namespace: DevExpress.Xpf.Scheduling

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

NuGet Package: DevExpress.Wpf.Scheduling


public BrushSet BrushSet { get; set; }

Property Value

Type Description

A list of DevExpress.Xpf.Scheduling.BrushInfo objects.


Use the following properties to access a brush from the BrushSet by its Name value:

See the example below.

        <dxsch:BrushInfo Name="Red" Brush="Red"/>
        <dxsch:BrushInfo Name="Blue" Brush="Blue"/>
    <dxsch:ResourceItem BrushName="Red" />

The static DefaultBrushNames class contains names of default brushes. These brushes are theme-dependent. You can redefine a default brush as shown in the example below.

See the example below.

<dxsch:BrushInfo Name="{x:Static dxsch:DefaultBrushNames.Resource1}" Brush="Red"/>
See Also