Method AnchorEnd
AnchorEnd(int)
Creates a Pos object that is anchored to the end (right side or bottom) of the dimension, useful to flush the layout from the right or bottom.
public static Pos AnchorEnd(int margin = 0)
Parameters
margin
intOptional margin to place to the right or below.
Returns
Examples
This sample shows how align a Button to the bottom-right of a View.
// See Issue #502
anchorButton.X = Pos.AnchorEnd () - (Pos.Right (anchorButton) - Pos.Left (anchorButton));
anchorButton.Y = Pos.AnchorEnd (1);