TreeViewArray.AfterLabelEdit Evento
Definição
Ocorre quando o rótulo de um item é editado pelo usuário.Occurs when the label for an item is edited by the user.
public:
event System::Windows::Forms::NodeLabelEditEventHandler ^ AfterLabelEdit;
public event System.Windows.Forms.NodeLabelEditEventHandler AfterLabelEdit;
member this.AfterLabelEdit : System.Windows.Forms.NodeLabelEditEventHandler
Public Custom Event AfterLabelEdit As NodeLabelEditEventHandler
Public Event AfterLabelEdit As NodeLabelEditEventHandler
Tipo de evento
Comentários
O AfterLabelEdit evento ocorre quando o usuário termina de modificar o texto de um item.The AfterLabelEdit event occurs when the user finishes modifying the text for an item. A nova cadeia de caracteres que o usuário digita para o item é passada para o evento e o manipulador de eventos pode rejeitar a alteração.The new string that the user types for the item is passed to the event, and the event handler can reject the change. Se o manipulador de eventos rejeitar a alteração, o texto será revertido para o texto como era antes de o usuário começar a editar o item.If the event handler rejects the change, the text reverts to the text as it was before the user began editing the item.
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.