This documentation is archived and is not being maintained.
LegendCellCollection::Insert Method (Int32, LegendCellType, String, ContentAlignment)
Visual Studio 2010
Inserts a legend cell with the specified cell type, text and alignment into the collection at a given location.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
public: void Insert( int index, LegendCellType cellType, String^ text, ContentAlignment alignment )
Parameters
- index
- Type: System::Int32
Index of the location to insert the object.
- cellType
- Type: System.Web.UI.DataVisualization.Charting::LegendCellType
A LegendCellType value that represents the cell type.
- text
- Type: System::String
A string value that represents either the cell text or its image name, depending on the value of the cellType parameter.
- alignment
- Type: System.Drawing::ContentAlignment
A ContentAlignment enumeration value that represents the alignment of the legend cell content.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: