LegendCellColumn LegendCellColumn LegendCellColumn LegendCellColumn Class

Definition

Represents a cell column in a legend, which is used to extend the functionality of the default legend.

public ref class LegendCellColumn : System::Windows::Forms::DataVisualization::Charting::ChartNamedElement
public class LegendCellColumn : System.Windows.Forms.DataVisualization.Charting.ChartNamedElement
type LegendCellColumn = class
    inherit ChartNamedElement
Public Class LegendCellColumn
Inherits ChartNamedElement
Inheritance

Remarks

Any number of cell columns can be placed in any order, which gives you the flexibility to extend the abilities of the default legend entries.

The legend cell columns are only applicable to items that are automatically generated from series or data points.

Constructors

LegendCellColumn() LegendCellColumn() LegendCellColumn() LegendCellColumn()

Initializes a new instance of the LegendCellColumn class.

LegendCellColumn(String, LegendCellColumnType, String) LegendCellColumn(String, LegendCellColumnType, String) LegendCellColumn(String, LegendCellColumnType, String) LegendCellColumn(String, LegendCellColumnType, String)

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

LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment) LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment) LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment) LegendCellColumn(String, LegendCellColumnType, String, ContentAlignment)

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

Properties

Alignment Alignment Alignment Alignment

Gets or sets the legend column content alignment.

BackColor BackColor BackColor BackColor

Gets or sets the background color of the legend cell column.

ColumnType ColumnType ColumnType ColumnType

Gets or sets the legend cell column type.

Font Font Font Font

Gets or sets the font for the legend column text.

ForeColor ForeColor ForeColor ForeColor

Gets or sets the text color of the legend cell column.

HeaderAlignment HeaderAlignment HeaderAlignment HeaderAlignment

Gets or sets the horizontal text alignment of the legend cell column header.

HeaderBackColor HeaderBackColor HeaderBackColor HeaderBackColor

Gets or sets the background color for the legend cell column header.

HeaderFont HeaderFont HeaderFont HeaderFont

Gets or sets the font used in the legend column header.

HeaderForeColor HeaderForeColor HeaderForeColor HeaderForeColor

Gets or sets the color of the legend column header text (HeaderText property).

HeaderText HeaderText HeaderText HeaderText

Gets or sets the text for the legend cell column header.

Legend Legend Legend Legend

Gets the legend in which this legend cell column belongs.

Margins Margins Margins Margins

Gets or sets the margins of the legend cell column.

MaximumWidth MaximumWidth MaximumWidth MaximumWidth

Gets or sets the maximum width of the legend cell column.

MinimumWidth MinimumWidth MinimumWidth MinimumWidth

Gets or sets the minimum width of the legend cell column.

Name Name Name Name

Gets or sets the name of the legend cell column.

SeriesSymbolSize SeriesSymbolSize SeriesSymbolSize SeriesSymbolSize

Gets or sets the size of the series symbol displayed in a legend cell column.

Tag Tag Tag Tag

Gets or sets an object associated with this chart element.

(Inherited from ChartElement)
Text Text Text Text

Gets or sets the text of the legend cell column.

ToolTip ToolTip ToolTip ToolTip

Gets or sets the tooltip text for the legend cell column.

Methods

Dispose() Dispose() Dispose() Dispose()

Releases the resources used by the ChartElement.

(Inherited from ChartElement)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the LegendCellColumn and optionally releases the managed resources.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to the current ChartElement.

(Inherited from ChartElement)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns a hash function for a particular type.

(Inherited from ChartElement)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeMargins() ShouldSerializeMargins() ShouldSerializeMargins() ShouldSerializeMargins()

Determines whether the property should be serialized.

ToString() ToString() ToString() ToString()

Returns a string that represents the current Object.

(Inherited from ChartElement)

Applies to