Android.Views.ViewGroup.MeasureChildWithMargins Method
Ask one of the children of this view to measure itself, taking into account both the MeasureSpec requirements for this view and its padding and margins.

Syntax

[Android.Runtime.Register("measureChildWithMargins", "(Landroid/view/View;IIII)V", "GetMeasureChildWithMargins_Landroid_view_View_IIIIHandler")]
protected virtual void MeasureChildWithMargins (View child, int parentWidthMeasureSpec, int widthUsed, int parentHeightMeasureSpec, int heightUsed)

Parameters

child
The child to measure
parentWidthMeasureSpec
The width requirements for this view
widthUsed
Extra space that has been used up by the parent horizontally (possibly by other children of the parent)
parentHeightMeasureSpec
The height requirements for this view
heightUsed
Extra space that has been used up by the parent vertically (possibly by other children of the parent)

Remarks

Ask one of the children of this view to measure itself, taking into account both the MeasureSpec requirements for this view and its padding and margins. The child must have MarginLayoutParams The heavy lifting is done in getChildMeasureSpec.

[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