wpf-devexpress-dot-xpf-dot-charts-dot-pane-7acb70e4.md
Gets or sets the color of the area between diagram axes.
Namespace : DevExpress.Xpf.Charts
Assembly : DevExpress.Xpf.Charts.v25.2.dll
NuGet Package : DevExpress.Wpf.Charts
public Brush DomainBrush { get; set; }
Public Property DomainBrush As Brush
| Type | Description |
|---|---|
| Brush |
The color of the area between diagram axes.
|
The following example paints the area between axes light green:
<dxc:XYDiagram2D >
<dxc:XYDiagram2D.DefaultPane>
<dxc:Pane DomainBrush="LightGreen" />
</dxc:XYDiagram2D.DefaultPane>
</dxc:XYDiagram2D>
Result:
Set the DomainBrush property to Transparent to make a pane transparent:
<dxc:ChartControl Background="{x:Null}" >
<dxc:XYDiagram2D >
<dxc:XYDiagram2D.DefaultPane>
<dxc:Pane DomainBrush="Transparent" />
</dxc:XYDiagram2D.DefaultPane>
<!--...-->
</dxc:XYDiagram2D>
</dxc:ChartControl>
See Also