in TpmRcDecoder/TpmRcDecoder.Universal/AppShell.xaml.cs [59:86]
public AppShell()
{
this.InitializeComponent();
this.Loaded += (sender, args) =>
{
Current = this;
this.CheckTogglePaneButtonSizeChanged();
var titleBar = Windows.ApplicationModel.Core.CoreApplication.GetCurrentView().TitleBar;
titleBar.IsVisibleChanged += TitleBar_IsVisibleChanged;
};
this.RootSplitView.RegisterPropertyChangedCallback(
SplitView.DisplayModeProperty,
(s, a) =>
{
// Ensure that we update the reported size of the TogglePaneButton when the SplitView's
// DisplayMode changes.
this.CheckTogglePaneButtonSizeChanged();
});
SystemNavigationManager.GetForCurrentView().BackRequested += SystemNavigationManager_BackRequested;
SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Visible;
NavMenuList.ItemsSource = navlist;
}