RibbonMenuButtonAutomationPeer.GetPattern(PatternInterface) 메서드

정의

RibbonMenuButtonAutomationPeer와 연결된 RibbonMenuButton의 컨트롤 패턴을 가져옵니다.Gets the control pattern for the RibbonMenuButton that is associated with the RibbonMenuButtonAutomationPeer.

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

매개 변수

patternInterface
PatternInterface

컨트롤 패턴을 지정하는 열거형 값입니다.A value enumeration that specifies the control pattern.

반환

patternInterfaceExpandCollapse, Scroll, Transform, ItemContainer 또는 SynchronizedInput 값이면 컨트롤을 지원하는 개체이고, 그렇지 않으면 null입니다.An object that supports the control pattern if patternInterface is the ExpandCollapse, Scroll, Transform, ItemContainer, or SynchronizedInput value; otherwise, null.

적용 대상