Legend::Enabled Property
.NET Framework (current version)
Gets or sets a value that indicates whether the legend is enabled.
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::Booleantrue 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
Available since 4.0
Show: