Android.Views.View.ViewTreeObserver Property
Returns the ViewTreeObserver for this view's hierarchy.

Syntax

[get: Android.Runtime.Register("getViewTreeObserver", "()Landroid/view/ViewTreeObserver;", "GetGetViewTreeObserverHandler")]
public virtual ViewTreeObserver ViewTreeObserver { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns the ViewTreeObserver for this view's hierarchy. The view tree observer can be used to get notifications when global events, like layout, happen. The returned ViewTreeObserver observer is not guaranteed to remain valid for the lifetime of this View. If the caller of this method keeps a long-lived reference to ViewTreeObserver, it should always check for the return value of ViewTreeObserver.IsAlive.

[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