in AppInstallerFileBuilder/AppInstallerFileBuilder/AppShell.xaml.cs [96:135]
public AppShell()
{
this.InitializeComponent();
_appVersion = (TextBlock)this.FindName("appVersion");
this.Loaded += (sender, args) =>
{
Current = this;
this.CheckTogglePaneButtonSizeChanged();
var titleBar = CoreApplication.GetCurrentView().TitleBar;
ApplicationViewTitleBar formattableTitleBar = ApplicationView.GetForCurrentView().TitleBar;
formattableTitleBar.ButtonBackgroundColor = Windows.UI.Colors.Transparent;
CoreApplicationViewTitleBar coreTitleBar = CoreApplication.GetCurrentView().TitleBar;
coreTitleBar.ExtendViewIntoTitleBar = true;
ApplicationView.PreferredLaunchViewSize = new Size(1000, 750);
ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.PreferredLaunchViewSize;
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().AppViewBackButtonVisibility = AppViewBackButtonVisibility.Collapsed;
NavMenuList.ItemsSource = navlist;
NavMenuList2.ItemsSource = navlist2;
NavMenuList3.ItemsSource = navlist3;
}