Example #1
0
 private void OnShownChanged(object sender, ShownArgs e)
 {
     if (!e.Shown)
     {
         Window.Current.SetTitleBar(TitleGrid);
     }
 }
Example #2
0
 private void OnShownChanged(object sender, ShownArgs e)
 {
     if (!e.Shown)
     {
         CustomTitleBar();
     }
 }
Example #3
0
 private void Control_OnShownChanged(object sender, ShownArgs e)
 {
     if (e.Shown)
     {
         _titleBarUc.Visibility = Visibility.Collapsed;
         if (_isDrawerSlided && CoreWindow.GetForCurrentThread().Bounds.Width < WIDTH_THRESHOLD)
         {
             _isDrawerSlided = false;
             ToggleDrawerAnimation(false);
             ToggleDrawerMaskAnimation(false);
         }
     }
     else
     {
         _titleBarUc.Visibility = Visibility.Visible;
         Window.Current.SetTitleBar(_titleBarUc);
     }
 }