UIElement3D.AddToEventRoute(EventRoute, RoutedEventArgs) 메서드

정의

현재 EventRoute 이벤트 처리기 컬렉션에 대해 지정된 UIElement3D에 처리기를 추가합니다.

public:
 void AddToEventRoute(System::Windows::EventRoute ^ route, System::Windows::RoutedEventArgs ^ e);
public void AddToEventRoute (System.Windows.EventRoute route, System.Windows.RoutedEventArgs e);
member this.AddToEventRoute : System.Windows.EventRoute * System.Windows.RoutedEventArgs -> unit
Public Sub AddToEventRoute (route As EventRoute, e As RoutedEventArgs)

매개 변수

route
EventRoute

처리기가 추가되는 이벤트 경로입니다.

e
RoutedEventArgs

처리기를 추가하는 데 사용되는 이벤트 데이터입니다. 이 메서드는 이벤트 데이터의 RoutedEvent 속성을 사용하여 처리기를 만듭니다.

설명

이 메서드는 콘텐츠 호스트 요소(구현하는 요소 또는 구현 IContentHost 하지 않는 요소)에서 자식 요소 EventRoute에 대한 처리기를 추가하는 데 사용할 수 있습니다.

AddToEventRoute .NET Framework 버전 3.5에서에서 도입 되었습니다. 자세한 내용은 버전 및 종속성을 참조하세요.

적용 대상