Skip to main content
A newer version of this page is available. .

ScaleBreakOptions.Brush Property

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

Namespace: DevExpress.Xpf.Charts

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

Declaration

public Brush Brush { get; set; }

Property Value

Type Description
Brush

A Brush object that specifies a scale break color.

Property Paths

You can access this nested property as listed below:

Object Type Path to Brush
Axis2D
AxisX2D
AxisY2D
SecondaryAxisX2D
SecondaryAxisY2D

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.

<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>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Brush property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also