Catel.Services.NavigationRootService.GetApplicationRootFrame C# (CSharp) Method

GetApplicationRootFrame() protected method

Gets the application root frame.
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

Same methods

NavigationRootService::GetApplicationRootFrame ( ) : System.Windows.Controls.Frame
NavigationRootService::GetApplicationRootFrame ( ) : Microsoft.Phone.Controls.PhoneApplicationFrame