Xamarin.Forms.MultiPage<T>.Children Property
Gets an IList<Page> of child elements of the MultiPage.

Syntax

public IList<T> Children { get; }

Value

A IList<Page>. The default is an empty list.

Remarks

The Multipage`1.Children collection of a Xamarin.Forms.Multipage`1 contains all the children added through the public add/remove interface. Internal children will not be exposed through this collection.

The following shows the creation of a Xamarin.Forms.TabbedPage, which descends from Xamarin.Forms.Multipage`1.

C# Example

Page pageOne = CreatePageOne ();
Page pageTwo = CreatePageTwo ();

var tabbedPage = new TabbedPage {
Title = "My App",
Children = {
  pageOne,
  pageTwo
}
};
              

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0