Dundas Chart for ASP.NET
Name Property
See Also  Example Send comments on this topic.
Dundas.Charting.WebControl Namespace > LegendCellColumn Class : Name Property


Gets or sets the legend cell column's name.
Legend column name.

Syntax

Visual Basic (Declaration)  
Public Overridable Property Name As String
Visual Basic (Usage) Copy Code
Dim instance As LegendCellColumn
Dim value As String
 
instance.Name = value
 
value = instance.Name
C#  
public virtual string Name {get; set;}

Return Value

A string value that represents the text name of the legend cell column.

Example

We access a legend cell by name.
C# Copy Code
chart1.Legends["Default"].CellColumns["Column1"].Text = "Hello World";  

Remarks

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.

Requirements

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

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.