wpf-devexpress-dot-xpf-dot-dialogs-dot-dxfolderbrowserdialog-fdfc2542.md
Gets or sets the description that is displayed above the folder hierarchy.
Namespace : DevExpress.Xpf.Dialogs
Assembly : DevExpress.Xpf.Dialogs.v25.2.dll
NuGet Package : DevExpress.Wpf.Dialogs
public string Description { get; set; }
Public Property Description As String
| Type | Description |
|---|---|
| String |
A String value that is the description displayed above the folder hierarchy.
|
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();
}
Private Sub button_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
Dim fileDialog = New DXFolderBrowserDialog()
fileDialog.Description = "Select the folder you want to open:"
fileDialog.ShowNewFolderButton = False
fileDialog.ShowDialog()
End Sub
The image below illustrates the result.
See Also