using System; using StrixMusic.Sdk.Services.Navigation; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; namespace StrixMusic.Shared { /// /// Helpers related to Window.Current. /// public static class CurrentWindow { /// /// Gets the instance in the current window. /// /// The current . public static AppFrame GetAppFrame(this Window window) => (AppFrame)window.Content; /// /// Gets the app-level navigation service. /// /// A if found, otherwise . [Obsolete] public static INavigationService NavigationService { get; } = new NavigationService(); } }