Android.Views.View.OnAttachedToWindow Method
This is called when the view is attached to a window.

Syntax

[Android.Runtime.Register("onAttachedToWindow", "()V", "GetOnAttachedToWindowHandler")]
protected virtual void OnAttachedToWindow ()

See Also

View.OnDetachedFromWindow

Remarks

This is called when the view is attached to a window. At this point it has a Surface and will start drawing. Note that this function is guaranteed to be called before View.OnDraw(Android.Graphics.Canvas), however it may be called any time before the first onDraw -- including before or after View.OnMeasure(int, System.Int32).

[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