AppTemplate.ViewModels.Common.PageViewModel.SetPageFrame C# (CSharp) Method

SetPageFrame() public method

Sets the navigation page frame.
/// Thrown if any parameter is null. ///
public SetPageFrame ( Frame frame ) : void
frame Windows.UI.Xaml.Controls.Frame /// The frame to set as the navigation frame. ///
return void
        public void SetPageFrame(Frame frame)
        {
            if (frame == null) throw new ArgumentNullException(nameof(frame));

            this.NavigationService.SetNavigationFrame(frame);
        }