Skip to main content

XtraFolderBrowserDialog.RootFolder Property

Gets or sets the root folder from which the navigation starts. Note that this property is in effect only when a XtraFolderBrowserDialog.DialogStyle property set to Compact, wide dialogs always start with the root “Desktop” folder.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraDialogs.v23.2.dll

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

Declaration

[DefaultValue(Environment.SpecialFolder.Desktop)]
[DXCategory("Behavior")]
public Environment.SpecialFolder RootFolder { get; set; }

Property Value

Type Default Description
Environment.SpecialFolder Desktop

A Environment.SpecialFolder object that specifies the folder from which the navigation starts.

Remarks

Refer to this MSDN article to learn more.

See Also