Android Guides | Samples

Android.Views.View.OnDetachedFromWindow Method

This is called when the view is detached from a window.

Syntax

[Android.Runtime.Register("onDetachedFromWindow", "()V", "GetOnDetachedFromWindowHandler")]
protected virtual Void OnDetachedFromWindow ()

See Also

Remarks

This is called when the view is detached from a window. At this point it no longer has a surface for drawing.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1