LegendCell Classe

Definição

Representa uma célula de legenda em um item de legenda.Represents a legend cell in a legend item.

public ref class LegendCell : System::Web::UI::DataVisualization::Charting::ChartNamedElement, System::Web::UI::DataVisualization::Charting::IChartMapArea
public class LegendCell : System.Web.UI.DataVisualization.Charting.ChartNamedElement, System.Web.UI.DataVisualization.Charting.IChartMapArea
type LegendCell = class
    inherit ChartNamedElement
    interface IChartMapArea
Public Class LegendCell
Inherits ChartNamedElement
Implements IChartMapArea
Herança
Implementações

Comentários

Uma legenda é preenchida com itens de legenda, que são representados pelo LegendItemsCollection .A legend is populated with legend items, which are represented by the LegendItemsCollection. Esses itens de legenda consistem em células de legenda individuais, que, por sua vez, são representadas pelo LegendCellCollection .These legend items consist of individual legend cells, which are in turn represented by the LegendCellCollection.

Construtores

LegendCell()

Inicializa uma nova instância da classe LegendCell.Initializes a new instance of the LegendCell class.

LegendCell(LegendCellType, String)

Inicializa uma nova instância da classe LegendCell com o tipo de célula especificado e um parâmetro text que especifica o nome da imagem ou o texto da célula.Initializes a new instance of the LegendCell class with the specified cell type and a text parameter that specifies the cell text or image name.

LegendCell(LegendCellType, String, ContentAlignment)

Inicializa uma nova instância da classe LegendCell com o tipo de célula, o alinhamento de conteúdo e um parâmetro text especificados que indicam o nome da imagem ou o texto da célula.Initializes a new instance of the LegendCell class with the specified cell type, content alignment, and a text parameter that specifies the cell text or image name.

LegendCell(String)

Inicializa uma nova instância da classe LegendCell com um parâmetro text que especifica o nome da imagem ou o texto da célula.Initializes a new instance of the LegendCell class with a text parameter that specifies the cell text or image name.

Propriedades

Alignment

Obtém ou define o alinhamento dos conteúdo da célula de legenda.Gets or sets the alignment of the legend cell contents.

BackColor

Obtém ou define a cor da tela de fundo da célula de legenda.Gets or sets the background color of the legend cell.

CellSpan

Obtém ou define o número de células horizontais usadas para desenhar o conteúdo da célula da legenda.Gets or sets the number of horizontal cells used to draw the contents of the legend cell.

CellType

Obtém ou define o tipo de célula de legenda.Gets or sets the legend cell type.

Font

Obtém ou define a fonte da célula da legenda.Gets or sets the font for the legend cell.

ForeColor

Obtém ou define a cor do texto da célula da legenda.Gets or sets the text color of the legend cell.

Image

Obtém ou define o nome da imagem em uma célula de legenda.Gets or sets the name of the image in a legend cell.

ImageSize

Obtém ou define o tamanho da imagem em uma célula de legenda.Gets or sets the size of the image in a legend cell.

ImageTransparentColor

Obtém ou define uma cor que será substituída por uma cor transparente quando a imagem for desenhada.Gets or sets a color which will be replaced with a transparent color when the image is drawn.

Legend

Obtém o item de legenda à qual esta célula pertence.Gets the legend in which this cell belongs to.

LegendItem

Obtém o item de legenda ao qual esta célula pertence.Gets the legend item in which this cell belongs to.

MapAreaAttributes

Obtém ou define os atributos de área de mapa da célula de legenda.Gets or sets the map area attributes of the legend cell.

Margins

Obtém ou define as margens da célula de legenda.Gets or sets the margins of the legend cell.

Name

Obtém ou define o nome da célula da legenda.Gets or sets the name of the legend cell.

PostBackValue

Obtém ou define um valor de postback que pode ser processado em um evento Click.Gets or sets a postback value that can be processed on a Click event.

SeriesSymbolSize

Obtém ou define o tamanho do símbolo de série exibido na célula da legenda.Gets or sets the size of the series symbol that is displayed in the legend cell.

Tag

Obtém ou define um objeto associado a esse elemento do gráfico.Gets or sets an object associated with this chart element.

(Herdado de ChartElement)
Text

Obtém ou define o texto da célula de legenda.Gets or sets the legend cell text.

ToolTip

Obtém ou define o texto de dica de ferramenta para a célula da legenda.Gets or sets the tooltip text for the legend cell.

Url

Obtém ou define o destino da URL da célula de legenda.Gets or sets the URL target of the legend cell.

Métodos

Dispose()

Libera os recursos usados pelo ChartElement.Releases the resources used by the ChartElement.

(Herdado de ChartElement)
Dispose(Boolean)

Libera os recursos não gerenciados usados pelo LegendCell e opcionalmente libera os recursos gerenciados.Releases the unmanaged resources used by the LegendCell and optionally releases the managed resources.

Equals(Object)

Determina se o Object especificado é igual ao ChartElement atual.Determines whether the specified Object is equal to the current ChartElement.

(Herdado de ChartElement)
GetHashCode()

Retorna uma função de hash para um tipo específico.Returns a hash function for a particular type.

(Herdado de ChartElement)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o Object atual.Returns a string that represents the current Object.

(Herdado de ChartElement)

Aplica-se a