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

一个 Color 值。A Color value. 默认颜色为 EmptyThe default color is Empty.

属性

注解

此属性仅适用于 LegendCell 具有 LegendCellType 或的对象 SeriesSymbol ImageThis property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

适用于