Freigeben über


Grid.IGridList<T>.Add Method

Definition

Overloads

Add(View, Int32, Int32)

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

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

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

Add(View, Int32, Int32)

Adds a view to the List at the specified location with a RowSpan of 1 and a ColumnSpan 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

The view to add.

left
System.Int32

The column to add the view to.

top
System.Int32

The row to add the view to.

Applies to

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

The view to add.

left
System.Int32

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

right
System.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
System.Int32

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

bottom
System.Int32

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

Applies to