Skip to main content
A newer version of this page is available. .

XtraFolderBrowserDialog.SelectedPath Property

Gets or sets the selected path.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraDialogs.v22.1.dll

NuGet Package: DevExpress.Win.Dialogs

Declaration

[DefaultValue("")]
[DXCategory("Data")]
public string SelectedPath { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the selected path.

Remarks

If the XtraFolderBrowserDialog.Multiselect property is enabled, a user can select multiple folders. In this case, use the XtraFolderBrowserDialog.SelectedPaths property to identify the selected folders. The SelectedPath property returns the first selected folder.

Refer to the following MSDN article for more information: FolderBrowserDialog.SelectedPath.

See Also