BrowseForFolder Class |
Namespace: Jam.Shell.WPF.Controls
The BrowseForFolder type exposes the following members.
Name | Description | |
---|---|---|
BrowseForFolder | Initializes a new instance of the BrowseForFolder class |
Name | Description | |
---|---|---|
FileSystemOnly | Only allow to select elements with an associated file system path. | |
SelectedFolderIdList | After execution contains the Folder that was selected. | |
SelectedPath | After ShowDialog gets the path that was selected. If this property is set before displaying the dialog sets the path the dialog initially selects. | |
Title | Gets or sets the title of the dialog. |
Name | Description | |
---|---|---|
Reset | Resets the properties of a common dialog box to their default values. (Overrides CommonDialogReset.) | |
RunDialog | Runs a directory open dialog. (Overrides CommonDialogRunDialog(IntPtr).) |
browseForFolder.Title = "Please select a folder"; browseForFolder.SelectedPath = "c:\\"; if (browseForFolder.ShowDialog()) MessageBox.Show(browseForFolder.SelectedPath);