LegendCellColumn Class
TOC
Collapse the table of content
Expand the table of content

LegendCellColumn Class

.NET Framework (current version)
 

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

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)


public class LegendCellColumn : ChartNamedElement

NameDescription
System_CAPS_pubmethodLegendCellColumn()

Initializes a new instance of the LegendCellColumn class.

System_CAPS_pubmethodLegendCellColumn(String, LegendCellColumnType, String)

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

System_CAPS_pubmethodLegendCellColumn(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.

NameDescription
System_CAPS_pubpropertyAlignment

Gets or sets the legend column content alignment.

System_CAPS_pubpropertyBackColor

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

System_CAPS_pubpropertyColumnType

Gets or sets the legend cell column type.

System_CAPS_pubpropertyFont

Gets or sets the font for the legend column text.

System_CAPS_pubpropertyForeColor

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

System_CAPS_pubpropertyHeaderAlignment

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

System_CAPS_pubpropertyHeaderBackColor

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

System_CAPS_pubpropertyHeaderFont

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

System_CAPS_pubpropertyHeaderForeColor

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

System_CAPS_pubpropertyHeaderText

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

System_CAPS_pubpropertyLegend

Gets the legend in which this legend cell column belongs.

System_CAPS_pubpropertyMargins

Gets or sets the margins of the legend cell column.

System_CAPS_pubpropertyMaximumWidth

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

System_CAPS_pubpropertyMinimumWidth

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

System_CAPS_pubpropertyName

Gets or sets the name of the legend cell column.(Overrides ChartNamedElement.Name.)

System_CAPS_pubpropertySeriesSymbolSize

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

System_CAPS_pubpropertyTag

Gets or sets an object associated with this chart element.(Inherited from ChartElement.)

System_CAPS_pubpropertyText

Gets or sets the text of the legend cell column.

System_CAPS_pubpropertyToolTip

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

NameDescription
System_CAPS_pubmethodDispose()

Releases the resources used by the ChartElement.(Inherited from ChartElement.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the LegendCellColumn and optionally releases the managed resources.(Overrides ChartElement.Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified Object is equal to the current ChartElement.(Inherited from ChartElement.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns a hash function for a particular type.(Inherited from ChartElement.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodShouldSerializeMargins()

This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the property should be serialized.

System_CAPS_pubmethodToString()

Returns a string that represents the current Object.(Inherited from ChartElement.)

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.

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft