共用方式為


Grid.Children Property

Definition

Gets the collection of child elements of the Grid.

public Xamarin.Forms.Grid.IGridList<Xamarin.Forms.View> Children { get; }
member this.Children : Xamarin.Forms.Grid.IGridList<Xamarin.Forms.View>

Property Value

The collection of child elements.

Remarks

Application developers can use implicit collection syntax in XAML to add items to this collection, because this property is the ContentPropertyAttribute for the Grid class.

Applies to