LegendItem.BackHatchStyle 属性
定义
获取或设置图例项的阴影样式。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
属性值
一个 ChartHatchStyle 枚举。A ChartHatchStyle enumeration. 默认值是 None。The default value is None.
- 属性
注解
ChartHatchStyle枚举指定类型的画笔使用的阴影模式 HatchBrush 。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.
有关可用阴影样式的列表,请参阅 ChartHatchStyle 枚举。For a listing of available hatching styles, refer to the ChartHatchStyle enumeration.
备注
阴影线的颜色由 BackSecondaryColor 属性确定。The color of hatching lines is determined by the BackSecondaryColor property.
备注
此属性仅适用于 LegendCell 具有 LegendCellType 或的对象 SeriesSymbol Image 。This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.