CommonDialog
Wisej.Web.CommonDialog
Last updated
Wisej.Web.CommonDialog
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.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 |
---|---|---|
container | An IContainer that represents the container of the CommonDialog component. |
Type: Returns or sets the type of the common dialog UI control to show when calling the ShowDialog method.
Object: Returns or sets an object that contains data about the control.
String: Returns or sets the dialog box title.
FormWindowState: Returns or sets the initial WindowState of the common dialog.
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.
Parameter | Type | Description |
---|---|---|
onclose | 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. |
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with the specified owner.
Parameter | Type | Description |
---|---|---|
owner | A form that represents the top-level window that owns the modal dialog box. It can be null. |
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with the specified owner.
Parameter | Type | Description |
---|---|---|
owner | A form that represents the top-level window that owns the modal dialog box. It can be null. | |
onclose | 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. |
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with the specified owner asynchronously.
Parameter | Type | Description |
---|---|---|
owner | A form that represents the top-level window that owns the modal dialog box. It can be null. |
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.
Name | Description |
---|---|
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. |