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