SnapDotNet.Apps.App.RootFrame_FirstNavigated C# (CSharp) Method

RootFrame_FirstNavigated() private method

Restores the content transitions after the app has launched.
private RootFrame_FirstNavigated ( object sender, NavigationEventArgs e ) : void
sender object The object where the handler is attached.
e Windows.UI.Xaml.Navigation.NavigationEventArgs Details about the navigation event.
return void
		private void RootFrame_FirstNavigated(object sender, NavigationEventArgs e)
		{
			var rootFrame = sender as Frame;
			if (rootFrame == null) return;

			rootFrame.ContentTransitions = _transitions ?? new TransitionCollection {new NavigationThemeTransition()};
			rootFrame.Navigated -= RootFrame_FirstNavigated;
		}
#endif