StructureChangedEventHandler Delegate
Represents the method implemented by the client application to handle the event raised when the UI Automation tree structure has changed.
Assembly: UIAutomationTypes (in UIAutomationTypes.dll)
'Declaration Public Delegate Sub StructureChangedEventHandler ( _ sender As Object, _ e As StructureChangedEventArgs _ ) 'Usage Dim instance As New StructureChangedEventHandler(AddressOf HandlerMethod)
Parameters
- sender
- Type: System.Object
The object that raised the event.
- e
- Type: System.Windows.Automation.StructureChangedEventArgs
Information about the event.
The following table describes the information in the event received by the delegate for different structure changes.
e.structureChangeType | sender | e.runtimeId |
|---|---|---|
The child that was added. | The child that was added. | |
The parent of the child that was removed. | The child that was removed. | |
The parent of the children that were added. | The parent of the children that were added. | |
The parent of the children that were removed. | The parent of the children that were removed. | |
The parent of the children that were invalidated. | The parent of the children that were invalidated |
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.