Export (0) Print
Expand All

FolderNameEditor.FolderBrowserStyles Enumeration

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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.

Namespace:  System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

[FlagsAttribute]
protected enum FolderBrowserStyles

Member nameDescription
BrowseForComputerThe folder browser can only return computers. If the user selects anything other than a computer, the OK button is grayed.
BrowseForEverythingThe folder browser can return any object that it can return.
BrowseForPrinterThe folder browser can only return printers. If the user selects anything other than a printer, the OK button is grayed.
RestrictToDomainThe 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.
RestrictToFilesystemThe 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.
RestrictToSubfoldersThe folder browser will only return obejcts 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.
ShowTextBoxThe folder browser includes a TextBox control in the browse dialog box that allows the user to type the name of an item.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft