UIElement.OnCreateAutomationPeer 메서드

정의

WPF(Windows Presentation Foundation)Windows Presentation Foundation (WPF) 인프라에 대해 클래스 관련 AutomationPeer 구현을 반환합니다.Returns class-specific AutomationPeer implementations for the WPF(Windows Presentation Foundation)Windows Presentation Foundation (WPF) infrastructure.

protected:
 virtual System::Windows::Automation::Peers::AutomationPeer ^ OnCreateAutomationPeer();
protected virtual System.Windows.Automation.Peers.AutomationPeer OnCreateAutomationPeer ();
abstract member OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
override this.OnCreateAutomationPeer : unit -> System.Windows.Automation.Peers.AutomationPeer
Protected Overridable Function OnCreateAutomationPeer () As AutomationPeer

반환

AutomationPeer

형식별 AutomationPeer 구현입니다.The type-specific AutomationPeer implementation.

상속자 참고

이 메서드의 구현은 일반적으로 특정 구현의 생성자를 호출 하 여 AutomationPeer 반환 값으로 반환 합니다.The implementation of this method is typically to call the constructor of a specific AutomationPeer implementation, and return it as the return value.

모든 UIElement 파생 클래스는 인프라에 고유한 특정 구현을 제공 하기 위해이 메서드를 구현 해야 합니다 AutomationPeer WPF(Windows Presentation Foundation)Windows Presentation Foundation (WPF) .All UIElement derived classes should implement this method in order to provide their own specific AutomationPeer implementations to the WPF(Windows Presentation Foundation)Windows Presentation Foundation (WPF) infrastructure. 이 패턴을 구현 하는 방법에 대 한 자세한 내용은을 참조 하십시오 AutomationPeer .For details on implementing this pattern, see AutomationPeer.

적용 대상