FolderBrowserDialog

Wisej.Web.FolderBrowserDialog

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Allows the user to select a folder from one of the Roots.

public class FolderBrowserDialog : CommonDialog

Constructors

Initializes a new instance of FolderBrowserDialog.

Initializes a new instance of FolderBrowserDialog using the initial roots .

NameTypeDescription

roots

Initial file systems to load in the FolderBrowserDialog.

Initializes a new instance of the FolderBrowserDialog extender with a specified container.

NameTypeDescription

container

An IContainer that represents the container of the FolderBrowserDialog component.

Properties

String: Returns or sets the description splayed above the tree view control in the dialog box. (Default: "")

FileDialogRootCollection: List of root IFileSystemProvider file systems displayed by the FolderBrowserDialog.

The Roots collection and the IFileSystemProvider implementations allow the application to use arbitrary names mapped to a specific path. For example, the app may add a root object named "Documents" to "c:\users[logged-user-id]\files\documents". Each user will see "Documents" as the root, but will also see only the files in the [logged-user-id] directory.

String: Returns sets the path selected by the user. (Default: "")

Boolean: Returns or sets whether the Help button is displayed in the file dialog box. (Default: False)

String: Returns or sets the file dialog box title. (Default: "")

Methods

Returns the IFileSystemProvider that contains the specified path .

ParameterTypeDescription

path

Full path of the file to locate in on of the Roots.

Returns: IFileSystemProvider. The IFileSystemProvider that contains the specified path or null if not found.

Maps the virtual path to the corresponding physical path on the specific IFileSystemProvider implementation.

ParameterTypeDescription

folderPath

Virtual path to map to the corresponding physical path.

Returns: String. The physical path for the IFileSystemProvider implementation.

Resets all properties to their default values.

Events

FileDialogLoadPathEventHandler Fired when the file dialog is loading a file or folder.

Last updated