Back to Devexpress

DXFolderBrowserDialog.Description Property

wpf-devexpress-dot-xpf-dot-dialogs-dot-dxfolderbrowserdialog-fdfc2542.md

latest2.0 KB
Original Source

DXFolderBrowserDialog.Description Property

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

Declaration

csharp
public string Description { get; set; }
vb
Public Property Description As String

Property Value

TypeDescription
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.

csharp
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();
}
vb
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

DXFolderBrowserDialog Class

DXFolderBrowserDialog Members

DevExpress.Xpf.Dialogs Namespace