StructureChangedEventHandler Delegado

Definición

Representa el método implementado por la aplicación cliente para controlar el evento provocado cuando ha cambiado la estructura del árbol de automatización de la interfaz de usuario.Represents the method implemented by the client application to handle the event raised when the UI Automation tree structure has changed.

public delegate void StructureChangedEventHandler(System::Object ^ sender, StructureChangedEventArgs ^ e);
public delegate void StructureChangedEventHandler(object sender, StructureChangedEventArgs e);
type StructureChangedEventHandler = delegate of obj * StructureChangedEventArgs -> unit
Public Delegate Sub StructureChangedEventHandler(sender As Object, e As StructureChangedEventArgs)

Parámetros

sender
Object

El objeto que ha generado el evento.The object that raised the event.

e
StructureChangedEventArgs

Información acerca del evento.Information about the event.

Comentarios

En la tabla siguiente se describe la información del evento que recibe el delegado para diferentes cambios de estructura.The following table describes the information in the event received by the delegate for different structure changes.

e.structureChangeType sender e.runtimeId
ChildAdded Elemento secundario que se ha agregado.The child that was added. Elemento secundario que se ha agregado.The child that was added.
ChildRemoved Elemento primario del elemento secundario que se quitó.The parent of the child that was removed. Elemento secundario que se ha eliminado.The child that was removed.
ChildrenBulkAdded Elemento primario de los elementos secundarios que se agregaron.The parent of the children that were added. Elemento primario de los elementos secundarios que se agregaron.The parent of the children that were added.
ChildrenBulkRemoved Elemento primario de los elementos secundarios que se quitaron.The parent of the children that were removed. Elemento primario de los elementos secundarios que se quitaron.The parent of the children that were removed.
ChildrenInvalidated Elemento primario de los elementos secundarios que se invalidaron.The parent of the children that were invalidated. Elemento primario de los elementos secundarios que se invalidaronThe parent of the children that were invalidated

Métodos de extensión

GetMethodInfo(Delegate)

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a

Consulte también