Application.MainPage Property

Definition

Gets or sets the root page of the application.

public Xamarin.Forms.Page MainPage { get; set; }
member this.MainPage : Xamarin.Forms.Page with get, set

Property Value

Page

The root page of the application.

Remarks

This property throws an exception if the application developer attempts to set it to null.

Applies to