|
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
#pragma warning disable CS1591,CS1573,CS0465,CS0649,CS8019,CS1570,CS1584,CS1658,CS0436,CS8981
using global::System;
using global::System.Diagnostics;
using global::System.Diagnostics.CodeAnalysis;
using global::System.Runtime.CompilerServices;
using global::System.Runtime.InteropServices;
using global::System.Runtime.Versioning;
using winmdroot = global::Windows.Win32;
namespace Windows.Win32
{
namespace UI.Accessibility
{
/// <summary>Contains values that specify the type of change in the Microsoft UI Automation tree structure.</summary>
/// <remarks>
/// <para>Because the implementation of structure-change events depends on the underlying UI framework, UI Automation defines no strict rule governing when a provider must switch from sending individual ChildAdded or ChildRemoved events to the bulk equivalent. However, the switch typically occurs when two to five child elements are added or removed at once. The bulk events help to prevent clients from being flooded by individual ChildAdded and ChildRemoved events. Except for ChildAdded, structure-change events are always associated with the container element that holds the children. The ChildAdded event is associated with the element that was just added.</para>
/// <para><see href="https://learn.microsoft.com/windows/win32/api/uiautomationcore/ne-uiautomationcore-structurechangetype#">Read more on docs.microsoft.com</see>.</para>
/// </remarks>
[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
internal enum StructureChangeType
{
/// <summary>A child element was added to the UI Automation element tree.</summary>
StructureChangeType_ChildAdded = 0,
/// <summary>A child element was removed from the UI Automation element tree.</summary>
StructureChangeType_ChildRemoved = 1,
/// <summary>Child elements were invalidated in the UI Automation element tree. This might mean that one or more child elements were added or removed, or a combination of both. This value can also indicate that one subtree in the UI was substituted for another. For example, the entire contents of a dialog box changed at once, or the view of a list changed because an Explorer-type application navigated to another location. The exact meaning depends on the UI Automation provider implementation.</summary>
StructureChangeType_ChildrenInvalidated = 2,
/// <summary>Child elements were added in bulk to the UI Automation element tree.</summary>
StructureChangeType_ChildrenBulkAdded = 3,
/// <summary>Child elements were removed in bulk from the UI Automation element tree.</summary>
StructureChangeType_ChildrenBulkRemoved = 4,
/// <summary>The order of child elements has changed in the UI Automation element tree. Child elements may or may not have been added or removed.</summary>
StructureChangeType_ChildrenReordered = 5,
}
}
}
|