Skip to main content

DXFolderBrowserDialog.Description Property

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

Namespace: DevExpress.Xpf.Dialogs

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

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