共用方式為


Grid.IGridList<T>.AddHorizontal Method

Definition

Overloads

AddHorizontal(IEnumerable<View>)

Add a collection views to the List such that they are horizontally stacked to the right of the current contents of the Grid.

AddHorizontal(View)

Add a view to the List such that it is horizontally stacked to the right of the current contents of the Grid.

AddHorizontal(IEnumerable<View>)

Add a collection views to the List such that they are horizontally stacked to the right of the current contents of the Grid.

public void AddHorizontal (System.Collections.Generic.IEnumerable<Xamarin.Forms.View> views);
abstract member AddHorizontal : seq<Xamarin.Forms.View> -> unit

Parameters

views
System.Collections.Generic.IEnumerable<View>

The views to add.

Remarks

The final span of each view is defined to be the height of the grid at the add time, and one column wide at the end of the current arrangement.

Applies to

AddHorizontal(View)

Add a view to the List such that it is horizontally stacked to the right of the current contents of the Grid.

public void AddHorizontal (Xamarin.Forms.View view);
abstract member AddHorizontal : Xamarin.Forms.View -> unit

Parameters

view
View

The view to add.

Remarks

The final span of the view is defined to be the height of the grid at the add time, and one column wide at the end of the current arrangement.

Applies to