public virtual void OnShow()
 {
     OnShownChanged?.Invoke(this, new ShownArgs()
     {
         Shown = true
     });
 }
 public virtual void OnHide()
 {
     OnShownChanged?.Invoke(this, new ShownArgs()
     {
         Shown = false
     });
 }
 public virtual void OnShow()
 {
     OnShownChanged?.Invoke(this, new ShownArgs()
     {
         Shown = true
     });
     _titleBarControl = TitleBarHelper.CustomTitleBar(this.Content);
     _titleBarControl.OnClickBackBtn += (x, e) =>
     {
         Shown = false;
     };
     //Window.Current.SetTitleBar(this);
     if (DeviceHelper.IsMobile)
     {
         StatusBarHelper.SetUpBlackStatusBar();
     }
     else
     {
         TitleBarHelper.SetUpTitleBarColorForDarkText();
     }
 }