LegendItem.MarkerColor 属性
定义
获取或设置标记的颜色(如果使用)。Gets or sets the color of the markers, if used.
public:
property System::Drawing::Color MarkerColor { System::Drawing::Color get(); void set(System::Drawing::Color value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Drawing.Color MarkerColor { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Drawing.ColorConverter))>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.MarkerColor : System.Drawing.Color with get, set
Public Property MarkerColor As Color
属性值
一个 Color 值。A Color value. 默认颜色为 Empty。The default color is Empty.
- 属性
注解
此属性仅适用于 LegendCell 具有 LegendCellType 或的对象 SeriesSymbol Image 。This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.