UpBrush

View as Markdown

Definition

A Brush object used to determine the color to paint the up bars for the ChartStyle.

This Windows Presentation Forms (WPF) implementation of the Brush class is not directly used to paint bars on the chart. Instead it is converted to a SharpDX Brush in the UpBrushDX property. This property is used to capture user input for changing brush colors.

Property Value

A WPF Brush object used to paint the up bars

Syntax

UpBrush

Examples

1protected override void OnStateChange()
2{
3 if (State == State.Configure)
4 {
5 // Set a new name for the UpBrush property
6 SetPropertyName("UpBrush", "AdvancingBrush");
7 }
8}