Back to Devexpress

XtraFolderBrowserDialog.SelectedPaths Property

windowsforms-devexpress-dot-xtraeditors-dot-xtrafolderbrowserdialog-a80e46ec.md

latest1.8 KB
Original Source

XtraFolderBrowserDialog.SelectedPaths Property

Gets the paths of the folders that a user has selected.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraDialogs.v25.2.dll

NuGet Packages : DevExpress.Win.Dialogs, DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Data")]
[Browsable(false)]
public string[] SelectedPaths { get; }
vb
<DXCategory("Data")>
<Browsable(False)>
Public ReadOnly Property SelectedPaths As String()

Property Value

TypeDescription
String[]

An array of the folder paths that a user selected.

|

Remarks

Enable the XtraFolderBrowserDialog.Multiselect option to allow a user to use the Ctrl and Shift keys to select multiple folders.

If the XtraFolderBrowserDialog.Multiselect property is disabled, you can use either the XtraFolderBrowserDialog.SelectedPath or SelectedPaths property to identify the selected path.

See Also

XtraFolderBrowserDialog Class

XtraFolderBrowserDialog Members

DevExpress.XtraEditors Namespace