編輯

共用方式為


LegendItem.BackHatchStyle Property

Definition

Gets or sets the hatching style of a legend item.

public:
 property System::Web::UI::DataVisualization::Charting::ChartHatchStyle BackHatchStyle { System::Web::UI::DataVisualization::Charting::ChartHatchStyle get(); void set(System::Web::UI::DataVisualization::Charting::ChartHatchStyle value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.ChartHatchStyle BackHatchStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.BackHatchStyle : System.Web.UI.DataVisualization.Charting.ChartHatchStyle with get, set
Public Property BackHatchStyle As ChartHatchStyle

Property Value

A ChartHatchStyle enumeration. The default value is None.

Attributes

Remarks

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.

Note

This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Applies to