RibbonGalleryAutomationPeer 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 RibbonGallery 類型公開至使用者介面自動化。
public ref class RibbonGalleryAutomationPeer : System::Windows::Automation::Peers::ItemsControlAutomationPeer, System::Windows::Automation::Provider::ISelectionProvider
public class RibbonGalleryAutomationPeer : System.Windows.Automation.Peers.ItemsControlAutomationPeer, System.Windows.Automation.Provider.ISelectionProvider
type RibbonGalleryAutomationPeer = class
inherit ItemsControlAutomationPeer
interface ISelectionProvider
Public Class RibbonGalleryAutomationPeer
Inherits ItemsControlAutomationPeer
Implements ISelectionProvider
- 繼承
-
RibbonGalleryAutomationPeer
- 實作
建構函式
RibbonGalleryAutomationPeer(RibbonGallery) |
初始化 RibbonGalleryAutomationPeer 類別的新執行個體。 |
屬性
Dispatcher |
取得與這個 Dispatcher 關聯的 DispatcherObject。 (繼承來源 DispatcherObject) |
EventsSource |
取得或設定 AutomationPeer,其報告至自動化用戶端,作為所有來自此 AutomationPeer 的事件來源。 (繼承來源 AutomationPeer) |
IsHwndHost |
取得值,這個值表示是否與 WPF Windows Presentation Foundation (中這個 AutomationPeer 主機 |
IsVirtualized |
取得值,指出針對未模擬化的子系項目,ItemsControlAutomationPeer 是否應該傳回 AutomationPeer 物件。 (繼承來源 ItemsControlAutomationPeer) |
Owner |
取得與 UIElementAutomationPeer 相關聯的 UIElement。 (繼承來源 UIElementAutomationPeer) |
方法
明確介面實作
IItemContainerProvider.FindItemByProperty(IRawElementProviderSimple, Int32, Object) |
依指定的屬性值擷取項目。 (繼承來源 ItemsControlAutomationPeer) |
ISelectionProvider.CanSelectMultiple |
取得值,指定使用者介面自動化提供者是否需要至少選取一個子項目。 |
ISelectionProvider.GetSelection() |
擷取每個子項目所選取的 UI 自動化提供者。 |
ISelectionProvider.IsSelectionRequired |
取得值,指定使用者介面自動化提供者是否需要至少選取一個子項目。 |
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應