Click or drag to resize

JamBaseShellListViewSelectedFiles Property

This property provides access to a list of all files including their extension, which are currently selected in the ShellListView. Dependent on the user settings, the file names in the ListView may be displayed without extension, which makes it difficult to further process them when they are accessed only by the SelectedItems property. You can also use the SelectedFiles property to add files to the selection by using SelectedFiles.Add method.

Namespace:  Jam.Shell
Assembly:  ShellBrowser (in ShellBrowser.dll) Version: 7.1
public PathCollection SelectedFiles { get; }

Property Value

Type: PathCollection
The selected files.
For some derived classes this list might contain whole paths instead of filenames only.

Avoid accessing this property frequently, in e.g. ItemSelectionChanged while a selection of many files takes place. In case of a ShellListView, you can use the SelectionChanged event instead.

See Also