Grid.IGridList<T>.Add Grid.IGridList<T>.Add Method

Definition

Overloads

Add(View, Int32, Int32) Add(View, Int32, Int32)

Adds a view to the List at the specified location with a RowSpan and HeightSpan of 1.

Add(View, Int32, Int32, Int32, Int32) Add(View, Int32, Int32, Int32, Int32)

Adds a view to the List at the specified row and column spans.

Add(View, Int32, Int32) Add(View, Int32, Int32)

Adds a view to the List at the specified location with a RowSpan and HeightSpan of 1.

public void Add (Xamarin.Forms.View view, int left, int top);
abstract member Add : Xamarin.Forms.View * int * int -> unit

Parameters

view
View View

The view to add.

left
Int32 Int32

The column to add the view to.

top
Int32 Int32

The row to add the view to.

Add(View, Int32, Int32, Int32, Int32) Add(View, Int32, Int32, Int32, Int32)

Adds a view to the List at the specified row and column spans.

public void Add (Xamarin.Forms.View view, int left, int right, int top, int bottom);
abstract member Add : Xamarin.Forms.View * int * int * int * int -> unit

Parameters

view
View View

The view to add.

left
Int32 Int32

The left edge of the column span. Must be greater than or equal to 0.

right
Int32 Int32

The right edge of the column span. Must be greater than left. The view won't occupy this column, but will stop just before it.

top
Int32 Int32

The top edge of the row span. Must be greater than or equal to 0.

bottom
Int32 Int32

The bottom edge of the row span. Must be greater than top.

Applies to