BetterExplorer.MainWindow.backstage_IsOpenChanged C# (CSharp) Method

backstage_IsOpenChanged() private method

private backstage_IsOpenChanged ( object sender, DependencyPropertyChangedEventArgs e ) : void
sender object
e DependencyPropertyChangedEventArgs
return void
    private void backstage_IsOpenChanged(object sender, DependencyPropertyChangedEventArgs e) {
      if (((Boolean)e.NewValue)) {
        this._ShellListView.IsFocusAllowed = false;
        backstage.Focus();
      } else {
        this._ShellListView.IsFocusAllowed = true;
      }
      this.autoUpdater.Visibility = Visibility.Visible;
      autoUpdater.UpdateLayout();

      if (KeepBackstageOpen) {
        backstage.IsOpen = true;
        KeepBackstageOpen = false;
      }
    }
MainWindow