Ejemplo n.º 1
0
        private void SetTitleBarString(string text)
        {
            try {
                var appView = Windows.UI.ViewManagement.ApplicationView.GetForCurrentView();
                if (appView == null)
                {
                    return;
                }

                var storeType = _tileStore?.DisplayName() ?? "No file loaded";
                appView.Title = $"Slick {GetAppVersion()} - {text} - {storeType}";
            }
            catch {
                // ignore
            }
        }