แก้ไข

แชร์ผ่าน


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::Web::UI::DataVisualization::Charting::ChartNamedElement, System::Web::UI::DataVisualization::Charting::IChartMapArea
public class LegendCellColumn : System.Web.UI.DataVisualization.Charting.ChartNamedElement, System.Web.UI.DataVisualization.Charting.IChartMapArea
type LegendCellColumn = class
    inherit ChartNamedElement
    interface IChartMapArea
Public Class LegendCellColumn
Inherits ChartNamedElement
Implements IChartMapArea
Inheritance
Implements

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 to.

MapAreaAttributes

Gets or sets the map area attributes of the legend cell column.

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.

PostBackValue

Gets or sets the postback value that can be processed on a Click event.

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.

Url

Gets or sets the URL target of the legend cell columns automatically generated from a series or data point.

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. For internal use only.

ToString()

Returns a string that represents the current Object.

(Inherited from ChartElement)

Applies to