See Also: Layout<T> Members
- T
- The subclass of Xamarin.Forms.View the layout contains.
Xamarin.Forms.Layout`1s contain Layout`1.Children that are of the type T with which the Xamarin.Forms.Layout`1 was specified. This T must be of type Xamarin.Forms.View. Since Xamarin.Forms.Layouts are subclasses of Xamarin.Forms.View, this means that layouts may be nested, contain scrolling regions, etc.
The following image shows the relationship between Xamarin.Forms.View, Xamarin.Forms.Layout, Xamarin.Forms.Layout`1, and important subtypes.

The following example shows adding and removing elements from a layout.
C# Example
void UpdateItems (Layout<View> layout, IEnumerable newItems)
{
layout.Children.Clear ();
foreach (var item in newItems) {
layout.Children.Add (item);
}
}