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

DXFolderBrowserDialog.Description Property

Gets or sets the description that is displayed above the folder hierarchy.

Namespace: DevExpress.Xpf.Dialogs

Assembly: DevExpress.Xpf.Dialogs.v24.2.dll

NuGet Package: DevExpress.Wpf.Dialogs

#Declaration

public string Description { get; set; }

#Property Value

Type Description
String

A String value that is the description displayed above the folder hierarchy.

#Remarks

Use the Description property to provide a description displayed above folders.

private void button_Click(object sender, RoutedEventArgs e) {
    var fileDialog = new DXFolderBrowserDialog();
    fileDialog.Description = "Select the folder you want to open:";
    fileDialog.ShowNewFolderButton = false;
    fileDialog.ShowDialog();
}

The image below illustrates the result.

DXFolderBrowserDialog.png

See Also