Microsoft.UI.Xaml.Automation.Peers Namespace

Defines support types for the Microsoft UI Automation infrastructure.

Classes

AnimatedVisualPlayerAutomationPeer

Exposes AnimatedVisualPlayer types to Microsoft UI Automation.

AppBarAutomationPeer

Exposes AppBar types to Microsoft UI Automation.

AppBarButtonAutomationPeer

Exposes AppBarButton types to Microsoft UI Automation.

AppBarToggleButtonAutomationPeer

Exposes AppBarToggleButton types to Microsoft UI Automation.

AutomationPeer

Provides a base class that exposes the automation peer for an associated owner class to Microsoft UI Automation.

AutomationPeerAnnotation

Represents a single UI automation annotation.

AutoSuggestBoxAutomationPeer

Exposes AutoSuggestBox types to Microsoft UI Automation.

BreadcrumbBarItemAutomationPeer

Exposes BreadcrumbBar types to Microsoft UI Automation.

ButtonAutomationPeer

Exposes Button types to Microsoft UI Automation.

ButtonBaseAutomationPeer

Represents a base class for exposing classes derived from ButtonBase to Microsoft UI Automation.

CalendarDatePickerAutomationPeer

Exposes CalendarDatePicker types to Microsoft UI Automation.

CheckBoxAutomationPeer

Exposes CheckBox types to Microsoft UI Automation.

ColorPickerSliderAutomationPeer

Exposes ColorPickerSlider types to Microsoft UI Automation.

ColorSpectrumAutomationPeer

Exposes ColorSpectrum types to Microsoft UI Automation.

ComboBoxAutomationPeer

Exposes ComboBox types to Microsoft UI Automation.

ComboBoxItemAutomationPeer

Exposes the ComboBoxItem contents in a ComboBox to Microsoft UI Automation.

ComboBoxItemDataAutomationPeer

Exposes the data content of a ComboBoxItem to Microsoft UI Automation.

DatePickerAutomationPeer

Exposes DatePicker types to Microsoft UI Automation.

DatePickerFlyoutPresenterAutomationPeer

Exposes DatePickerFlyoutPresenter types to Microsoft UI Automation.

DropDownButtonAutomationPeer

Exposes DropDownButton types to Microsoft UI Automation.

ExpanderAutomationPeer

Exposes Expander types to Microsoft UI Automation.

FlipViewAutomationPeer

Exposes FlipView types to Microsoft UI Automation.

FlipViewItemAutomationPeer

Exposes a FlipViewItem to Microsoft UI Automation.

FlipViewItemDataAutomationPeer

Exposes the data content of a FlipViewItem to Microsoft UI Automation.

FlyoutPresenterAutomationPeer

Exposes FlyoutPresenter types to Microsoft UI Automation.

FrameworkElementAutomationPeer

Exposes FrameworkElement derived types (including all controls) to Microsoft UI Automation.

GridViewAutomationPeer

Exposes GridView types to Microsoft UI Automation.

GridViewHeaderItemAutomationPeer

Exposes GridViewHeaderItem types to Microsoft UI Automation.

GridViewItemAutomationPeer

Exposes a GridViewItem to Microsoft UI Automation.

GridViewItemDataAutomationPeer

Exposes GridView items to Microsoft UI Automation, using a data representation of the item so that the peer supports scrolling to that item with data awareness.

GroupItemAutomationPeer

Exposes a GroupItem to Microsoft UI Automation.

HubAutomationPeer

Exposes Hub types to Microsoft UI Automation.

HubSectionAutomationPeer

Exposes HubSection types to Microsoft UI Automation.

HyperlinkButtonAutomationPeer

Exposes HyperlinkButton types to Microsoft UI Automation.

ImageAutomationPeer

Exposes Image types to Microsoft UI Automation.

InfoBarAutomationPeer

Exposes InfoBar types to Microsoft UI Automation.

ItemAutomationPeer

Exposes a data item in an Items collection to Microsoft UI Automation.

ItemContainerAutomationPeer

Exposes Microsoft.UI.Xaml.Controls.ItemContainer types to Microsoft UI Automation.

ItemsControlAutomationPeer

Exposes ItemsControl types to Microsoft UI Automation.

ItemsViewAutomationPeer

Exposes Microsoft.UI.Xaml.Controls.ItemsView types to Microsoft UI Automation.

ListBoxAutomationPeer

Exposes ListBox types to Microsoft UI Automation.

ListBoxItemAutomationPeer

Exposes the items in the Items collection of a ListBox to Microsoft UI Automation.

ListBoxItemDataAutomationPeer

Exposes ListBox items to Microsoft UI Automation, using a data representation of the item so that the peer supports scrolling to that item with data awareness.

ListPickerFlyoutPresenterAutomationPeer

Exposes ListPickerFlyoutPresenter types to Microsoft UI Automation.

ListViewAutomationPeer

Exposes ListView types to Microsoft UI Automation.

ListViewBaseAutomationPeer

A base class that provides a Microsoft UI Automation peer implementation for types that derive from ListViewBase.

ListViewBaseHeaderItemAutomationPeer

Exposes ListViewBaseHeaderItem types to Microsoft UI Automation.

ListViewHeaderItemAutomationPeer

Exposes ListViewHeaderItem types to Microsoft UI Automation.

ListViewItemAutomationPeer

Exposes a ListViewItem to Microsoft UI Automation.

ListViewItemDataAutomationPeer

Exposes ListView items to Microsoft UI Automation, using a data representation of the item so that the peer supports scrolling to that item with data awareness.

LoopingSelectorAutomationPeer

Exposes LoopingSelector types to Microsoft UI Automation.

LoopingSelectorItemAutomationPeer

Exposes LoopingSelectorItem types to Microsoft UI Automation.

LoopingSelectorItemDataAutomationPeer

Exposes the data content of a LoopingSelectorItem to Microsoft UI Automation.

MediaPlayerElementAutomationPeer

Exposes MediaPlayerElement types to Microsoft UI Automation.

MediaTransportControlsAutomationPeer

Exposes MediaTransportControls types to Microsoft UI Automation.

MenuBarAutomationPeer

Exposes MenuBar types to Microsoft UI Automation.

MenuBarItemAutomationPeer

Exposes MenuBarItem types to Microsoft UI Automation.

MenuFlyoutItemAutomationPeer

Exposes MenuFlyoutItem types to Microsoft UI Automation.

MenuFlyoutPresenterAutomationPeer

Exposes MenuFlyoutPresenter types to Microsoft UI Automation.

NavigationViewAutomationPeer

Exposes NavigationView types to Microsoft UI Automation.

NavigationViewItemAutomationPeer

Exposes NavigationViewItem types to Microsoft UI Automation.

NumberBoxAutomationPeer

Exposes NumberBox types to Microsoft UI Automation.

PasswordBoxAutomationPeer

Exposes PasswordBox types to Microsoft UI Automation.

PersonPictureAutomationPeer

Exposes PersonPicture types to Microsoft UI Automation.

PickerFlyoutPresenterAutomationPeer

Exposes PickerFlyoutPresenter types to Microsoft UI Automation.

PipsPagerAutomationPeer

Exposes PipsPager types to Microsoft UI Automation.

PivotAutomationPeer

Exposes Pivot types to Microsoft UI Automation.

PivotItemAutomationPeer

Exposes PivotItem types to Microsoft UI Automation.

PivotItemDataAutomationPeer

Exposes the data content of a PivotItem to Microsoft UI Automation.

ProgressBarAutomationPeer

Exposes ProgressBar types to Microsoft UI Automation.

ProgressRingAutomationPeer

Exposes ProgressRing types to Microsoft UI Automation.

RadioButtonAutomationPeer

Exposes RadioButton types to Microsoft UI Automation.

RadioButtonsAutomationPeer

Exposes RadioButtons types to Microsoft UI Automation.

RangeBaseAutomationPeer

A base class that provides a Microsoft UI Automation peer implementation for types that derive from RangeBase.

RatingControlAutomationPeer

Exposes RatingControl types to Microsoft UI Automation.

RepeatButtonAutomationPeer

Exposes RepeatButton types to Microsoft UI Automation.

RepeaterAutomationPeer

Exposes ItemsRepeater types to Microsoft UI Automation.

RichEditBoxAutomationPeer

Exposes RichEditBox types to Microsoft UI Automation.

RichTextBlockAutomationPeer

Exposes RichTextBlock types to Microsoft UI Automation.

RichTextBlockOverflowAutomationPeer

Exposes RichTextBlockOverflow types to Microsoft UI Automation.

ScrollBarAutomationPeer

Exposes ScrollBar types to Microsoft UI Automation.

ScrollPresenterAutomationPeer

Exposes ScrollPresenter types to Microsoft UI Automation.

ScrollViewerAutomationPeer

Exposes ScrollViewer types to Microsoft UI Automation.

SelectorAutomationPeer

A base class that provides a Microsoft UI Automation peer implementation for types that derive from Selector.

SelectorBarItemAutomationPeer

Exposes SelectorBarItem types to Microsoft UI Automation.

SelectorItemAutomationPeer

Exposes the items in a Selector to Microsoft UI Automation.

SemanticZoomAutomationPeer

Exposes SemanticZoom types to Microsoft UI Automation.

SliderAutomationPeer

Exposes Slider types to Microsoft UI Automation.

SplitButtonAutomationPeer

Exposes SplitButton types to Microsoft UI Automation.

TabViewAutomationPeer

Exposes TabView types to Microsoft UI Automation.

TabViewItemAutomationPeer

Exposes TabViewItem types to Microsoft UI Automation.

TeachingTipAutomationPeer

Exposes TeachingTip types to Microsoft UI Automation.

TextBlockAutomationPeer

Exposes TextBlock types to Microsoft UI Automation.

TextBoxAutomationPeer

Exposes TextBox types to Microsoft UI Automation.

ThumbAutomationPeer

Exposes Thumb types to Microsoft UI Automation.

TimePickerAutomationPeer

Exposes TimePicker types to Microsoft UI Automation.

TimePickerFlyoutPresenterAutomationPeer

Exposes TimePickerFlyoutPresenter types to Microsoft UI Automation.

ToggleButtonAutomationPeer

Exposes ToggleButton types to Microsoft UI Automation.

ToggleMenuFlyoutItemAutomationPeer

Exposes ToggleMenuFlyoutItem types to Microsoft UI Automation.

ToggleSplitButtonAutomationPeer

Exposes ToggleSplitButton types to Microsoft UI Automation.

ToggleSwitchAutomationPeer

Exposes ToggleSwitch types to Microsoft UI Automation.

TreeViewItemAutomationPeer

Exposes TreeViewItem types to Microsoft UI Automation.

TreeViewItemDataAutomationPeer

Exposes TreeViewItem data types to Microsoft UI Automation.

TreeViewListAutomationPeer

Exposes TreeViewList types to Microsoft UI Automation.

WebView2AutomationPeer

Exposes WebView2 types to Microsoft UI Automation.

Structs

RawElementProviderRuntimeId

Represents the runtime ID for an element.

Enums

AccessibilityView

Declares how a control should included in different views of a Microsoft UI Automation tree.

AutomationControlType

Specifies the control type that is exposed to the Microsoft UI Automation client. Used by GetAutomationControlType.

AutomationEvents

Specifies the event that is raised by the element through the associated AutomationPeer. Used by RaiseAutomationEvent.

AutomationHeadingLevel

Defines the heading levels for UI Automation elements.

AutomationLandmarkType

Defines the automation landmark types for elements.

AutomationLiveSetting

Describes the notification characteristics of a particular live region in an app UI. Used by GetLiveSetting and AutomationProperties.LiveSetting.

AutomationNavigationDirection

Defines the directions of navigation within the Microsoft UI Automation tree.

AutomationNotificationKind

Indicates the type of notification when calling RaiseNotificationEvent

AutomationNotificationProcessing

Specifies the order in which to process a notification.

AutomationOrientation

Specifies the orientation direction in which a control can be presented. Values are used by GetOrientation.

AutomationStructureChangeType

Defines the types of change in the Microsoft UI Automation tree structure.

PatternInterface

Specifies the control pattern that the GetPattern method returns.

Examples

The WinUI 3 Gallery app includes interactive examples of most WinUI 3 controls, features, and functionality. Get the app from the Microsoft Store or get the source code on GitHub.

Remarks

WinUI controls, and other UI elements, implement UI Automation support to report roles and values. You can use UI Automation tools to examine the role and value information, or you can review the AutomationPeer implementations of each control. The available roles in a UI Automation framework are defined in the AutomationControlType enumeration. UI Automation clients, such as assistive technologies, can obtain role information by calling methods that the UI Automation framework exposes through the control's AutomationPeer.

See also