AbsoluteLayout.IAbsoluteList<T>.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(View, Point) |
Adds a view to the list at the specified location with automatic sizing. |
Add(View, Rectangle, AbsoluteLayoutFlags) |
Adds a view to the list with the specified bounds and flags. |
Add(View, Point)
Adds a view to the list at the specified location with automatic sizing.
public void Add (Xamarin.Forms.View view, Xamarin.Forms.Point position);
abstract member Add : Xamarin.Forms.View * Xamarin.Forms.Point -> unit
Parameters
- view
- View
The view to add.
- position
- Point
The location at which to position the view.
Applies to
Add(View, Rectangle, AbsoluteLayoutFlags)
Adds a view to the list with the specified bounds and flags.
public void Add (Xamarin.Forms.View view, Xamarin.Forms.Rectangle bounds, Xamarin.Forms.AbsoluteLayoutFlags flags = Xamarin.Forms.AbsoluteLayoutFlags.None);
abstract member Add : Xamarin.Forms.View * Xamarin.Forms.Rectangle * Xamarin.Forms.AbsoluteLayoutFlags -> unit
Parameters
- view
- View
The view to add.
- bounds
- Rectangle
The bounds to layout the view with.
- flags
- AbsoluteLayoutFlags
The flags to interpret bounds with.