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

连接到可绑定对象的平台控件。

适用于