Application.MainPage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The root page of the application.
Remarks
This property throws an exception if the application developer attempts to set it to null
.