Back to Devexpress

ScaleBreakOptions.Brush Property

wpf-devexpress-dot-xpf-dot-charts-dot-scalebreakoptions-6e956b66.md

latest2.6 KB
Original Source

ScaleBreakOptions.Brush Property

Gets or sets the brush to draw the scale break edges.

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public Brush Brush { get; set; }
vb
Public Property Brush As Brush

Property Value

TypeDescription
Brush

A Brush object that specifies a scale break color.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Brush
Axis2D

.ScaleBreakOptions .Brush

|

Example

This example shows how to customize the scale break appearance.

To do this, use the following ScaleBreakOptions class properties:

Note that ScaleBreakOptions define the appearance of both manual and automatic scale breaks.

xaml
<dxc:AxisY2D.ScaleBreakOptions>
    <dxc:ScaleBreakOptions SizeInPixels="15" 
                           Style="Waved" 
                           Brush="Gray">
        <dxc:ScaleBreakOptions.LineStyle>
            <dxc:LineStyle Thickness="2"/>
        </dxc:ScaleBreakOptions.LineStyle>
    </dxc:ScaleBreakOptions>
</dxc:AxisY2D.ScaleBreakOptions>

See Also

ScaleBreakOptions Class

ScaleBreakOptions Members

DevExpress.Xpf.Charts Namespace