RibbonContextualTabGroupItemsControlAutomationPeer.GetPattern 方法

定义

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

参数

patternInterface
PatternInterface

指定控件模式的值枚举。

返回

Object

支持该控件模式的对象,如果 patternInterface is the ItemContainer or SynchronizedInput 值; 否则为 null

适用于