Version

OnLayout(Boolean,Int32,Int32,Int32,Int32) Method

Called when child views should be arranged.
Syntax
protected override void OnLayout( 
   bool xchanged,
   int l,
   int t,
   int r,
   int b
)

Parameters

xchanged
This is a new size or position for this view
l
Left position, relative to parent
t
Top position, relative to parent
r
Right position, relative to parent
b
Bottom position, relative to parent
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also