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::Windows::Forms::DataVisualization::Charting::MarkerStyle MarkerStyle { System::Windows::Forms::DataVisualization::Charting::MarkerStyle get(); void set(System::Windows::Forms::DataVisualization::Charting::MarkerStyle value); };
[System.ComponentModel.Bindable(true)]
public System.Windows.Forms.DataVisualization.Charting.MarkerStyle MarkerStyle { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.MarkerStyle : System.Windows.Forms.DataVisualization.Charting.MarkerStyle with get, set
Public Property MarkerStyle As MarkerStyle

Property Value

A MarkerStyle integer enumeration that specifies a legend item marker style. 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