Legend.BackHatchStyle Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the hatching style of a legend.

Namespace:   System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

[BindableAttribute(true)]
[PersistenceModeAttribute(PersistenceMode.Attribute)]
public ChartHatchStyle BackHatchStyle { get; set; }

Property Value

Type: System.Web.UI.DataVisualization.Charting.ChartHatchStyle

A ChartHatchStyle enumeration that represents the hatching style of a legend. The default value is None.

The ChartHatchStyle enumeration specifies the hatch pattern used by a brush of type HatchBrush. The hatch pattern consists of a solid background color and lines drawn over the background.

For a listing of available hatching styles, refer to the ChartHatchStyle enumeration.

Note   The color of hatching lines is determined by the BackSecondaryColor property.

.NET Framework
Available since 4.0
Return to top
Show: