Legend column name.
Visual Basic (Declaration) | |
---|---|
Public Overridable Property Name As String |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual string Name {get; set;} |
Return Value
A string value that represents the text name of the legend cell column.We access a legend cell by name.
C# | Copy Code |
---|---|
chart1.Legends["Default"].CellColumns["Column1"].Text = "Hello World"; |
The name of the legend cell column. Must be unique, otherwise an exception will be thrown.
This property can be used as the indexer when retrieving a LegendCell object from the LegendCellColumnCollection object.
Setting this property to a zero-length string will result in an exception being thrown.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family