แก้ไข

แชร์ผ่าน


LegendItem.BackHatchStyle Property

Definition

Gets or sets the hatching style of a legend item.

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

Property Value

A ChartHatchStyle enumeration that specifies the hatching style of a legend item. 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