FolderNameEditor.FolderBrowserStyles FolderNameEditor.FolderBrowserStyles FolderNameEditor.FolderBrowserStyles Enum

Definition

Defines identifiers used to specify behavior of a FolderNameEditor.FolderBrowser.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

protected: enum class FolderNameEditor::FolderBrowserStyles
[System.Flags]
protected enum FolderNameEditor.FolderBrowserStyles
Protected Enum FolderNameEditor.FolderBrowserStyles
Inheritance
FolderNameEditor.FolderBrowserStylesFolderNameEditor.FolderBrowserStylesFolderNameEditor.FolderBrowserStyles
Attributes

Fields

BrowseForComputer BrowseForComputer BrowseForComputer BrowseForComputer 4096

The folder browser can only return computers. If the user selects anything other than a computer, the OK button is grayed.

BrowseForEverything BrowseForEverything BrowseForEverything BrowseForEverything 16384

The folder browser can return any object that it can return.

BrowseForPrinter BrowseForPrinter BrowseForPrinter BrowseForPrinter 8192

The folder browser can only return printers. If the user selects anything other than a printer, the OK button is grayed.

RestrictToDomain RestrictToDomain RestrictToDomain RestrictToDomain 2

The folder browser will not include network folders below the domain level in the dialog box's tree view control, or allow navigation to network locations outside of the domain.

RestrictToFilesystem RestrictToFilesystem RestrictToFilesystem RestrictToFilesystem 1

The folder browser will only return local file system directories. If the user selects folders that are not part of the local file system, the OK button is grayed.

RestrictToSubfolders RestrictToSubfolders RestrictToSubfolders RestrictToSubfolders 8

The folder browser will only return objects of the local file system that are within the root folder or a subfolder of the root folder. If the user selects a subfolder of the root folder that is not part of the local file system, the OK button is grayed.

ShowTextBox ShowTextBox ShowTextBox ShowTextBox 16

The folder browser includes a TextBox control in the browse dialog box that allows the user to type the name of an item.

Applies to

See also