Legend::Enabled Property

.NET Framework (current version)
 

Gets or sets a value that indicates whether the legend is enabled.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public:
[BindableAttribute(true)]
property bool Enabled {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the legend is enabled; otherwise, false. The default value is true.

To hide a legend, set this property to false.

.NET Framework
Available since 4.0
Return to top
Show: