ChartArea::Name Property
.NET Framework (current version)
Gets or sets the unique name of a ChartArea object.
Assembly: System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)
public: [BindableAttribute(true)] property String^ Name { virtual String^ get() override; virtual void set(String^ value) override; }
Property Value
Type: System::String^A string value that represents the unique name of a ChartArea object.
The name of a ChartArea object must be unique, otherwise an exception will be thrown.
This property can be used as the indexer when retrieving a ChartArea object from the ChartAreaCollection object.
If you set this property to a zero-length string. an exception will be thrown.
.NET Framework
Available since 4.0
Available since 4.0
Show: