共用方式為


PlatformBehavior<TView,TPlatformView>.OnDetachedFrom 方法

定義

從平臺檢視階層卸離可系結時,會呼叫這個方法。

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

參數

bindable
TView

附加行為的目標可繫結物件。

platformView
TPlatformView

連接到可系結物件的平臺控制項。

適用於