DataGridColumn.Initialize Método
Definição
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.
public:
virtual void Initialize();
public virtual void Initialize ();
abstract member Initialize : unit -> unit
override this.Initialize : unit -> unit
Public Overridable Sub Initialize ()
Comentários
O Initialize método fornece a implementação base para redefinir uma coluna derivada da DataGridColumn classe para seu estado inicial.The Initialize method provides the base implementation to reset a column derived from the DataGridColumn class to its initial state. Esse método não é chamado diretamente.This method is not called directly. Em vez disso, esse método é herdado por uma classe de coluna derivada, que pode ser usada para redefinir uma coluna do tipo derivado.Instead, this method is inherited by a derived column class, which can then be used to reset a column of the derived type. Opcionalmente, você pode substituir esse método na classe derivada para fornecer uma rotina de inicialização personalizada.You can optionally override this method in the derived class to provide a custom initialization routine. Essa implementação base do Initialize método é geralmente chamada do método substituído para redefinir Propriedades comuns a todos os tipos de coluna derivados da DataGridColumn classe.This base implementation of the Initialize method is often called from the overridden method to reset properties common to all column types derived from the DataGridColumn class. O Initialize método é geralmente chamado durante a vinculação de dados, antes da primeira linha que está sendo associada.The Initialize method is usually called during data binding, prior to the first row being bound.
Quando o Initialize método é usado, o modo de design da coluna é definido como true .When the Initialize method is used, the design mode of the column is set to true.
Observação
Esse método é comumente usado por desenvolvedores de controle.This method is commonly used by control developers.