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
Syntax public PathCollection SelectedFiles { get; }
Public ReadOnly Property SelectedFiles As PathCollection
Get
public:
property PathCollection^ SelectedFiles {
PathCollection^ get ();
}
member SelectedFiles : PathCollection with get
Property Value
Type:
PathCollectionThe selected files.
Remarks
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