Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraFolderBrowserDialog.SelectedPath Property

Gets or sets the selected path.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraDialogs.v24.2.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