This documentation is archived and is not being maintained.
ChartHatchStyle Enumeration
Visual Studio 2010
Specifies a hatching style for a chart element.
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
| Member name | Description | |
|---|---|---|
| None | No hatching style. | |
| BackwardDiagonal | Backward diagonal style. | |
| Cross | Cross style. | |
| DarkDownwardDiagonal | Dark downward diagonal style. | |
| DarkHorizontal | Dark horizontal style. | |
| DarkUpwardDiagonal | Dark upward diagonal style. | |
| DarkVertical | Dark vertical style. | |
| DashedDownwardDiagonal | Dashed downward diagonal style. | |
| DashedHorizontal | Dashed horizontal style. | |
| DashedUpwardDiagonal | Dashed upward diagonal style. | |
| DashedVertical | Dashed vertical style. | |
| DiagonalBrick | Diagonal brick style. | |
| DiagonalCross | Diagonal cross style. | |
| Divot | Divot style. | |
| DottedDiamond | Dotted diamond style. | |
| DottedGrid | Dotted grid style. | |
| ForwardDiagonal | Forward diagonal style. | |
| Horizontal | Horizontal style. | |
| HorizontalBrick | Horizontal brick style. | |
| LargeCheckerBoard | Large checker board style. | |
| LargeConfetti | Large confetti style. | |
| LargeGrid | Large grid style. | |
| LightDownwardDiagonal | Light downward diagonal style. | |
| LightHorizontal | Light horizontal style. | |
| LightUpwardDiagonal | Light upward diagonal style. | |
| LightVertical | Light vertical style. | |
| NarrowHorizontal | Narrow horizontal style. | |
| NarrowVertical | Narrow vertical style. | |
| OutlinedDiamond | Outlined diamond style. | |
| Percent05 | Percent05 style. | |
| Percent10 | Percent10 style. | |
| Percent20 | Percent20 style. | |
| Percent25 | Percent25 style. | |
| Percent30 | Percent30 style. | |
| Percent40 | Percent40 style. | |
| Percent50 | Percent50 style. | |
| Percent60 | Percent60 style. | |
| Percent70 | Percent70 style. | |
| Percent75 | Percent75 style. | |
| Percent80 | Percent80 style. | |
| Percent90 | Percent90 style. | |
| Plaid | Plaid style. | |
| Shingle | Shingle style. | |
| SmallCheckerBoard | Small checker board style. | |
| SmallConfetti | Small confetti style. | |
| SmallGrid | Small grid style. | |
| SolidDiamond | Solid diamond style. | |
| Sphere | Sphere style. | |
| Trellis | Trellis style. | |
| Vertical | Vertical style. | |
| Wave | Wave style. | |
| Weave | Weave style. | |
| WideDownwardDiagonal | Wide downward diagonal style. | |
| WideUpwardDiagonal | Wide upward diagonal style. | |
| ZigZag | Zigzag style. |
The ChartHatchStyle enumeration represents the hatching styles that can be used for numerous chart elements, such as the ChartArea, Legend, and so forth.
Setting the BackHatchStyle property of a chart element object to any member of this enumeration except None will cause the corresponding hatching style to be applied to the chart element.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: