Automation Control Type Enum (Peers/AutomationControlType.cs)

uno · src/Uno.UI/UI/Xaml/Automation/Peers/AutomationControlType.cs · csharp · Apache-2.0
ui, automation, tag:enum, tag:xaml

Enum defining UI Automation control type values used by AutomationPeer.GetAutomationControlType to classify controls for accessibility clients.

// Source: https://github.com/unoplatform/uno | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
namespace Microsoft.UI.Xaml.Automation.Peers;

/// <summary>
/// Specifies the control type that is exposed to the Microsoft UI Automation client. Used by GetAutomationControlType.
/// </summary>
public enum AutomationControlType
{
	/// <summary>
	/// A Button control type
	/// </summary>
	Button = 0,

	/// <summary>
	/// A Calendar control type
	/// </summary>
	Calendar = 1,

	/// <summary>
	/// A CheckBox control type
	/// </summary>
	CheckBox = 2,

	/// <summary>
	/// A ComboBox control type
	/// </summary>
	ComboBox = 3,

	/// <summary>
	/// An Edit control type
	/// </summary>
	Edit = 4,

	/// <summary>
	/// A Hyperlink control type
	/// </summary>
	Hyp

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key