protected GetApplicationRootFrame ( ) : System.Windows.Controls.Frame | ||
return | System.Windows.Controls.Frame |
protected virtual Frame GetApplicationRootFrame()
{
if (_rootFrame == null)
{
if (Window.Current != null)
{
_rootFrame = Window.Current.Content as Frame;
}
}
return _rootFrame as Frame;
}
#elif WINDOWS_PHONE
NavigationRootService::GetApplicationRootFrame ( ) : System.Windows.Controls.Frame | |
NavigationRootService::GetApplicationRootFrame ( ) : Microsoft.Phone.Controls.PhoneApplicationFrame |