Upraviť

Zdieľať cez


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()

Initializes a new instance of the LegendCellColumn class.

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.

LegendCellColumn(String, LegendCellColumnType, String)

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

Properties

Alignment

Gets or sets the legend column content alignment.

BackColor

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

ColumnType

Gets or sets the legend cell column type.

Font

Gets or sets the font for the legend column text.

ForeColor

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

HeaderAlignment

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

HeaderBackColor

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

HeaderFont

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

HeaderForeColor

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

HeaderText

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

Legend

Gets the legend in which this legend cell column belongs.

Margins

Gets or sets the margins of the legend cell column.

MaximumWidth

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

MinimumWidth

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

Name

Gets or sets the name of the legend cell column.

SeriesSymbolSize

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

Tag

Gets or sets an object associated with this chart element.

(Inherited from ChartElement)
Text

Gets or sets the text of the legend cell column.

ToolTip

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

Methods

Dispose()

Releases the resources used by the ChartElement.

(Inherited from ChartElement)
Dispose(Boolean)

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

Equals(Object)

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

(Inherited from ChartElement)
GetHashCode()

Returns a hash function for a particular type.

(Inherited from ChartElement)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeMargins()

Determines whether the property should be serialized.

ToString()

Returns a string that represents the current Object.

(Inherited from ChartElement)

Applies to