Export (0) Print
Expand All

LegendCellCollection.Insert Method (Int32, LegendCellType, String, ContentAlignment)

.NET Framework 4.6 and 4.5

Inserts a legend cell with the specified cell type, text and alignment into the collection at a given location.

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

member Insert : 
        index:int * 
        cellType:LegendCellType * 
        text:string * 
        alignment:ContentAlignment -> unit

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.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft