Udostępnij przez


RibbonMenuItemDataAutomationPeer.IExpandCollapseProvider.Expand Metoda

Definicja

Wyświetla wszystkie elementy, które znajdują się w RibbonMenuItem obiekcie skojarzonym z tym RibbonMenuItemDataAutomationPeerelementem .

 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

Implementuje

Wyjątki

Element RibbonMenuItem nie jest włączony.

Element RibbonMenuItem jest zwirtualizowany.

Element RibbonMenuItem nie zawiera żadnych elementów.

-lub-

Element RibbonMenuItem jest niedostępny.

Uwagi

Ten element jest jawną implementacją członków. Można go używać tylko wtedy, gdy RibbonMenuItemDataAutomationPeer wystąpienie jest rzutowanie do interfejsu IExpandCollapseProvider .

Dotyczy