Back to Devexpress

IFolderBrowserDialogService.ResultPath Property

corelibraries-devexpress-dot-mvvm-dot-ifolderbrowserdialogservice-852bbf2f.md

latest2.6 KB
Original Source

IFolderBrowserDialogService.ResultPath Property

Gets or sets the path of the selected directory.

Namespace : DevExpress.Mvvm

Assembly : DevExpress.Mvvm.v25.2.dll

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

Declaration

csharp
string ResultPath { get; }
vb
ReadOnly Property ResultPath As String

Property Value

TypeDescription
String

A Systems.String value specifying the path of the selected directory. The default is an empty string.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ResultPath property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

how-to-use-wpf-folderbrowserdialogservice/CS/FolderBrowserDialogServiceSample/FolderBrowserDialogViewModel.cs#L17

csharp
if (FolderBrowserDialogService.ShowDialog())
        ResultPath = FolderBrowserDialogService.ResultPath;
}

how-to-use-wpf-folderbrowserdialogservice/VB/FolderBrowserDialogServiceSample/FolderBrowserDialogViewModel.vb#L51

vb
Public Sub ShowDialog()
    If FolderBrowserDialogService.ShowDialog() Then ResultPath = FolderBrowserDialogService.ResultPath
End Sub

See Also

IFolderBrowserDialogService Interface

IFolderBrowserDialogService Members

DevExpress.Mvvm Namespace