Edit

Share via


LegendItem.MarkerStyle Property

Definition

Gets or sets a legend item marker style. Also used to enable or disable the display of markers.

public:
 property System::Web::UI::DataVisualization::Charting::MarkerStyle MarkerStyle { System::Web::UI::DataVisualization::Charting::MarkerStyle get(); void set(System::Web::UI::DataVisualization::Charting::MarkerStyle value); };
[System.ComponentModel.Bindable(true)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)]
public System.Web.UI.DataVisualization.Charting.MarkerStyle MarkerStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.Attribute)>]
member this.MarkerStyle : System.Web.UI.DataVisualization.Charting.MarkerStyle with get, set
Public Property MarkerStyle As MarkerStyle

Property Value

A MarkerStyle integer enumeration. The default value is None.

Attributes

Remarks

To disable markers, set this property to None.

Note

This property is applicable only to LegendCell objects with a LegendCellType of either SeriesSymbol or Image.

Applies to