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 ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για