Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.FormClosedEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the method that handles a FormClosed event.
sender
The source of the event.
e
A that contains the event data.
Occurs after the form is closed.
Wisej.Web.CloseReason
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Specifies the reason that a form was closed.
ApplicationExit
The application is terminating.
FormOwnerClosing
The owner control form is closing.
MdiFormClosing
The parent form of this multiple document interface (MDI) form is closing.
None
The cause of the closure was not defined or could not be determined.
UserClosing
The user is closing the form through the user interface (UI).
Returns the reason for the form closing.
Returns a value that indicates why the form was closed.
Returns a value that indicates why the form is being closed.
Closes the window.
Wisej.Web.FormBorderStyle
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Specifies the border styles for a form.
Fixed
A fixed, not resizable border.
FixedToolWindow
A tool window border that is not resizable.
None
No border.
Sizable
A resizable border.
SizableToolWindow
A resizable tool window border.
Returns or sets the border style of the form.
Wisej.Web.FormWindowState
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Specifies how a form window is displayed.
Maximized
A maximized window.
Minimized
A minimized window.
Normal
A default sized window.
Returns or sets the initial of the common dialog.
Returns or sets a value that indicates whether form is minimized, maximized, or normal.
Sets the window state for the specified control.
Wisej.Web.MdiClient
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the container for multiple-document interface (MDI) child forms.
Initializes a new instance of MdiClient.
owner
The MdiParent form using this container to host its children.
Form: Returns the currently active multiple-document interface (MDI) child window.
Boolean: Returns whether there are any Mdi child forms.
Form[]: Returns the child multiple-document interface (MDI) forms of the MdiClient control.
TabControl: Returns the internal TabControl.
form
e
Renders the client component.
config
Dynamic configuration object.
form
reason
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.FormClosingEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the method that handles a FormClosing event.
sender
The source of the event.
e
A that contains the event data.
Occurs before the form is closed.
Wisej.Web.FormClosingEventArgs
Wisej.Web.MdiTabProperties
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Encapsulates properties related to the tabbed MDI interface.
Initializes a new instance of the class.
: Returns or sets the area of the control (for example, along the top) where the tabs are aligned. (Default: Top
)
: Returns or sets whether the user can change the position of a tab button by dragging it. (Default: False
)
All wisej controls derived from the class must implement this interface.
: Returns or sets the background color for the control.
: Indicates the border style for the control. (Default: Solid
)
: Returns or sets a value indicating the horizontal or vertical orientation of the tab pages.
: Returns or sets the that uses the MdiTabProperties.
: Returns or sets whether the menu of the MdiChild form is shown on the tab button. (Default: False
)
: Returns or sets whether the thumbnail page is visible. (Default: True
)
: Returns or sets whether the tab buttons should fill the control's size, or placed in the center, or aligned to the left. (Default: Normal
)
Represents the method that handles a FormClosing event.
CenterParent
The form is centered within the bounds of its parent form.
CenterScreen
The form is centered on the current display, and has the dimensions specified in the form's size.
DefaultLocation
The form is positioned at the default location and has the dimensions specified in the form's size.
Manual
The position of the form is determined by the Location property.
Returns or sets the starting position of the form at run time.
Sets the start position for the specified Form control, determining the initial position of the form when it is displayed.
closeReason
A CloseReason value that represents the reason why the form is being closed.
cancel
true to cancel the event; otherwise, false.
owner
The Form whose properties this object describes.
Wisej.Web.Form
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a window or dialog box that makes up an application's user interface.
Default constructor.
Initializes a new instance of the Form class with the specified initial settings.
onClosed
Initializes a new instance of the Form class with the specified initial settings.
controls
onClosed
Initializes a new instance of the Form class with the specified initial settings.
location
The location of the form on the screen.
size
The size of the form.
controls
Initializes a new instance of the Form class with the specified initial settings.
location
The location of the form on the screen.
size
The size of the form.
onClosed
Initializes a new instance of the Form class with the specified initial settings.
location
The location of the form on the screen.
size
The size of the form.
controls
onClosed
IButtonControl: Returns or sets the button on the form that is clicked when the user presses the ENTER key. (Default: null
)
Assigning the AcceptButton doesn't automatically close the window when the button is pressed. It only assigns the value of the DialogResult property of the form to the value of the DialogResult property of the button. To close the form when the AcceptButton is clicked, you have to call the Close method when the button is pushed.
Boolean: Returns whether the form is the currently active top level window or the active mdi child window.
Form: Returns the currently active form for this application.
Form: Returns the currently active multiple-document interface (MDI) child window.
Boolean: Returns or sets whether the opacity of the form can be adjusted. (Default: True
)
String: Sets the appearance key for the theme engine. (Default: null
)
Boolean: Automatically closes the form or dialog when the user clicks anywhere on the browser outside of the form. (Default: False
)
Boolean: EXPERIMENTAL: Automatically closes the Modal dialog when DialogResult is assigned to a value different than None by code or by a user action, i.e.: AcceptButton click. Since 3.5.6 (Default: False
)
You can change the default value across the application using the AutoCloseModalDialogDefault property or related AppContext switch. The default WinForms behavior is to automatically close the modal dialog.
Boolean: EXPERIMENTAL: Default value for the AutoCloseModalDialog property. Since 3.5.6 (Default: False
)
The default is false. You can set the value by code or using AppContext switches: AppContext.SetSwitch("FormAutoCloseModalDialog", true);
Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False
)
AutoSizeMode: Indicates the automatic sizing behavior of the control. (Default: GrowOnly
)
AutoValidate: Returns or sets how the control performs validation when the user changes focus to another control. (Default: EnablePreventFocusChange
)
IButtonControl: Returns or sets the button control that is clicked when the user presses the ESC key. (Default: null
)
Assigning the CancelButton doesn't automatically close the window when the button is pressed. It only assigns the value of the DialogResult property of the form to the value of the DialogResult property of the button. To close the form when the CancelButton is clicked, you have to call the Close method when the button is pushed.
Rectangle: Returns the client rectangle to use in the designer.
Size: Returns or sets the size of the client area of the form.
Boolean: Returns or sets whether the Close button is displayed in the caption bar of the form. (Default: True
)
CloseReason: Returns the reason for the form closing. (Default: None
)
Boolean: Returns or sets whether a control box is displayed in the caption bar of the form. (Default: True
)
DialogResult: Returns or sets the dialog result for the form. (Default: None
)
Boolean: Enables or disables merging the MdiParent's menu with the active MdiChild form's menu. (Default: False
)
FormBorderStyle: Returns or sets the border style of the form. (Default: Sizable
)
Boolean: Returns whether this form is an IsMdiContainer and has any Mdi child form. (Default: False
)
Boolean: Returns whether this form has any owned form. (Default: False
)
Color: Returns or sets the background color of the title bar and frame of the window.
Color: Returns or sets the text color of the title bar of the window.
Image: Returns or sets the icon (32x32) for the Form.
The default value is null.
Image: Returns or sets the large icon (128x128) for the Form.
The deafult value is null.
ImagePropertySettings: Creates the property manager for the IconLarge properties on first use.
String: Returns or sets the theme name or URL for the large icon to display for the Form.
The deafult value is null.
ImagePropertySettings: Creates the property manager for the Icon properties on first use.
String: Returns or sets the theme name or URL for the icon to display for the Form.
The default value is null.
Boolean: Returns whether the Form has been closed. (Default: False
)
Modal dialogs are reusable and are not disposed automatically when closed. Use this property to check whether a modal dialog has been closed, and use IsDisposed to check if it has been disposed.
Boolean: Returns whether the Form was created as a modal or modeless dialog using ShowDialog. (Default: False
)
Boolean: Returns a value indicating whether the form is a multiple-document interface (MDI) child form. (Default: False
)
Boolean: Returns or sets whether the form is a container for multiple-document interface (MDI) child forms. (Default: False
)
Boolean: Keeps the form always centered in the browser. (Default: False
)
Boolean: Keeps the entire form within the browser view preventing the user from dragging the form, even partially, outside of the view. (Default: False
)
Boolean: Returns or sets whether the form is resized while the border is being dragged. (Default: False
)
Boolean: Returns or sets whether the Maximize button is displayed in the caption bar of the form. (Default: True
)
Size: Returns the maximum size the form can be resized to. (Default: {Width=0, Height=0}
)
Throws:
ArgumentOutOfRangeException The values of the height or width within the Size object are less than zero.
Form[]: Returns an array of forms that represent the multiple-document interface (MDI) child forms that are parented to this form.
Default value is Form[0] (an empty array of Forms)
MdiClient: Returns the internal MdiClient component. (Default: null
)
Form: Returns or sets the current multiple-document interface (MDI) parent form of this form. (Default: null
)
Throws:
MdiTabProperties: Provides properties for the TabControl object used to display the tabbed MDI interface.
MainMenu: Returns or sets the MainMenu that is displayed in the form. (Default: null
)
MainMenu: Returns the merged menu for the form. (Default: null
)
Boolean: Returns or sets whether the Minimize button is displayed in the caption bar of the form. (Default: True
)
Size: Returns or sets the minimum size the form can be resized to.
Default value is a Size with Width = 0, Height = 0 Throws:
ArgumentOutOfRangeException The values of the height or width within the Size object are less than zero.
Boolean: Returns whether this form is displayed modally. (Default: False
)
Boolean: Returns or sets whether the form can be moved by dragging. (Default: True
)
Double: Returns or sets the opacity level of the form. (Default: 1
)
Form[]: Returns an array of Form objects that represent all forms that are owned by this form.
Default value is Form[0] (an empty array of Forms)
Form: Returns or sets the form that owns this form. (Default: null
)
Throws:
Exception A top-level window cannot have an owner.
Boolean: Returns or sets whether the form is displayed in the Desktop taskbar. (Default: True
)
Boolean: Returns or sets a value that shows the modal mask on the client when this form is displayed. (Default: False
)
Modal forms - forms opened using ShowDialog - always show the modal mask by default.
Size: Returns or sets the size of the form.
FormStartPosition: Returns or sets the starting position of the form at run time. (Default: DefaultLocation
)
String: Returns or sets the title of the Form window. (Default: ""
)
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
Boolean: Returns or sets whether to display the form as a top-level window. (Default: True
)
Throws:
Exception A Multiple-document interface (MDI) parent form must be a top-level window.
Boolean: Returns or sets whether the form should be displayed as a topmost form. (Default: False
)
FormWindowState: Returns or sets a value that indicates whether form is minimized, maximized, or normal. (Default: Normal
)
Activates the form and gives it focus.
Adds an owned form to this form.
ownedForm
control
oldParent
Centers the window on the current browser size.
Closes the form.
Closes the form.
reason
Deactivate and remove the disposed window from the open form collections.
disposing
true when this method is called by the application rather than a finalizer.
Returns the themed back color for this control.
Returns: Color.
Returns: Color.
Returns: Color.
Returns the visible state of the control.
Returns: Boolean.
Fires the Activated event.
e
Adds references components to the list. Referenced components can be added individually or as a reference to a collection.
items
Container for the referenced components or collections.
Fires the BindingContextChanged event.
e
Fires the Closed event.
e
Fires the Closing event.
e
Fires the ControlAdded event.
e
Raised when the control is created.
Fires the Deactivate event.
e
e
Raises the FormClosed event.
e
Raises the FormClosing event.
e
Fires the HelpButtonClicked event.
e
Fires the Layout event.
e
Fires the Load event.
e
Fires the LocationChanged event.
e
Fires the MaximumSizeChanged event.
e
Fires the MdiChildActivate event.
e
Fires the MdiChildAdded event.
e
Fires the MdiChildRemoved event.
e
Fires the MinimumSizeChanged event.
e
Fires the MouseClick event.
e
Fires the Shown event.
e
Fires the ToolClick event.
e
Processes the event from the client.
e
Event arguments.
Renders the client component.
config
Dynamic configuration object.
Updates the client component using the state information.
state
Dynamic state object.
Fires the WindowStateChanged event.
e
Computes the location of the specified screen point into client coordinates.
point
Returns: Point. A Point that represents the converted Point, point , in client coordinates.
Computes the location of the specified client point into screen coordinates.
point
Returns: Point. A Point that represents the converted Point, point , in screen coordinates.
form
form
Forces the control to update the corresponding client widget. When in DesignMode it forces a full redraw of the designer surface for this control and optionally of its children, including the non-client areas such as the caption of forms or panels.
refreshChildren
True to also refresh all the children of this control.
Removes an owned form from this form.
ownedForm
Shows the form to the user.
Forms are disposed immediately when they are closed and cannot be shown again. The optional onclose parameter is an asynchronous callback handler invoked when the form is closed. It is similar to handling the FormClosed event.
Throws:
InvalidOperationException The form being shown is already visible; or the form being shown is not a top-level window; or the form being shown as a dialog box is already a modal form.
Shows the form with the specified owner to the user.
owner
Forms are disposed immediately when they are closed and cannot be shown again. The optional onclose parameter is an asynchronous callback handler invoked when the form is closed. It is similar to handling the FormClosed event.
Throws:
InvalidOperationException The form being shown is already visible; or The form specified in the owner parameter is the same as the form being shown; or the form being shown is disabled; or the form being shown is not a top-level window; or the form being shown as a dialog box is already a modal form.
Shows the form as a modal dialog box. When the onclose is specified, the dialog is modal only in the browser.
Returns: DialogResult. One of the DialogResult values.
When using ShowDialog, the dialog instance is not automatically disposed when the dialog is closed because dialogs are reusable. To make sure that memory is released properly, you must dispose the instance in your code or use the typical using pattern. Dialogs that are closed, but not disposed and not referenced by the application will be disposed by the Garbage Collector when it kicks in.
Modal dialogs suspend the code execution on the server side effectively replicating the full modal workflow employed by desktop applications. However, when the optional onclose parameter is specified, the dialog is modal only in the browser and doesn't suspend the server thread. Which is similar to the typical asynchronous modal pattern used in javascript.
Throws:
InvalidOperationException The form being shown is already visible; or the form being shown is disabled; or the form being shown is not a top-level window; or the form being shown as a dialog box is already a modal form.
Shows the form as a modal dialog box with the specified owner. When the onclose is specified, the dialog is modal only in the browser.
owner
Returns: DialogResult. One of the DialogResult values.
When using ShowDialog, the dialog instance is not automatically disposed when the dialog is closed because dialogs are reusable. To make sure that memory is released properly, you must dispose the instance in your code or use the typical using pattern. Dialogs that are closed, but not disposed and not referenced by the application will be disposed by the Garbage Collector when it kicks in.
Modal dialogs suspend the code execution on the server side effectively replicating the full modal workflow employed by desktop applications. However, when the optional onclose parameter is specified, the dialog is modal only in the browser and doesn't suspend the server thread. Which is similar to the typical asynchronous modal pattern used in javascript.
Throws:
ArgumentException The form specified in the owner parameter is the same as the form being shown.
InvalidOperationException The form being shown is already visible; or The form specified in the owner parameter is the same as the form being shown; or the form being shown is disabled; or the form being shown is not a top-level window; or the form being shown as a dialog box is already a modal form.
Asynchronously shows the form as an awaitable modal dialog box.
Returns: Task<DialogResult>. An awaitable Task that contains the DialogResult value returned asynchronous when the user closes the modal dialog.
When using ShowDialog, the dialog instance is not automatically disposed when the dialog is closed because dialogs are reusable. To make sure that memory is released properly, you must dispose the instance in your code or use the typical using pattern. Dialogs that are closed, but not disposed and not referenced by the application will be disposed by the Garbage Collector when it kicks in.
Asynchronous Modal dialogs don't suspend the code execution on the server side but can be "awaited" in "async" methods effectively replicating the full modal workflow employed by desktop applications in an asynchronous environment.
Throws:
InvalidOperationException The form being shown is already visible; or the form being shown is disabled; or the form being shown is not a top-level window; or the form being shown as a dialog box is already a modal form.
Converts the client size into the window size.
clientSize
Returns: Size.
EventHandler Fired when the form is activated in code or by the user.
EventHandler Fired when the form loses focus and is no longer the active form.
FormClosedEventHandler Occurs after the form is closed.
FormClosingEventHandler Occurs before the form is closed.
EventHandler Fired when the Help button is clicked.
EventHandler Fired before a form is displayed for the first time.
EventHandler Fired when the value of the MaximumSize property has changed.
EventHandler Fired when a multiple-document interface (MDI) child form is activated.
ControlEventHandler Fired when a multiple-document interface (MDI) child form is added to the mdi parent.
ControlEventHandler Fired when a multiple-document interface (MDI) child form is removed from the mdi parent.
EventHandler Fired when the value of the MinimumSize property has changed.
EventHandler Fired whenever the form is first displayed.
ToolClickEventHandler Fired when a ComponentTool is clicked.
EventHandler Fired when the value of the WindowStateChanged property has changed.
UI implementation for the FileDialog class.
UI implementation for the FolderDialog class.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej top-level windows implement this interface.
Allows an object to serialize itself.
Wisej.Web.FormClosedEventArgs
Handler for the event.
An array of objects to be added to the form.
Handler for the event.
An array of objects to be added to the form.
Handler for the event.
An array of objects to be added to the form.
Handler for the event.
The that this form will own.
One the values indicating the reason for closing the form.
A that contains the event data.
An that contains the event data.
The that contains the event data.
A that contains the event data.
A that contains the event data.
The that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
The that contains the event data.
The that contains the event data.
The that contains the event data.
The that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
The screen coordinate to convert.
The client coordinate to convert.
A representing the form to remove from the list of owned forms for this form.
onclose
Optional async handler for the close event; called when the form/dialog has been closed. It's the equivalent of handling the
A that is related to this instance. This form is added to the collection of the owner form.
onclose
Optional async handler for the close event; called when the form/dialog has been closed. It's the equivalent of handling the
onclose
Optional async handler for the close event; called when the form/dialog has been closed. It's the equivalent of handling the
A that is related to this instance. This form is added to the collection of the owner form.
onclose
Optional async handler for the close event; called when the form/dialog has been closed. It's the equivalent of handling the 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
An optional that is related to this instance. This form is added to the collection of the owner form.
All wisej controls derived from the class must implement this interface.
closeReason
A value that represents the reason why the form was closed.
Represents the method that handles a event.