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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈