File: Windows.Win32.TreeScope.g.cs
Project: src\src\System.Windows.Forms.Primitives\src\System.Windows.Forms.Primitives.csproj (System.Windows.Forms.Primitives)
// ------------------------------------------------------------------------------
// <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>The TreeScope (uiautomationclient.h) enumeration contains values that specify the scope of various operations in the Microsoft UI Automation tree.</summary>
		/// <remarks>
		/// <para><see href="https://learn.microsoft.com/windows/win32/api/uiautomationclient/ne-uiautomationclient-treescope">Learn more about this API from docs.microsoft.com</see>.</para>
		/// </remarks>
		[global::System.CodeDom.Compiler.GeneratedCode("Microsoft.Windows.CsWin32", "0.3.151+58e949951d.RR")]
		internal enum TreeScope
		{
			/// <summary>The scope excludes the subtree from the search.</summary>
			TreeScope_None = 0,
			/// <summary>The scope includes the element itself.</summary>
			TreeScope_Element = 1,
			/// <summary>The scope includes children of the element.</summary>
			TreeScope_Children = 2,
			/// <summary>The scope includes children and more distant descendants of the element.</summary>
			TreeScope_Descendants = 4,
			/// <summary>The scope includes the parent of the element.</summary>
			TreeScope_Parent = 8,
			/// <summary>The scope includes the parent and more distant ancestors of the element.</summary>
			TreeScope_Ancestors = 16,
			/// <summary>The scope includes the element and all its descendants. This flag is a combination of the TreeScope_Element and TreeScope_Descendants values.</summary>
			TreeScope_Subtree = 7,
		}
	}
}