Microsoft.UI.Xaml.Automation.Peers 命名空間

定義 Microsoft 使用者介面自動化 基礎結構的支持類型。

類別

AnimatedVisualPlayerAutomationPeer

AnimatedVisualPlayer 類型公開給 Microsoft 使用者介面自動化

AppBarAutomationPeer

AppBar 類型公開給 Microsoft 使用者介面自動化。

AppBarButtonAutomationPeer

AppBarButton 類型公開給 Microsoft 使用者介面自動化。

AppBarToggleButtonAutomationPeer

AppBarToggleButton 類型公開給 Microsoft 使用者介面自動化。

AutomationPeer

提供基類,這個基類會將相關聯擁有者類別的自動化對等公開給 Microsoft 使用者介面自動化。

AutomationPeerAnnotation

表示單一UI自動化註釋。

AutoSuggestBoxAutomationPeer

AutoSuggestBox 類型公開給 Microsoft 使用者介面自動化。

BreadcrumbBarItemAutomationPeer

階層連結列類型公開給 Microsoft 使用者介面自動化。

ButtonAutomationPeer

按鈕類型公開給 Microsoft 使用者介面自動化。

ButtonBaseAutomationPeer

表示將衍生自 ButtonBase 的類別公開至 Microsoft 使用者介面自動化 的基類。

CalendarDatePickerAutomationPeer

CalendarDatePicker 類型公開給 Microsoft 使用者介面自動化。

CheckBoxAutomationPeer

CheckBox 類型公開給 Microsoft 使用者介面自動化。

ColorPickerSliderAutomationPeer

ColorPickerSlider 類型公開給 Microsoft 使用者介面自動化

ColorSpectrumAutomationPeer

ColorSpectrum 類型公開給 Microsoft 使用者介面自動化

ComboBoxAutomationPeer

ComboBox 類型公開給 Microsoft 使用者介面自動化。

ComboBoxItemAutomationPeer

ComboBox 中的 ComboBoxItem 內容公開給 Microsoft 使用者介面自動化。

ComboBoxItemDataAutomationPeer

ComboBoxItem 的數據內容公開給 Microsoft 使用者介面自動化。

DatePickerAutomationPeer

DatePicker 類型公開給 Microsoft 使用者介面自動化。

DatePickerFlyoutPresenterAutomationPeer

DatePickerFlyoutPresenter 類型公開給 Microsoft 使用者介面自動化。

DropDownButtonAutomationPeer

DropDownButton 類型公開給 Microsoft 使用者介面自動化

ExpanderAutomationPeer

展開器類型公開給 Microsoft 使用者介面自動化。

FlipViewAutomationPeer

FlipView 類型公開給 Microsoft 使用者介面自動化。

FlipViewItemAutomationPeer

FlipViewItem 公開給 Microsoft 使用者介面自動化。

FlipViewItemDataAutomationPeer

FlipViewItem 的數據內容公開給 Microsoft 使用者介面自動化。

FlyoutPresenterAutomationPeer

FlyoutPresenter 類型公開給 Microsoft 使用者介面自動化。

FrameworkElementAutomationPeer

FrameworkElement 衍生類型公開 (包括所有控件) 給 Microsoft 使用者介面自動化。

GridViewAutomationPeer

GridView 類型公開給 Microsoft 使用者介面自動化。

GridViewHeaderItemAutomationPeer

GridViewHeaderItem 類型公開給 Microsoft 使用者介面自動化。

GridViewItemAutomationPeer

GridViewItem 公開給 Microsoft 使用者介面自動化。

GridViewItemDataAutomationPeer

使用項目的數據表示法向 Microsoft 使用者介面自動化 公開 GridView 專案,讓對等支援卷動至具有數據感知的該專案。

GroupItemAutomationPeer

GroupItem 公開給 Microsoft 使用者介面自動化。

HubAutomationPeer

中樞類型公開給 Microsoft 使用者介面自動化。

HubSectionAutomationPeer

HubSection 類型公開給 Microsoft 使用者介面自動化。

HyperlinkButtonAutomationPeer

HyperlinkButton 類型公開給 Microsoft 使用者介面自動化。

ImageAutomationPeer

影像類型公開給 Microsoft 使用者介面自動化。

InfoBarAutomationPeer

向 Microsoft 使用者介面自動化 公開 InfoBar 類型。

ItemAutomationPeer

Items 集合中的數據項公開給 Microsoft 使用者介面自動化。

ItemContainerAutomationPeer

Microsoft.UI.Xaml.Controls.ItemContainer類型公開給 Microsoft 使用者介面自動化。

ItemsControlAutomationPeer

ItemsControl 類型公開給 Microsoft 使用者介面自動化。

ItemsViewAutomationPeer

Microsoft.UI.Xaml.Controls.ItemsView類型公開給 Microsoft 使用者介面自動化。

ListBoxAutomationPeer

ListBox 類型公開給 Microsoft 使用者介面自動化。

ListBoxItemAutomationPeer

ListBoxItems 集合中的項目公開給 Microsoft 使用者介面自動化。

ListBoxItemDataAutomationPeer

使用項目的數據表示法向 Microsoft 使用者介面自動化 公開 ListBox 專案,讓對等支援卷動至具有數據感知的該專案。

ListPickerFlyoutPresenterAutomationPeer

ListPickerFlyoutPresenter 類型公開給 Microsoft 使用者介面自動化。

ListViewAutomationPeer

ListView 類型公開給 Microsoft 使用者介面自動化。

ListViewBaseAutomationPeer

基類,可為衍生自 ListViewBase 的類型提供 Microsoft 使用者介面自動化 對等實作。

ListViewBaseHeaderItemAutomationPeer

ListViewBaseHeaderItem 類型公開給 Microsoft 使用者介面自動化。

ListViewHeaderItemAutomationPeer

ListViewHeaderItem 類型公開給 Microsoft 使用者介面自動化。

ListViewItemAutomationPeer

ListViewItem 公開給 Microsoft 使用者介面自動化。

ListViewItemDataAutomationPeer

使用項目的數據表示法向 Microsoft 使用者介面自動化 公開 ListView 專案,讓對等支援卷動至具有數據感知的該專案。

LoopingSelectorAutomationPeer

LoopingSelector 類型公開給 Microsoft 使用者介面自動化。

LoopingSelectorItemAutomationPeer

LoopingSelectorItem 類型公開給 Microsoft 使用者介面自動化。

LoopingSelectorItemDataAutomationPeer

LoopingSelectorItem 的數據內容公開給 Microsoft 使用者介面自動化。

MediaPlayerElementAutomationPeer

MediaPlayerElement 類型公開給 Microsoft 使用者介面自動化。

MediaTransportControlsAutomationPeer

將 MediaTransportControls 類型公開給 Microsoft 使用者介面自動化。

MenuBarAutomationPeer

MenuBar 類型公開給 Microsoft 使用者介面自動化

MenuBarItemAutomationPeer

MenuBarItem 類型公開給 Microsoft 使用者介面自動化

MenuFlyoutItemAutomationPeer

MenuFlyoutItem 類型公開給 Microsoft 使用者介面自動化。

MenuFlyoutPresenterAutomationPeer

MenuFlyoutPresenter 類型公開給 Microsoft 使用者介面自動化。

NavigationViewAutomationPeer

NavigationView 類型公開給 Microsoft 使用者介面自動化

NavigationViewItemAutomationPeer

NavigationViewItem 類型公開給 Microsoft 使用者介面自動化

NumberBoxAutomationPeer

NumberBox 類型公開給 Microsoft 使用者介面自動化

PasswordBoxAutomationPeer

PasswordBox 類型公開給 Microsoft 使用者介面自動化。

PersonPictureAutomationPeer

PersonPicture 類型公開給 Microsoft 使用者介面自動化

PickerFlyoutPresenterAutomationPeer

PickerFlyoutPresenter 類型公開給 Microsoft 使用者介面自動化。

PipsPagerAutomationPeer

PipsPager 類型公開給 Microsoft 使用者介面自動化

PivotAutomationPeer

樞紐類型公開給 Microsoft 使用者介面自動化。

PivotItemAutomationPeer

PivotItem 類型公開給 Microsoft 使用者介面自動化。

PivotItemDataAutomationPeer

PivotItem 的數據內容公開給 Microsoft 使用者介面自動化。

ProgressBarAutomationPeer

ProgressBar 類型公開給 Microsoft 使用者介面自動化

ProgressRingAutomationPeer

ProgressRing 類型公開給 Microsoft 使用者介面自動化

RadioButtonAutomationPeer

RadioButton 類型公開給 Microsoft 使用者介面自動化。

RadioButtonsAutomationPeer

RadioButtons 類型公開給 Microsoft 使用者介面自動化

RangeBaseAutomationPeer

基類,可為衍生自 RangeBase 的類型提供 Microsoft 使用者介面自動化 對等實作。

RatingControlAutomationPeer

RatingControl 類型公開給 Microsoft 使用者介面自動化

RepeatButtonAutomationPeer

RepeatButton 類型公開給 Microsoft 使用者介面自動化。

RepeaterAutomationPeer

ItemsRepeater 類型公開給 Microsoft 使用者介面自動化

RichEditBoxAutomationPeer

RichEditBox 類型公開給 Microsoft 使用者介面自動化。

RichTextBlockAutomationPeer

RichTextBlock 類型公開給 Microsoft 使用者介面自動化。

RichTextBlockOverflowAutomationPeer

RichTextBlockOverflow 類型公開給 Microsoft 使用者介面自動化。

ScrollBarAutomationPeer

ScrollBar 類型公開給 Microsoft 使用者介面自動化。

ScrollViewerAutomationPeer

ScrollViewer 類型公開給 Microsoft 使用者介面自動化。

SelectorAutomationPeer

基類,可為衍生自 Selector 的類型提供 Microsoft 使用者介面自動化 對等實作。

SelectorBarItemAutomationPeer

SelectorBarItem 類型公開給 Microsoft 使用者介面自動化。

SelectorItemAutomationPeer

選取器中的項目公開給 Microsoft 使用者介面自動化。

SemanticZoomAutomationPeer

SemanticZoom 類型公開給 Microsoft 使用者介面自動化。

SliderAutomationPeer

滑桿類型公開給 Microsoft 使用者介面自動化。

SplitButtonAutomationPeer

SplitButton類型公開給 Microsoft 使用者介面自動化

TabViewAutomationPeer

TabView 類型公開給 Microsoft 使用者介面自動化

TabViewItemAutomationPeer

TabViewItem 類型公開給 Microsoft 使用者介面自動化

TeachingTipAutomationPeer

TeachingTip 類型公開給 Microsoft 使用者介面自動化

TextBlockAutomationPeer

TextBlock 類型公開給 Microsoft 使用者介面自動化。

TextBoxAutomationPeer

TextBox 類型公開給 Microsoft 使用者介面自動化。

ThumbAutomationPeer

Thumb 類型公開給 Microsoft 使用者介面自動化。

TimePickerAutomationPeer

TimePicker 類型公開給 Microsoft 使用者介面自動化。

TimePickerFlyoutPresenterAutomationPeer

TimePickerFlyoutPresenter 類型公開給 Microsoft 使用者介面自動化。

ToggleButtonAutomationPeer

ToggleButton 類型公開給 Microsoft 使用者介面自動化。

ToggleMenuFlyoutItemAutomationPeer

將 ToggleMenuFlyoutItem 類型公開給 Microsoft 使用者介面自動化。

ToggleSplitButtonAutomationPeer

ToggleSplitButton 類型公開給 Microsoft 使用者介面自動化

ToggleSwitchAutomationPeer

ToggleSwitch 類型公開給 Microsoft 使用者介面自動化。

TreeViewItemAutomationPeer

TreeViewItem 類型公開給 Microsoft 使用者介面自動化

TreeViewItemDataAutomationPeer

TreeViewItem 數據類型公開給 Microsoft 使用者介面自動化

TreeViewListAutomationPeer

TreeViewList 類型公開給 Microsoft 使用者介面自動化

WebView2AutomationPeer

WebView2 類型公開給 Microsoft 使用者介面自動化

結構

RawElementProviderRuntimeId

表示專案的運行時間識別碼。

列舉

AccessibilityView

宣告控件應該如何包含在 Microsoft 使用者介面自動化 樹狀結構的不同檢視中。

AutomationControlType

指定公開給 Microsoft 使用者介面自動化 用戶端的控件類型。 由 GetAutomationControlType 使用。

AutomationEvents

指定專案透過相關聯 AutomationPeer 引發的事件。 RaiseAutomationEvent 使用。

AutomationHeadingLevel

定義 使用者介面自動化 項目的標題層級。

AutomationLandmarkType

定義專案的自動化地標類型。

AutomationLiveSetting

描述應用程式 UI 中特定實時區域的通知特性。 由 GetLiveSettingAutomationProperties.LiveSetting 使用。

AutomationNavigationDirection

定義 Microsoft 使用者介面自動化 樹狀結構內導覽的方向。

AutomationNotificationKind

指出呼叫 RaiseNotificationEvent 時的通知類型

AutomationNotificationProcessing

指定所要處理通知的順序。

AutomationOrientation

指定控件可呈現的方向方向。 GetOrientation 會使用值。

AutomationStructureChangeType

定義 Microsoft 使用者介面自動化 樹狀結構中的變更類型。

PatternInterface

指定 GetPattern 方法傳回的控制項模式。

範例

WinUI 3 資源庫應用程式包含大部分 WinUI 3 控制件、特性和功能的互動式範例。 從 Microsoft Store 取得應用程式,或在 GitHub 上取得原始程式碼。

備註

WinUI 控制件和其他 UI 元素會實作 使用者介面自動化 支援來報告角色和值。 您可以使用 使用者介面自動化 工具來檢查角色和值資訊,也可以檢閱每個控件的 AutomationPeer 實作。 UI 自動化架構可用的角色定義在 AutomationControlType 列舉中。 使用者介面自動化 用戶端,例如輔助技術,可以藉由呼叫 使用者介面自動化 架構透過控件的 AutomationPeer 公開的方法來取得角色資訊。

另請參閱