DataGridColumn Classe
Definição
public ref class DataGridColumn abstract : System::Web::UI::IStateManager
[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))]
public abstract class DataGridColumn : System.Web.UI.IStateManager
[<System.ComponentModel.TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))>]
type DataGridColumn = class
interface IStateManager
Public MustInherit Class DataGridColumn
Implements IStateManager
- Herança
-
DataGridColumn
- Derivado
- Atributos
- Implementações
Comentários
A DataGridColumn classe é a classe base para todos os tipos de coluna do DataGrid controle.The DataGridColumn class is the base class for all column types of the DataGrid control. Ele define as propriedades e os métodos que são comuns a todos os tipos de coluna.It defines the properties and methods that are common to all column types. Uma instância da DataGridColumn classe não é criada diretamente.An instance of the DataGridColumn class is not created directly.
Construtores
| DataGridColumn() |
Inicializa uma nova instância da classe DataGridColumn.Initializes a new instance of the DataGridColumn class. |
Propriedades
| DesignMode |
Obtém um valor que indica se a coluna está no modo de design.Gets a value that indicates whether the column is in design mode. |
| FooterStyle |
Obtém as propriedades de estilo da seção de rodapé da coluna.Gets the style properties for the footer section of the column. |
| FooterText |
Obtém ou define o texto exibido na seção de rodapé da coluna.Gets or sets the text displayed in the footer section of the column. |
| HeaderImageUrl |
Obtém ou define o local de uma imagem a ser exibida na seção de cabeçalho da coluna.Gets or sets the location of an image to display in the header section of the column. |
| HeaderStyle |
Obtém as propriedades de estilo para a seção de cabeçalho da coluna.Gets the style properties for the header section of the column. |
| HeaderText |
Obtém ou define o texto exibido na seção de cabeçalho da coluna.Gets or sets the text displayed in the header section of the column. |
| IsTrackingViewState |
Obtém um valor que determina se o objeto DataGridColumn está marcado para salvar seu estado.Gets a value that determines whether the DataGridColumn object is marked to save its state. |
| ItemStyle |
Obtém as propriedades de estilo para as células do item da coluna.Gets the style properties for the item cells of the column. |
| Owner |
Obtém o controle DataGrid do qual a coluna é membro.Gets the DataGrid control that the column is a member of. |
| SortExpression |
Obtém ou define o nome do campo ou expressão a ser passado para o método OnSortCommand(DataGridSortCommandEventArgs) quando uma coluna for selecionada para classificação.Gets or sets the name of the field or expression to pass to the OnSortCommand(DataGridSortCommandEventArgs) method when a column is selected for sorting. |
| ViewState |
Obtém o objeto StateBag que permite que uma coluna derivada da classe DataGridColumn armazene suas propriedades.Gets the StateBag object that allows a column derived from the DataGridColumn class to store its properties. |
| Visible |
Obtém ou define um valor que indica se a coluna está visível no controle DataGrid.Gets or sets a value that indicates whether the column is visible in the DataGrid control. |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| Initialize() |
Fornece a implementação base para redefinir uma coluna derivada da classe DataGridColumn para seu estado inicial.Provides the base implementation to reset a column derived from the DataGridColumn class to its initial state. |
| InitializeCell(TableCell, Int32, ListItemType) |
Fornece a implementação base para redefinir a célula especificada de uma coluna derivada da classe DataGridColumn para seu estado inicial.Provides the base implementation to reset the specified cell from a column derived from the DataGridColumn class to its initial state. |
| LoadViewState(Object) |
Carrega o estado do objeto DataGridColumn.Loads the state of the DataGridColumn object. |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| OnColumnChanged() |
Chama o método OnColumnsChanged().Calls the OnColumnsChanged() method. |
| SaveViewState() |
Salva o estado atual do objeto DataGridColumn.Saves the current state of the DataGridColumn object. |
| ToString() |
Retorna a representação de cadeia de caracteres da coluna.Returns the string representation of the column. |
| TrackViewState() |
Causa o acompanhamento das alterações de estado de exibição para o controle de servidor, para que elas possam ser armazenadas no objeto StateBag do controle de servidor.Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object. |
Implantações explícitas de interface
| IStateManager.IsTrackingViewState |
Obtém um valor que indica se a coluna está controlando suas alterações de estado de exibição.Gets a value that indicates whether the column is tracking view state changes. |
| IStateManager.LoadViewState(Object) |
Carrega o estado salvo anteriormente.Loads previously saved state. |
| IStateManager.SaveViewState() |
Retorna um objeto que contém as alterações de estado.Returns an object containing state changes. |
| IStateManager.TrackViewState() |
Inicia o controle de alterações de estado.Starts tracking state changes. |