GradientStyle Enumeration
TOC
Collapse the table of content
Expand the table of content

GradientStyle Enumeration

.NET Framework (current version)
 

Specifies a gradient style to be used for a chart element.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public enum GradientStyle

Member nameDescription
Center

Gradient is applied from the center outwards.

DiagonalLeft

Gradient is applied diagonally from left to right.

DiagonalRight

Gradient is applied diagonally from right to left.

HorizontalCenter

Gradient is applied horizontally from the center outwards.

LeftRight

Gradient is applied from left to right.

None

No gradient is applied.

TopBottom

Gradient is applied from top to bottom.

VerticalCenter

Gradient is applied vertically from the center outwards.

The GradientStyle enumeration represents a gradient style, and is used with the BackGradientStyle property of the Chart.

.NET Framework
Available since 4.0
Return to top
Show:
© 2016 Microsoft