ControlDesigner.OnControlResize Método
Definição
Cuidado
The recommended alternative is OnComponentChanged(). OnComponentChanged is called when any property of the control is changed. http://go.microsoft.com/fwlink/?linkid=14202
Chamado quando o controle de servidor Web associado é redimensionado no host de design em tempo de design.Called when the associated Web server control has been resized in the design host at design time.
protected:
virtual void OnControlResize();
protected virtual void OnControlResize ();
[System.Obsolete("The recommended alternative is OnComponentChanged(). OnComponentChanged is called when any property of the control is changed. http://go.microsoft.com/fwlink/?linkid=14202")]
protected virtual void OnControlResize ();
abstract member OnControlResize : unit -> unit
override this.OnControlResize : unit -> unit
[<System.Obsolete("The recommended alternative is OnComponentChanged(). OnComponentChanged is called when any property of the control is changed. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member OnControlResize : unit -> unit
override this.OnControlResize : unit -> unit
Protected Overridable Sub OnControlResize ()
- Atributos
Comentários
Observação
O OnControlResize método está obsoleto.The OnControlResize method is obsolete. Use o OnComponentChanged método para funcionalidade equivalente do designer de controle.Use the OnComponentChanged method for equivalent control designer functionality.
O OnControlResize método normalmente é chamado apenas pelo ambiente de tempo de design quando uma ação do usuário faz com que o controle do servidor Web associado seja redimensionado.The OnControlResize method typically is called only by the design-time environment when a user action causes the associated Web server control to be resized. O OnControlResize método pode ser chamado várias vezes durante um processo de redimensionamento para exibir o tamanho atualizado do controle antes de o redimensionamento ser concluído.The OnControlResize method might be called several times during a resizing process to display the updated size of the control before the resizing is completed. As propriedades width e Height do controle são atualizadas antes de o OnControlResize método ser chamado.The width and height properties of the control are updated before the OnControlResize method is called.