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)
/** @delegate */
public delegate void StructureChangedEventHandler (
	Object sender, 
	StructureChangedEventArgs e
)
Not applicable.

Parameters

sender

The object that raised the event.

e

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

Show:
© 2017 Microsoft