All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v20.1.dll

Declaration

public BrushSet BrushSet { get; set; }
Public Property BrushSet As BrushSet

Property Value

Type Description
DevExpress.Xpf.Scheduling.BrushSet

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

Remarks

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

See the example below.

 <dxsch:SchedulerControl.BrushSet>
    <dxsch:BrushSet>
        <dxsch:BrushInfo Name="Red" Brush="Red"/>
        <dxsch:BrushInfo Name="Blue" Brush="Blue"/>
    </dxsch:BrushSet>
</dxsch:SchedulerControl.BrushSet>
<dxsch:SchedulerControl.ResourceItems>
    <dxsch:ResourceItem BrushName="Red" />
</dxsch:SchedulerControl.ResourceItems>

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