Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StructureChangedEventHandler Delegate

Represents the method implemented by the client application to handle the event raised when the UI Automation tree structure has changed.

Namespace:  System.Windows.Automation
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

ChildAdded

The child that was added.

The child that was added.

ChildRemoved

The parent of the child that was removed.

The child that was removed.

ChildrenBulkAdded

The parent of the children that were added.

The parent of the children that were added.

ChildrenBulkRemoved

The parent of the children that were removed.

The parent of the children that were removed.

ChildrenInvalidated

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.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

Show:
© 2017 Microsoft