Legend.BackHatchStyle 属性

定义

获取或设置图例的阴影类型。Gets or sets the hatching style of a legend.

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

属性值

ChartHatchStyle

一个 ChartHatchStyle 枚举,指定图例的阴影样式。A ChartHatchStyle enumeration that specifies the hatching style of a legend. 默认值为 NoneThe default value is None.

属性

注解

ChartHatchStyle枚举指定类型的画笔使用的阴影模式 HatchBrushThe 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.

有关可用阴影样式的列表,请参阅 ChartHatchStyle 枚举。For a listing of available hatching styles, refer to the ChartHatchStyle enumeration.

注意 阴影线的颜色由 BackSecondaryColor 属性确定。Note The color of hatching lines is determined by the BackSecondaryColor property.

适用于