Android.Views.View.OnLayout Method
Called from layout when this view should assign a size and position to each of its children.

Syntax

[Android.Runtime.Register("onLayout", "(ZIIII)V", "GetOnLayout_ZIIIIHandler")]
protected virtual void OnLayout (bool changed, int left, int top, int right, int bottom)

Parameters

changed
This is a new size or position for this view
left
Left position, relative to parent
top
Top position, relative to parent
right
Right position, relative to parent
bottom
Bottom position, relative to parent

Remarks

Called from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children.

[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