다음을 통해 공유


PlatformBehavior<TView,TPlatformView>.OnAttachedTo 메서드

정의

오버로드

OnAttachedTo(BindableObject)

애플리케이션 개발자는 bindable과 연결되는 동작을 구현하도록 이 메서드를 재정의합니다.

OnAttachedTo(TView)

애플리케이션 개발자는 bindable과 연결되는 동작을 구현하도록 이 메서드를 재정의합니다.

OnAttachedTo(TView, TPlatformView)

이 메서드는 바인딩 가능한 플랫폼 뷰 계층 구조에 연결 될 때 호출 됩니다.

OnAttachedTo(BindableObject)

애플리케이션 개발자는 bindable과 연결되는 동작을 구현하도록 이 메서드를 재정의합니다.

protected:
 override void OnAttachedTo(Microsoft::Maui::Controls::BindableObject ^ bindable);
protected override sealed void OnAttachedTo (Microsoft.Maui.Controls.BindableObject bindable);
override this.OnAttachedTo : Microsoft.Maui.Controls.BindableObject -> unit
Protected Overrides NotOverridable Sub OnAttachedTo (bindable As BindableObject)

매개 변수

bindable
BindableObject

동작이 연결된 바인딩 가능 개체입니다.

적용 대상

OnAttachedTo(TView)

애플리케이션 개발자는 bindable과 연결되는 동작을 구현하도록 이 메서드를 재정의합니다.

protected:
 override void OnAttachedTo(TView bindable);
protected override sealed void OnAttachedTo (TView bindable);
override this.OnAttachedTo : 'View -> unit
Protected Overrides NotOverridable Sub OnAttachedTo (bindable As TView)

매개 변수

bindable
TView

동작이 연결된 바인딩 가능 개체입니다.

적용 대상

OnAttachedTo(TView, TPlatformView)

이 메서드는 바인딩 가능한 플랫폼 뷰 계층 구조에 연결 될 때 호출 됩니다.

protected:
 virtual void OnAttachedTo(TView bindable, TPlatformView platformView);
protected virtual void OnAttachedTo (TView bindable, TPlatformView platformView);
override this.OnAttachedTo : 'View * 'PlatformView -> unit
Protected Overridable Sub OnAttachedTo (bindable As TView, platformView As TPlatformView)

매개 변수

bindable
TView

동작이 연결된 바인딩 가능 개체입니다.

platformView
TPlatformView

바인딩 가능한 개체에 연결된 플랫폼 컨트롤입니다.

적용 대상