ExpanderAutomationPeer.GetPattern(PatternInterface) 메서드

정의

ExpanderAutomationPeer와 연결된 Expander의 컨트롤 패턴을 가져옵니다.

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

매개 변수

pattern
PatternInterface

열거형 값 중 하나입니다.

반환

Object

patternExpandCollapse이면 이 메서드에서 현재 ExpanderAutomationPeer 인스턴스의 참조를 반환하고, 그러지 않으면 이 메서드가 UIElementAutomationPeer에서 기본 구현을 호출하여 null을 반환합니다.

적용 대상