Component
Wisej.Base.Component
Last updated
Wisej.Base.Component
Last updated
Namespace: Wisej.Base
Assembly: Wisej.Framework (2.2.0.0)
The base class for Wisej components that are not controls. Wisej components are still managed on the client and the server but are not present on the designer surface. Examples of wisej components are: menu items, image lists, tree nodes, list items.
Default constructor
Default constructor
Name | Type | Description |
---|---|---|
embedded | Indicates whether the component is embedded in a parent component. Embedded components don't update themselves, instead their parent is in charge of updating the corresponding client widget. |
Boolean: Checks if the UserData dynamic object was created and has any value.
Boolean: Indicates that the component has been disposed.
Object: Returns a dynamic object that can be used to store custom data in relation to this component.
Runs the JavaScript function within the component's context in the browser.
Parameter | Type | Description |
---|---|---|
function | The name of the JavaScript function to execute. | |
args | The arguments to pass to the function. |
Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.
Parameter | Type | Description |
---|---|---|
function | The name of the JavaScript function to execute. | |
callback | Asynchronous callback method that receives the return value. | |
args | The arguments to pass to the function. |
Asynchronously runs the JavaScript function within the component's context in the browser and returns an awaitable Task containing the value returned by the remote call.
Parameter | Type | Description |
---|---|---|
function | The name of the JavaScript function to execute. | |
args | The arguments to pass to the function. |
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Releases all resources used by the Component.
Runs the javaScript code within the component's context in the browser.
Parameter | Type | Description |
---|---|---|
javaScript | The JavaScript code to run on the client. |
Runs the javaScript code within the component's context in the browser and returns the value to the callback method.
Parameter | Type | Description |
---|---|---|
javaScript | The JavaScript code to evaluate on the client. | |
callback | Asynchronous callback method that receives the return value. |
Asynchronously runs the javaScript code within the component's context in the browser and returns an awaitable Task that contains the value returned by the remote call.
Parameter | Type | Description |
---|---|---|
javaScript | The JavaScript code to evaluate on the client. |
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Updates the component on the client.
EventHandler Fired when the component is disposed.
Name | Description |
---|---|
Displays a toast that can contain an icon and text. | |
Extends Component and enabled the components to appear on the designer surface. | |
Displays a message box that can contain text, buttons, and symbols that inform and instruct the user. | |
Represents a panel in a StatusBar control. Although the StatusStrip control replaces and adds functionality to the StatusBar control of previous versions, StatusBar is retained for both backward compatibility and future use if you choose. | |
Implements a timer that raises an event at user-defined intervals. | |
Represents a component in the Desktop control's taskbar. | |
Represents a DateTime component in the Desktop control's taskbar. | |
Provides support for animating controls or windows using predefined animations definitions or custom animations in response to certain events. | |
Provides a user interface for indicating that a control on a form has an error associated with it. | |
Represents a small rectangular pop-up window that displays a brief help text next to a control when it gets activated (focused). | |
Allows controls to execute javascript code. | |
Add rotation capabilities along the X,Y,Z axis to Control controls. | |
Adds CSS styling to controls. | |
Represents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control. | |
Displays an alert box that can contain an icon and text that inform and instruct the user. Alert boxes are not modal and can disappear automatically. | |
Represent a tool widget that can be displayed inside another control. A tool widget is different from other child controls: it's displayed inside the parent's layout. For example, the Form control shows tool widgets inside the caption bar. When a tool widget is pressed, it fires the toolClicked event on the container. | |
Provides methods to manage a collection of Image objects. This class cannot be inherited. | |
Displays a standard column header in a ListView control. | |
Displays an image column header in a ListView control. | |
Represents a context menu associated to a Control. | |
Represents an individual menu item that is displayed within a MainMenu or ContextMenu rendered using the link element to let the browser process the specified HRef URL. | |
Represents the main menu in a Form. | |
Represents the base functionality for all menus. | |
Represents an individual item that is displayed within a MainMenu or ContextMenu. | |
Represents a button in the ToolBar. | |
Represents a node of a TreeView. |
Name | Description |
---|---|
All wisej components implement this interface. | |
Allows an object to serialize itself. |