StructureChangedEventHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- sender
- Object
The object that raised the event.
Information about the event.
Remarks
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 |
Extension Methods
GetMethodInfo(Delegate) |
Gets an object that represents the method represented by the specified delegate. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om