RibbonMenuButtonAutomationPeer.IExpandCollapseProvider.Expand 方法

定義

顯示與這個 RibbonMenuButton 相關聯之 RibbonMenuButtonAutomationPeer 中的所有項目。

 virtual void System.Windows.Automation.Provider.IExpandCollapseProvider.Expand() = System::Windows::Automation::Provider::IExpandCollapseProvider::Expand;
void IExpandCollapseProvider.Expand ();
abstract member System.Windows.Automation.Provider.IExpandCollapseProvider.Expand : unit -> unit
override this.System.Windows.Automation.Provider.IExpandCollapseProvider.Expand : unit -> unit
Sub Expand () Implements IExpandCollapseProvider.Expand

實作

例外狀況

RibbonMenuButton 不包含任何項目。

備註

這個成員是明確介面成員實作, 只有在 RibbonMenuButtonAutomationPeer 執行個體轉換成 IExpandCollapseProvider 介面時,才能使用這個成員。

適用於