Udostępnij za pośrednictwem


Grid.IGridList<T> Interface

Definition

List interface with overloads for adding elements to a grid.

public interface Grid.IGridList<T> : System.Collections.Generic.ICollection<T>, System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T> where T : View
type Grid.IGridList<'T (requires 'T :> View)> = interface
    interface IList<'T (requires 'T :> View)>
    interface ICollection<'T (requires 'T :> View)>
    interface seq<'T (requires 'T :> View)>
    interface IEnumerable

Type Parameters

T

The type of elements in the grid.

Implements
System.Collections.Generic.ICollection<T> System.Collections.Generic.IEnumerable<T> System.Collections.Generic.IList<T> System.Collections.IEnumerable

Methods

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.

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.

AddVertical(IEnumerable<View>)

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

AddVertical(View)

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

Extension Methods

ForEach<T>(IEnumerable<T>, Action<T>)

For internal use by the Xamarin.Forms platform.

GroupToDictionary<TSource,TKey>(IEnumerable<TSource>, Func<TSource,TKey>)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

IndexOf<T>(IEnumerable<T>, Func<T,Boolean>)

For internal use by the Xamarin.Forms platform.

Prepend<T>(IEnumerable<T>, T)

For internal use by the Xamarin.Forms platform.

Applies to