Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (46 sloc) 3.63 KB
<Type Name="StructureChangedEventHandler" FullName="System.Windows.Automation.StructureChangedEventHandler">
<TypeSignature Language="C#" Value="public delegate void StructureChangedEventHandler(object sender, StructureChangedEventArgs e);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed StructureChangedEventHandler extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Windows.Automation.StructureChangedEventHandler" />
<TypeSignature Language="VB.NET" Value="Public Delegate Sub StructureChangedEventHandler(sender As Object, e As StructureChangedEventArgs)" />
<TypeSignature Language="C++ CLI" Value="public delegate void StructureChangedEventHandler(System::Object ^ sender, StructureChangedEventArgs ^ e);" />
<TypeSignature Language="F#" Value="type StructureChangedEventHandler = delegate of obj * StructureChangedEventArgs -&gt; unit" />
<AssemblyInfo>
<AssemblyName>UIAutomationTypes</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="sender" Type="System.Object" />
<Parameter Name="e" Type="System.Windows.Automation.StructureChangedEventArgs" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<param name="sender">The object that raised the event.</param>
<param name="e">Information about the event.</param>
<summary>Represents the method implemented by the client application to handle the event raised when the UI Automation tree structure has changed.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The following table describes the information in the event received by the delegate for different structure changes.
|`e.structureChangeType`|`sender`|`e.runtimeId`|
|-----------------------------|--------------|-------------------|
|<xref:System.Windows.Automation.StructureChangeType.ChildAdded>|The child that was added.|The child that was added.|
|<xref:System.Windows.Automation.StructureChangeType.ChildRemoved>|The parent of the child that was removed.|The child that was removed.|
|<xref:System.Windows.Automation.StructureChangeType.ChildrenBulkAdded>|The parent of the children that were added.|The parent of the children that were added.|
|<xref:System.Windows.Automation.StructureChangeType.ChildrenBulkRemoved>|The parent of the children that were removed.|The parent of the children that were removed.|
|<xref:System.Windows.Automation.StructureChangeType.ChildrenInvalidated>|The parent of the children that were invalidated.|The parent of the children that were invalidated|
]]></format>
</remarks>
<altmember cref="M:System.Windows.Automation.Automation.AddStructureChangedEventHandler(System.Windows.Automation.AutomationElement,System.Windows.Automation.TreeScope,System.Windows.Automation.StructureChangedEventHandler)" />
<altmember cref="M:System.Windows.Automation.Automation.RemoveStructureChangedEventHandler(System.Windows.Automation.AutomationElement,System.Windows.Automation.StructureChangedEventHandler)" />
<related type="Article" href="https://msdn.microsoft.com/library/b688effa-b3e8-4b05-944d-05ed89a245aa">Subscribe to UI Automation Events</related>
<related type="Article" href="https://msdn.microsoft.com/library/69eebd8b-39ed-40e7-93cc-4457c4caf746">UI Automation Events Overview</related>
<related type="Article" href="https://docs.microsoft.com/previous-versions/dotnet/netframework-3.5/ms771428(v=vs.90)">TrackFocus Sample</related>
</Docs>
</Type>
You can’t perform that action at this time.