StructureChangedEventHandler Delegate

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

public delegate void StructureChangedEventHandler(
	object sender,
	StructureChangedEventArgs e
)

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

.NET Framework
Available since 3.0
Return to top
Show: