Skip to main content

XtraFolderBrowserDialog.SelectedPath Property

Gets or sets the selected path.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraDialogs.v24.1.dll

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

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