ListViewArray.ColumnWidthChanging Evento
Definição
Ocorre quando a largura de uma coluna está se alterando.Occurs when the width of a column is changing.
public:
event System::Windows::Forms::ColumnWidthChangingEventHandler ^ ColumnWidthChanging;
public event System.Windows.Forms.ColumnWidthChangingEventHandler ColumnWidthChanging;
member this.ColumnWidthChanging : System.Windows.Forms.ColumnWidthChangingEventHandler
Public Custom Event ColumnWidthChanging As ColumnWidthChangingEventHandler
Public Event ColumnWidthChanging As ColumnWidthChangingEventHandler
Tipo de evento
Comentários
Esse evento permite que você verifique a nova largura da coluna com a ColumnWidthChangingEventArgs.NewWidth propriedade e cancele o evento se escolher definindo a Cancel propriedade como true .This event allows you to check the new column width with the ColumnWidthChangingEventArgs.NewWidth property, and cancel the event if you choose by setting the Cancel property to true.
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.