Udostępnij za pośrednictwem


RibbonGroupDataAutomationPeer.GetPattern(PatternInterface) Metoda

Definicja

Pobiera wzorzec sterowania dla RibbonGroup elementu, który jest skojarzony z elementem RibbonGroupDataAutomationPeer.

public:
 override System::Object ^ GetPattern(System::Windows::Automation::Peers::PatternInterface patternInterface);
public override object GetPattern (System.Windows.Automation.Peers.PatternInterface patternInterface);
override this.GetPattern : System.Windows.Automation.Peers.PatternInterface -> obj
Public Overrides Function GetPattern (patternInterface As PatternInterface) As Object

Parametry

patternInterface
PatternInterface

Wyliczenie wartości określające wzorzec kontrolki.

Zwraca

Object

Obiekt, który obsługuje wzorzec kontrolki, jeśli patternInterface jest wartością ExpandCollapse, ItemContainer, ScrollItemlub SynchronizedInput ; nullw przeciwnym razie .

Dotyczy