HScrollBarArray.Resize Evento

Definição

Ocorre quando o controle é redimensionado.Occurs when the control is resized.

public:
 event EventHandler ^ Resize;
public event EventHandler Resize;
member this.Resize : EventHandler 
Public Custom Event Resize As EventHandler 
Public Event Resize As EventHandler 

Tipo de evento

EventHandler

Comentários

Para determinar o Size do controle redimensionado, é possível converter o parâmetro sender dos dados EventArgs em um Control e obter as propriedades Size (ou Height e Width individualmente).To determine the Size of the resized control, you can cast the sender parameter of the EventArgs data to a Control and get its Size property (or Height and Width properties individually).

Para lidar com layouts personalizados, use o Layout evento em vez do Resize evento.To handle custom layouts, use the Layout event instead of the Resize event. O Layout evento é gerado em resposta a um Resize evento, mas também em resposta a outras alterações que afetam o layout do controle.The Layout event is raised in response to a Resize event, but also in response to other changes that affect the layout of the control.

Para obter mais informações sobre como lidar com eventos, consulte manipulando e gerando eventos.For more information about how to handle events, see Handling and Raising Events.

Observação

As funções e os objetos no namespace Microsoft.VisualBasic.Compatibility.VB6 são fornecidos para uso pelas ferramentas para atualização do Visual Basic 6.0 para o Visual Basic.Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. Na maioria dos casos, essas funções e objetos duplicam a funcionalidade que é possível encontrar em outros namespaces no .NET FrameworkIn most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. Eles apenas são necessários quando o modelo de código do Visual Basic 6.0 difere significativamente da implementação do .NET Framework.They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Aplica-se a

Confira também