LegendCellColumn Constructor (String, LegendCellColumnType, String, ContentAlignment)

.NET Framework (current version)
 

Initializes a new instance of the LegendCellColumn class with the specified header text, column type, column cell text and content alignment.

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

Public Sub New (
	headerText As String,
	columnType As LegendCellColumnType,
	text As String,
	alignment As ContentAlignment
)

Parameters

headerText
Type: System.String

The header text for the legend cell column.

columnType
Type: System.Web.UI.DataVisualization.Charting.LegendCellColumnType

A LegendCellColumnType enumeration value that specifies the type that will be used to define the legend cell column contents.

text
Type: System.String

The text of the legend cell column.

alignment
Type: System.Drawing.ContentAlignment

The alignment of the legend cell contents

.NET Framework
Available since 4.0
Return to top
Show: