Class SharpFolderBrowserDialogWpf
A folder browser dialog for WPF.
Inherited Members
Namespace: SharpDialogs.Wpf
Assembly: SharpDialogs.Wpf.dll
Syntax
public static class SharpFolderBrowserDialogWpf
Methods
| Edit this page View SourceShowMultiSelect(Window?, string?, string?)
Shows a dialog to select multiple folders.
Declaration
public static IReadOnlyList<string>? ShowMultiSelect(Window? owner, string? title = null, string? initialDirectory = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Window | owner | The owner window. |
| string | title | The title of the dialog. |
| string | initialDirectory | The initial directory. |
Returns
| Type | Description |
|---|---|
| IReadOnlyList<string> | Returns the selected folders. |
ShowSingleSelect(Window?, string?, string?)
Shows a dialog to select a single folder.
Declaration
public static string? ShowSingleSelect(Window? owner, string? title = null, string? initialDirectory = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Window | owner | The owner window. |
| string | title | The title of the dialog. |
| string | initialDirectory | The initial directory. |
Returns
| Type | Description |
|---|---|
| string | Returns the selected folder. |