Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.FileDialogUI
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
UI implementation for the FileDialog class.
Name | Type | Description |
---|---|---|
Wisej.Web.FolderBrowserDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Allows the user to select a folder from one of the Roots.
Initializes a new instance of FolderBrowserDialog.
Initializes a new instance of FolderBrowserDialog using the initial roots .
Name | Type | Description |
---|---|---|
Initializes a new instance of the FolderBrowserDialog extender with a specified container.
Name | Type | Description |
---|---|---|
String: Returns or sets the description splayed above the tree view control in the dialog box.
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.
Boolean: Returns or sets whether the Help button is displayed in the file dialog box.
String: Returns or sets the file dialog box title.
Returns the IFileSystemProvider that contains the specified path .
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.
Returns: String. The physical path for the IFileSystemProvider implementation.
Resets all properties to their default values.
FileDialogLoadPathEventHandler Fired when the file dialog is loading a file or folder.
Wisej.Web.FileDialogLoadPathEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides data for the LoadPath event.
Allows an application to filter the files and folders loaded by the and components and to set the icon, creation date and modified date. To skip a file or folder, set e.Cancel = true. To set a file's icon, or date, set the , or properties.
Constructs a new instance of .
Name | Type | Description |
---|
: Sets the creation DateTime of the file.
Wisej.Web.FileDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Displays a dialog box from which the user can select a file.
This class is abstract. The current implementations in Wisej are and . You can override this class or and to add your own custom behavior and localization. You can:
Override . It's called when the specified file doesn't exist and the property is true.
Override to create your custom when the method is called.
Set the to a class that has a constructor that accepts as the single argument to change the User Interface (UI) of the file dialog.
Override to provide your custom implementation of the actions to execute when the user presses the OK button.
You must add at least one to the collection before showing the dialog.
Initializes a new instance of .
Resets all properties to their default values.
Wisej.Web.ColorDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.
Initializes a new instance of .
Initializes a new instance of the extender with a specified container.
Name | Type | Description |
---|
Resets all properties to their default values.
Wisej.Web.FileDialogRootCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represent a collection of the root file systems shown by the implementation.
Maps the virtual path to the corresponding physical path on the specific implementation.
Parameter | Type | Description |
---|
Returns: . The physical path for the implementation.
Wisej.Web.SaveFileDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Prompts the user to select a location for saving a file on the server.
You can:
Override . It's called when the specified file doesn't exist and the property is true.
Override . It's called when the specified file doesn't exist and the property is true.
Override . It's called when the specified file doesn't exist and the property is true.
Override to create your custom when the method is called.
Set the to a class that has a constructor that accepts as the single argument to change the User Interface (UI) of the file dialog.
Override to provide your custom implementation of the actions to execute when the user presses the OK button.
You must add at least one to the collection before showing the dialog.
Opens the file with read/write permission selected by the user.
Throws:
Resets all dialog box options to their default values.
Wisej.Web.OpenFileDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Prompts the user to open a file from the server.
You can:
Override . It's called when the specified file doesn't exist and the property is true.
Override to create your custom when the method is called.
Set the to a class that has a constructor that accepts as the single argument to change the User Interface (UI) of the file dialog.
Override to provide your custom implementation of the actions to execute when the user presses the OK button.
You must add at least one to the collection before showing the dialog.
Initializes a new instance of .
Throws:
Resets all properties to their default values.
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
: Sets the file size in bytes.
: Sets the name or path of the icon to display next to the file.
: Returns true when the refers to a directory.
: Sets the last modified DateTime of the file.
: Returns the full path of the file or folder being loaded.
Name | Description |
---|
Initializes a new instance of using the initial roots .
Name | Type | Description |
---|
Initializes a new instance of the extender with a specified container.
Name | Type | Description |
---|
: Returns or sets whether the dialog box automatically adds an extension to a file name if the user omits the extension.
: Returns or sets whether the dialog box displays a warning if the user specifies a file name that does not exist.
: Returns or sets the default file name extension.
: Returns or sets a string containing the file name selected in the file dialog box.
: Returns the file names of all selected files in the dialog box.
: Returns the that contains the selected .
: Returns or sets the current file name filter string, which determines the choices that appear in the "Save as file type" or "Files of type" box in the dialog box.
: Returns or sets the index of the filter currently selected in the file dialog box.
: Returns or sets the initial directory displayed by the file dialog box.
: List of root file systems displayed by the FileDialog.
The Roots collection and the 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.
: Returns or sets whether the Help button is displayed in the file dialog box.
: Returns or sets the file dialog box title.
Returns the that contains the specified path .
Parameter | Type | Description |
---|
Returns: . The that contains the specified path or null if not found.
Maps the virtual path to the corresponding physical path on the specific implementation.
Parameter | Type | Description |
---|
Returns: . The physical path for the implementation.
Receives the file names selected by the user and validates them according to the properties set in the instance.
Parameter | Type | Description |
---|
Returns: . True if the files have been validated and the dialog can close; otherwise false to keep the dialog open.
Fired when the user clicks on the Open or Save button on a file dialog box.
Fired when the file dialog is loading a file or folder.
Name | Description |
---|
: Returns or sets the color selected by the user.
: Returns or sets the set of custom colors shown in the dialog box.
Name | Description |
---|
Initializes a new instance of .
Initializes a new instance of the extender with a specified container.
Name | Type | Description |
---|
: Returns or sets a value indicating whether the dialog box prompts the user for permission to create a file, if the file specified file does not exist.
: Returns or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that already exists.
Returns: . A that specifies the read/write file selected by the user.
is empty or null.
Receives the file names selected by the user and validates them according to the properties set in the instance.
Parameter | Type | Description |
---|
Returns: . True if the files have been validated and the dialog can close; otherwise false to keep the dialog open.
Initializes a new instance of the extender with a specified container.
Name | Type | Description |
---|
: Returns or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that does not exist.
: Returns or sets a value indicating whether the dialog box allows multiple files to be selected.
: Returns the file name and extension for the file selected in the dialog box. The file name does not include the path.
: Returns an array of file names and extensions for all the selected files in the dialog box. The file names do not include the path.
Opens the file selected by the user, with read-only permission. The file is specified by the property.
Returns: . A that specifies the read-only file selected by the user.
is empty or null.
sender
The source of the event.
e
A FileDialogLoadPathEventArgs that contains the event data.
Fired when the file dialog is loading a file or folder.
Fired when the file dialog is loading a file or folder.
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
All wisej top-level windows implement this interface.
Allows an object to serialize itself.
path
Full path of the file to locate in on of the Roots.
folderPath
Virtual path to map to the corresponding physical path.
roots |
container |
path |
filePath | Virtual path to map to the corresponding physical path. |
fileNames | Array containing the selected file paths. |
Prompts the user to open a file from the server. |
Prompts the user to select a location for saving a file on the server. |
Bindable components implement this interface. |
Provides the functionality for a control to act as a parent for other controls. |
All wisej components implement this interface. |
All wisej top-level windows implement this interface. |
Allows an object to serialize itself. |
container |
fileNames | Array containing the selected file paths. |
container |
fileDialog
roots
Initial file systems to load in the FolderBrowserDialog.
container
An IContainer that represents the container of the FolderBrowserDialog component.
path | Path of the file or directory. |
isDirectory | Indicates that the path is for a directory. |
container |
filePath | Virtual path to map to the corresponding physical path. |
folderDialog |
Represents the method that will handle the and events.
Initial file systems to load in the .
An that represents the container of the component.
Full path of the file to locate in on of the .
All wisej controls derived from the class must implement this interface.
An that represents the container of the component.
An that represents the container of the component.
An that represents the container of the component.