Wisej.Web.CommonDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Specifies the base class used for displaying dialog boxes on the screen.
Initializes a new instance of CommonDialog.
Initializes a new instance of the CommonDialog extender with a specified container.
Name | Type | Description |
---|---|---|
Type: Returns or sets the type of the common dialog UI control to show when calling the ShowDialog method. (Default: null
)
Object: Returns or sets an object that contains data about the control. (Default: null
)
String: Returns or sets the dialog box title. (Default: ""
)
FormWindowState: Returns or sets the initial WindowState of the common dialog. (Default: Normal
)
When overridden in a derived class, resets the properties of a common dialog box to their default values.
Runs a common dialog box with a default owner.
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with a default owner.
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with the specified owner.
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with the specified owner.
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with the specified owner asynchronously.
Returns: Task<DialogResult>. OK if the user clicks OK in the dialog box; otherwise, Cancel.
EventHandler Fired when the user clicks the Help button on a common dialog box.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
owner
A Form that represents the top-level window that owns the modal dialog box. It can be null.
Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.
Displays a dialog box from which the user can select a file.
Allows the user to select a folder from one of the Roots.
Prompts the user to open a file from the server.
Prompts the user to select a location for saving a file on the server.
Optional async handler for the close event; called when the form/dialog has been closed. It's the equivalent of handling the event. When the onclose event handler is specified, the modal dialog doesn't suspend the execution on the server but it's still shown as a modal dialog on the client.
owner
A Form that represents the top-level window that owns the modal dialog box. It can be null.
Optional async handler for the close event; called when the form/dialog has been closed. It's the equivalent of handling the event. When the onclose event handler is specified, the modal dialog doesn't suspend the execution on the server but it's still shown as a modal dialog on the client.
A Form that represents the top-level window that owns the modal dialog box. It can be null.
container
An IContainer that represents the container of the CommonDialog component.
onclose
onclose
owner