BetterExplorer.MainWindow.chkExtensions_Checked C# (CSharp) Method

chkExtensions_Checked() private method

private chkExtensions_Checked ( object sender, RoutedEventArgs e ) : void
sender object
e RoutedEventArgs
return void
    private void chkExtensions_Checked(object sender, RoutedEventArgs e) {
      if (_IsCalledFromLoading) return;
      Dispatcher.BeginInvoke(new Action(
                      delegate () {
                        var state = new BExplorer.Shell.Interop.Shell32.SHELLSTATE();
                        state.fShowExtensions = 1;
                        BExplorer.Shell.Interop.Shell32.SHGetSetSettings(ref state, BExplorer.Shell.Interop.Shell32.SSF.SSF_SHOWEXTENSIONS, true);
                        this._ShellListView.IsFileExtensionShown = true;
                        _ShellListView.RefreshContents();
                      }
      ));
    }
MainWindow