What is New in ShellBrowser .NET?

Version 7.1

Improvements

  • The ShellListView now passes the FocusedItem rather than the first selected item to controls linked using a ShellControlConnector. Thus, when the user expands the selection, using Shift, an attached preview will display the last selected element, instead of keeping the first.

  • A new "SelectionChanged" event has been added for the ShellListView. It is triggered by a timer, and will therefore only be called once, after one or more items were selected or deselected. It can be used, if rather expensive operations need to take place after the selection has changed.

  • A new "BeforeShowContextMenu" event has been added to the ShellListView, FileList, and ShellTreeView. It passes the selected list items or tree nodes and offers the option to stop the menu from showing. It can also be used to modify an additional context menu that is set in the "ContextMenuStrip" property of the respective control. Specifically, it allows you to set the "Visible", "Checked" or "Enabled" properties of single menu items contained in the custom menu. Note, that it is not possible to modify the shell menu items provided by Windows.

  • Instead of using the “Filter” property, the ShellListView now also provides a “FilterRegularExpression” property, that you can use to set a “System.Text.RegularExpressions.Regex” object, if you need more options than the Filter provides. Note, that the new property is not available in the designer, so you need to set it in code.

  • The “ReadOnly” property of the FileList has been improved. If “true”, no actions affecting the file system, like deleting or renaming, can be executed. Instead, deleting an element only removes it from the list.

Bugfixes

  • When a ShellFilePreview was created at runtime, the "AutomaticRefresh" property was activated for a short time during the creation of the component, even if this was neither intended nor needed. This is now avoided, as it could lead to problems and freezes in individual cases.

  • The handling of PDF files using the “PDF-XChange” preview handler has been fixed in the ShellFilePreview. A problem, where selecting a node in the "Start" folder of the ShellTreeView has jumped to the wrong node, has been fixed.

  • The "NavigationFailed" event should now be called reliably. In prior versions, the event could have been missing, depending on the user action and configuration of the ShellListView.

  • The performance of selecting many files using Ctrl-A has been improved. Also, copying or moving a substantial amount of files to the Clipboard using "Ctrl-C" or “Ctrl-X” now works much faster. This affects the FileList and ShellListView.

  • The “OperationPerformed” event in the ShellListView and ShellTreeView is now called for elements pasted from Outlook (messages or attachments), too.

  • The ShellListView should now be refreshed correctly when dropping or pasting a message or an attachment from Outlook to a folder. This now works, even if the “AutomaticRefresh” property of the ShellListView is not set.

  • A problem that occurred with the runtime creation of a ShellTreeView instance has been fixed. In previous versions, the “SelectedPath” property was not applied correctly, if the “RootedAt” property was also modified in construction code.

24.04.2024