MainPage Property

Com.MarcusTS.LifecycleAware

AppWithLifecycle..::..MainPage Property

Gets or sets the root page of the application.

Namespace:  Com.MarcusTS.LifecycleAware.Views.App
Assembly:  Com.MarcusTS.LifecycleAware (in Com.MarcusTS.LifecycleAware.dll)

Syntax


public Page MainPage { get; set; }
Public Property MainPage As Page
	Get
	Set
public:
property Page^ MainPage {
	Page^ get ();
	void set (Page^ value);
}

Field Value

The root page of the application.

Remarks


This property throws an exception if the application developer attempts to set it to nullNothingnullptra null reference (Nothing in Visual Basic).