Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Core.ClientPlatform
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Represents the client platform used to render the widgets.
String[]: List of javascript files associated with the platform.
String: The name of this platform configuration.
PlatformProvider: The platform provider.
String[]: List of style sheets associated with the platform.
Version: Returns the file version of the
Wisej.Core.ClientCollection
Wisej.Core.ClientBrowser
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Properties of the client browser currently interacting with the application.
Name | Type | Description |
---|---|---|
CultureInfo: Returns the locale declared in the application configuration file or detected from the client browser.
String: Device type. Can be one of "Mobile", "Tablet" or "Desktop".
Object: Returns the set of features supported/not-supported by the browser. Currently we detect: geolocation, webSocket, fullScreen, speechSynthesis, speechRecognition, notification, fullScreen, browserStorage.
String: IP Address of the client computer.
Boolean: Returns true if the browser is using dark mode. [Since 3.0.10]
Boolean: Returns true if the browser is in full screen mode.
Boolean: Returns true if the connection is secure.
String: Client language.
String: Client OS. Can be one of "iOS", "Android", "WebOS", "BlackBerry", "MacOS", "Linux", "Windows", "Unix", "Other".
Double: Returns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device.
Size: Screen size.
String: Returns the session ID associated with this ClientBrowser.
Size: Browser size. This is the window size, which can be different from the device (or screen) size.
String: Identifies the browser tab associated with with this ClientBrowser instance.
Int32: Returns the time difference between UTC time and local time, in minutes.
String: Browser type. Can be one of "IE", "Edge", "Chrome", "Opera", "Firefox", "Safari", "Other".
String: Returns the raw user agent string of the client browser.
Object: Returns a value or map set by the client when loading the application's first HTML page.
An application can use this property to retrieve a custom value on startup. For example, in Default.html add:
On the server side, you can retrieve the user data use at any time like this:
When used in conjunction with an aspx startup page (Default.aspx) it allows the application to retrieve data passed as a POST request and pass it to the Wisej application.
Int32: Browser version.
Wisej.Core.Client
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Represents a unique client using the application.
A browser instance is a single client, regardless of how many sessions are created by that client and how many browser tabs are open. Different browsers a represented as different clients.
ClientBrowser[]: List of browser tabs (for the same browser) that are using the application at the client computer.
String: Unique client ID.
String: IP Address of the client computer.
Int32: Returns the number of sessions used by this client computer.
Wisej.Core.ClientProfile
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Definition of the client device.
Name | Type | Description |
---|---|---|
String: Device type.
Nullable<Boolean>: Device landscape mode.
Int32: Maximum screen width.
Int32: Maximum browser width.
Int32: Minimum screen width.
Int32: Minimum browser width.
String: Name of the profile.
String: User agent string.
Wisej.Core.Configuration
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Wisej configuration settings.
Creates a new instance from the specified json string.
Name | Type | Description |
---|
: List of allowed Url routes separated by a semicolon. i.e.: "api;product;log/performance".
: When true, the application is automatically reloaded when the session expires or is called.
The application can always override this feature by changing the Wisej.onExit method using a script.
When set to true and windows authentication is configured in web.config, every request thread and application tasks started using Application.StartTask will impersonate the current user.
Loads or retrieves the configuration file.
Wisej.Core.ClientTheme
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Represents a Wisej theme.
You can create a new custom theme based on an existing theme, empty, or initialized from a JSON string.
You can alter any aspect of a theme by using the dynamic properties: , , , , , and . These properties, being dynamic, can support any field and any structure. To alter these properties in a way that doesn't break the theme, look at the theme's structure in the ThemeBuilder or a text editor. To save a custom theme you may convert it to a JSON string simply by calling the extension method added to all objects by the Wisej framework.
Default private constructor.
Name | Type | Description |
---|
Constructs a new theme from the name and JSON definition.
Constructs a new theme from the base theme.
This is a complex dynamic object with several child objects. The structure can get quite complicated. Before messing with the Appearances object, please study the structure of the themes using the ThemeBuilder or a text editor. Being a dynamic object, you can either create a new appearance or alter an existing appearance at any level.
You can add or change any color in the current theme:
You can add or alter any font to the theme. The structure of the font definition can get complicated. Please refer to the existing themes and the ThemeBuilder to determine the structure to use. The simplest way is to change an existing theme font:
You can add or change any theme image. Images in the theme are just URLs but can be defined in several ways:
Absolute URL An URL starting with http: or https: pointing to an image resource.
Relative URL An URL relative to the current site or relative to value of Images.baseUrl.
base64 A base64 encoded embedded image.
The Settings property, added in Wisej 2, allows a theme to define certain internal properties. Currently these are the supported properties:
native-scrollbars Instructs Wisej to use the native scrollbars instead of the themed scrollbars. Setting this property can have negative side effects for virtual scrolling widgets like the DataGridView. The default is false.
overlapped-scrollbars Instructs Wisej to layout the scrollbars over the content being scrolled, similar to Windows' fluent themes or mobiles. The default is false.
The Stylesheet property is a new theme property added since Wisej 2.0. It allows a theme to define a set of CSS rules, just as if Default.html specified a css file. This property has only one string array field: "rules". When the theme is rendered, the client library joins all the rules into a css string and creates a stylesheet loaded into the browser.
Returns the resolved color defined in the theme for the specified appearance, property or style name and optionally the state.
Returns the resolved theme color from the color list.
Returns the resolved font defined in the theme for the specified appearance, property name and optionally the state.
Returns the resolved font defined from the font list.
Returns the resolved image defined in the theme for the specified appearance, property or style name and optionally the state.
Returns the resolved image defined from the image list.
Returns the size of the inset border and padding.
Returns the property value for the specified name and state within the specified appearance key.
Returns the style value for the specified name and state within the specified appearance key.
Returns true if the color is a theme color.
Returns true if the font is a theme font.
Wisej.Web.Application PageCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Holds the collection of all top-level application pages.
: Returns the total number of currently open pages.
: Returns the page at the specified index.
: Returns the first page with the specified name, the search is case insensitive.
Returns an enumerator that iterates through the open pages.
Wisej.Web.HashChangedEventArgs
Wisej.Web.Application
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represent a Wisej application session. Provides methods and events to manage the application in the context of the current session.
This class provides several static methods, properties and events that allow the application to manage all sorts of features related to the current session:
Save and retrieve session variable. Use to store and retrieve session variable. The property is a dynamic object and a , therefore you can access its properties directly or through the indexer.
Manage cookies. Use to manage browser's cookies.
Read server variables. Use to retrieve all the data made available by the server. Some of the variables in the collection are also available directly: , , , etc.
Read the application's URL. Use , , , and .
Read the applications's system information. Use , , , etc.
Listen to the application's global events. See , , , , , , and many more.
Retrieve browser related information. Use the to read the client browser type, OS, version, capabilities, screen size, browser size, language, and state. The object is updated automatically when the user resizes the browser or the page is reloaded.
Control the client browser. Start a , execute JavaScript functions or scriptlets using or . Make the browser navigate to a different URL using or simply the page.
Manage the main page or current desktop. lets you change the object that fills the browser and "navigate" from page to page. lets you change the active object on the client browser.
Manage all live components in the session. Through the class you can find, iterate, inspect all live components of any type. See for all the currently created (visible or invisible) instances of . returns all the created objects. and provide an easy way to find any component in the session or to iterate the list of components that match a custom expression.
Start background tasks in context. provides a powerful way to start a background task on the server that can keep interacting with the client browser while running independently.
Manage the application's theme. Use to load a Wisej theme into the application. Or use the object to read all sorts of information from the current .
Terminate the application without waiting for the session to timeout. Use to terminate the current session and free all the related memory.
This is the profile that best matches the current browser on the client. It is updated automatically on every request.
This property attaches the window.onbeforeunload event. See https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload. It's not possible to determine whether the page is being unloaded because the user is trying to close the tab, close the browser, or is refreshing the page, or is taking any other action that may reload the page.
The value of this property is updated automatically when the current language changes if the value of "rightToLeft" in the application configuration file is set to "auto".
Displays a simple HTMl only debug console. Works with any browser also when the developer tools are not available.
You may also alter a global theme shared by all sessions.
Adds an event filter to monitor all the incoming events before they are routed to their respective component.
EXPERIMENTAL: Adds a scoped service to the service container.
Throws:
EXPERIMENTAL: Adds a scoped service to the service container.
Throws:
Adds the text and corresponding translation to the default locale on the client.
Instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.
Executes the JavaScript function on the client and receives the return value (or null) in the callback method.
Executes the JavaScript function on the client.
Cancels the fullscreen mode.
Instructs the browser to display a dialog with an optional message, and to wait until the user either confirms or cancels the dialog. until the user dismisses the dialog.
Downloads the specified file on the client.
Downloads the specified image to the client.
Downloads the bytes in the stream to the client.
Downloads the specified file on the client.
Downloads the specified image to the client.
Downloads the bytes in the stream to the client.
Stops the polling requests from the client.
Executes the JavaScript script on the client.
Executes the JavaScript script on the client and receives the return value (or null) in the callback method.
Terminates the application and the corresponding session.
Find the first component that matches the conditions defined in the predicate function.
This method lets an application find any live component in the current session.
Finds all the components that match the conditions in the predicate function.
This method lets an application iterate through all the live components in the current session.
EXPERIMENTAL: Returns the requested service.
EXPERIMENTAL: Returns the requested service.
Throws:
Loads an assembly given the file name or path.
This method loads the assembly and, if the assembly contains Wisej components that need embedded resources - like JavaScript classes or CSS styles - that are embedded in the assembly, notifies the client with the URL to load the additional resources dynamically.
Creates an instance of the specified component from the assembly.
Changes the current theme.
Returns the full file path in relation to the application's project directory.
Navigate to the specified URL.
Plays one of the built-in sounds
Plays a sound.
Executes the callback method after all processing is completed and before updating the client.
The Post() method is similar to the BeginInvoke() method used by desktop applications. It allows you to execute a block of code out of sync with the current execution flow.
Prints the specified control.
The control is printed without the caption or the borders, if present.
Prints the entire browser window.
Instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog.
Causes the application to reload on the browser.
Removes the filter from the list of registered event filters.
EXPERIMENTAL: Removes the specified service type from the service container.
Throws:
Requests the browser to enable fullscreen mode if supported.
Executes the callback in context.
Sets the current session timeout in seconds.
Instructs the client to start polling the server for UI changes at the specified interval when a WebSocket connection is not available.
Throws:
Note that you don't have to specify the type in the angular brackets, the compiler will automatically detect the type from the return value of the asynchronous function.
Executes the optional callback in context and pushes all the pending updates to the client when in WebSocket mode.
Use this method when you need to update the client asynchronously from an out-of-bound thread (different thread, not originating from a client request). You can call this method at the end of the code that updates the UI:
Or you can use the optional action function to enclose the code that updates the UI in a block and ensure that the client is updated when the code block exits:
Set Handled to true if your application takes care of impersonation. The default implementation in Wisej is supported only in .NET Framework and the Windows platform.
Set Handled to true if your application takes care of impersonation. The default implementation in Wisej is supported only in .NET Framework and the Windows platform.
The default behavior built-in Wisej is to display a dialog asking the user to prolong the session. Set Handled to true to stop the default behavior.
Wisej.Web.Application FormCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Holds the collection of all top-level application forms.
: Returns the total number of currently open forms.
: Returns the form at the specified index.
: Returns the first form with the specified name, the search is case insensitive.
Returns an enumerator that iterates through the open forms.
: The custom function used to validate the browser. If it returns false the browser is not supported and Wisej redirects to NotSupportedUrl.
: Returns the culture set at the application's level. It can be any of the supported cultures or the keyword "auto", in which case we will detect the culture from the browser.
: Enabled/disables debug mode.
: When true, the client will not be able to access the application's controls using the object model registered with javascript under the "App" namespace.
: When true, the client drops all "execute" events triggered while there is a pending request.
: Cache-Control for embedded resources. The default is "browser" to cache the embedded resources on the browser for 1 month. Other allowed vaues are: - "server" to cache the resources on the server using the ETag header - "private, max-age=..." to use set the standard Cache-Control header - any value Cache-Control string value.
: Enables the PWA installation of the application.
: Enabled/disables the WebSocket protocol.
: Enabled/disables gzip compression when using the WebSocket protocol.
: The full path of the configuration file.
: Enables impersonation mode.
: The keep-alive interval in seconds.
: The ajax loader timeout in milliseconds.
: Full name of the first window created automatically at startup.
: Returns the maximum number of nested modal loops.
: Returns the maximum number of active sessions before redirecting to .
: Network check interval in milliseconds. The default is 1000 (1 second). If this value is set, Wisej will send a /healthcheck.wx request at the specified interval when the application goes offline.
: The URL of the page to load when the server cannot respond to the request.
: The URL of the page to load when the client browser is not supported.
: The URL of the page to load when the connection is lost.
: Native client-side platform options.
: Polling interval in milliseconds. The default is zero (disabled). If this value is set, the polling starts when the application is loaded.
The polling interval determines the frequency of the automatic poll requests coming from the client when a WebSocket connection is not available. When the client is connected using a WebSocket channel, this value is ignored. An application that wants to enable automatic client updates in absence of a WebSocket connection can set this value, or it can call and to start and terminate the automatic polling from the client. Both methods are ignored when the client is using a WebSocket connection.
: The timeout for the server to respond to a wisej request in seconds.
: Returns the rightToLeft mode. It can be "true", "false", or "auto". When set to "auto" the RightToLeft layout is enabled automatically using the current language. The default is "auto".
: Forces the client to switch to a secure connection (HTTPS and WSS).
: Where to save the session id on the client. The default is "session" to indicate the browser's sessionStorage. It can be changed to "local" to indicate the browser's localStorage.
: The session timeout in seconds. The timeout is enforced on the client side.
: Application settings.
: Shows the loader animated gif while initializing the application.
: Returns whether this Wisej application is running in a standalone host (Wisej.Application.exe).
: The startup Main method.
: Theme name.
: ThreadPool min/max configuration, null by default.
: Url redirection.
: Verifies the client fingerprint when retrieving a session. It prevents session hijacking over unsecured connections.
Parameter | Type | Description |
---|
Returns: .
Fired when the system needs to load a Wisej configuration file.
An application can install a custom configuration handler and return a custom object. This is a static event and should be attached to before the application starts. One way to do that is to register an HttpModul with IIS, or a middleware for .NET Core, and attach to the event there.
Name | Type | Description |
---|
Name | Type | Description |
---|
: Theme appearances.
: Theme colors.
: Theme fonts.
: Theme images.
: The name of the theme.
: Theme settings.
: Stylesheet rules embedded in the theme.
Parameter | Type | Description |
---|
Returns: . A representing the color in the theme.
Parameter | Type | Description |
---|
Returns: . A representing the color in the theme.
Parameter | Type | Description |
---|
Returns: . A representing the queried font or null if not found.
Parameter | Type | Description |
---|
Returns: . A representing the queried font or null if not found.
Parameter | Type | Description |
---|
Returns: . A representing the queried image or null if not found. SVG images at runtime always return null, they are resolved only at design time.
Parameter | Type | Description |
---|
Returns: . A representing the queried image or null if not found. SVG images at runtime always return null, they are resolved only at design time.
Parameter | Type | Description |
---|
Returns: . Dimension of the border and optionally the padding as a value
Parameter | Type | Description |
---|
Returns: . The typed value of the requested property, or default(T) if not found.
Parameter | Type | Description |
---|
Returns: . The typed value of the requested style, or default(T) if not found.
Parameter | Type | Description |
---|
Returns: . True if color is a theme color.
Since the theme may also define , using on a system color returns false, but the rendering on the browser will use the color in the theme, if defined.
Parameter | Type | Description |
---|
Returns: . True if font is a theme font.
Theme fonts (font's with the starting with "@") are always rendered using the definition in the theme for their size and style. However, an application may use a theme font and change the size and style. In this case, the is the theme name without the "@". If the name of the font (which could be a system name like "Arial") matches a theme font, Wisej will use the theme font but it uses the size and style set by the application.
Returns the resolved with the proper RGB values. If the color specified in color is a theme color, the value is resolved from the current theme, otherwise the original color is returned.
Parameter | Type | Description |
---|
Returns: . A instance with the resolved RGB values.
Returns the resolved from the theme font. If the font is a theme font, the value is resolved from current theme.
Parameter | Type | Description |
---|
Returns: . A instance that can be used directly.
Name | Description |
---|
Returns: .
There is a lot more exposed by the class. You can inspect all the properties and methods in Visual Studio through IntelliSense or online at .
: Returns or sets the current client responsive profile.
: Returns or sets the client browser information.
: Returns the current unique client id.
: Returns a collection of all the unique client browsers using the application.
: Returns the path for the application data that is shared among all users.
: Returns the registry key for the application data that is shared among all users.
: Returns the company name associated with the application stored in the .
: Returns the current .
: Collection of cookies.
: Returns the application component instance that an application can store and use later to restore the context when updating client widgets during an out-of-bound call using the method.
Threads that are not started using don't have any knowledge of the current session and don't have a way to communicate with the client The property returns the instance of the class that is bound to the current session. It can be used just like any other component with the method or to restore the session for the current thread. The advantage of using instead of the instance of a control or a page is to avoid to keep a reference to a component that may be disposed by the application.
: Returns or sets the current for the session.
: Returns or sets the current Desktop.
: Returns or sets whether the browser will ask the user to confirm unloading the current page.
: Returns the path for the application's main assembly.
: Returns or sets the favicon to display in the browser.
: Returns or sets the URL to the favicon to display in the browser.
: Returns or sets the hash part of the URL on the client.
: Returns a value indicating whether the session has been authenticated.
: Indicates that the current application instance, which corresponds to the session, has been terminated and disposed.
: Returns true when the current session has expired.
: Returns true if this session is running in secure mode (https:// and wss://)
: Returns true when the current session has been terminated.
: Returns true if the current session is connected using WebSocket.
: Returns or sets the runtime server license key.
Setting the programmatically has to be done before the application is loaded. The best place is the static constructor for the Program static class, or the static constructor of the main window (if defined in Default.js).
: Returns or sets the current full page window.
: Returns a collection of open forms owned by the application.
: Returns a collection of open pages owned by the application.
: The name of the currently loaded platform.
: Returns the product name associated with this application.
: Returns the product version associated with this application stored either in or .
: Returns the parameters used to launch the application.
: Returns or sets whether all the controls in the applications should operate using the right-to-left mode.
: Returns true when the application is running in not in design, debug or test mode.
: Returns the server's host name, DNS alias, or IP address as it would appear in self-referencing URLs.
: Returns the port number to which the request was sent.
: Returns the server variables.
: Provides a generic storage for session-based objects.
: Returns the total number of currently active sessions.
: Returns the unique current session ID.
: Shows or hides the debug console on the browser.
: Returns or sets whether the browser is blocked by the Ajax loader.
: Returns the root path of the web application.
: Returns the URI used to start the application.
: Returns the URL used to start the application.
: Returns or sets the current .
You can create and modify a new custom theme using the class. The new theme can be based on an existing theme, can be empty, or can be initialized from a JSON string.
: Returns or sets the page title in the browser.
: Returns the current used either to launch or reload the application. It may be different from .
: Returns the current URL used either to launch or reload the application. It may be different from .
: Returns the security information for the current request.
: Returns the raw user agent string of the client browser.
: Returns the IP host address of the remote client.
: Returns the DNS name of the remote client.
: Returns the type for the current user.
: Gets a sorted string array of client language preferences.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
serviceType is null.
A service of type serviceType already exists.
Parameter | Type | Description |
---|
serviceType is null.
A service of type serviceType already exists.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . An awaitable that represents the asynchronous operation.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Asynchronously executes the JavaScript function on the client and returns an awaitable with the result of the remote call.
Parameter | Type | Description |
---|
Returns: . An awaitable that represents the asynchronous operation.
Parameter | Type | Description |
---|
Returns: . An awaitable that represents the asynchronous operation.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Asynchronously executes the JavaScript script on the client and returns an awaitable with the result of the remote call.
Parameter | Type | Description |
---|
Returns: . An awaitable that represents the asynchronous operation.
Parameter | Type | Description |
---|
Returns: . The first qualified by the match expression.
Parameter | Type | Description |
---|
Returns: . The list of instances qualified by the match expression.
Parameter | Type | Description |
---|
Returns: . An instance of the service T or null if the service is not found.
Parameter | Type | Description |
---|
Returns: . An instance of serviceType or null if the service is not found.
serviceType is null.
Parameter | Type | Description |
---|
Returns: . The loaded .
Parameter | Type | Description |
---|
Returns: . An instance of a Wisej component implementing the interface.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: .
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . The full path relative to the current application's root directory.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Returns: . An awaitable that represents the asynchronous operation.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
serviceType is null.
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|
Calling this method when is true has no effect. Use client side polling when you know that your code will start a background task that needs to update the client asynchronously (push updates) and your server or clients don't support WebSocket connections. Once the background tasks are completed call to reduce the incoming requests from the client.
The interval specified is less than 1.
Starts a new task within the current application context and returns immediately. See also .
Parameter | Type | Description |
---|
Returns: . An awaitable .
The task runs in the background but it's still capable of updating the client asynchronously when working with WebSocket by calling the method to push the UI updates to the client browser. If you want to support background updates for clients or servers that can't use the WebSocket connection, you can either add a component to the parent container to force period requests to the server, or you can use the and methods.
Starts a new task with a return value within the current application context and returns immediately. See also .
Parameter | Type | Description |
---|
Returns: .
The task runs in the background but it's still capable of updating the client asynchronously when working with WebSocket by calling the method to push the UI updates to the client browser. The generics overload of allows the task to return a value. You can use this with the async/await pattern and asynchronously wait for the task to complete. If you want to support background updates for clients or servers that can't use the WebSocket connection, you can either add a component to the parent container to force period requests to the server, or you can use the and methods.
Starts a bound to the current session context.
Parameter | Type | Description |
---|
Returns: . An instance of .
You must save a reference to the returned or the Garbage Collector will stop and dispose the timer. To alter the invocation period user Timer.Changer(), or stop the timer simply use Timer.Dispose(). See .
Parameter | Type | Description |
---|
Fired when the active window changes.
Fired when the application is about to shut down.
Fired when the application is reloaded in the browser because the user hit refresh or changed the URL.
Fired when the application is started, after the Main method is called.
Fired when the browser fires the "beforeinstallprompt" event. Corresponds to .
Fired at the beginning of every request.
Fired when the user resizes the browser.
Fired when the user activates the browser tab.
Fired when the user deactivates the browser tab.
Fired when the changes.
Fired at the end of every request.
Fired when the focused control changes.
Fired when the hash part of the URL changes on the client side.
Fired when the current thread has completed processing all the events and before the response is sent back to the client.
Fired when at the beginning of every request when impersonation is enabled in the JSON configuration file.
Fired at the end of every request when impersonation is enabled in the JSON configuration file.
Fired when a license error occurs.
Fired when the active responsive profile is changed.
Fired when the value changes.
Fired when the session is about to time out.
Fired when the current theme is changed.
Fired when a thread exception is thrown.
Name | Description |
---|
Returns: .
T | Type of the service to retrieve. |
filePath | The full path to the .json file to load. |
name | Unique name of the theme. |
json | JSON definition of the theme. |
name | Unique name of the theme. |
baseTheme | Original theme to copy into the new theme. |
appearance | The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar. |
name | The name of the property or the style value to query. |
state | The name of the state to query. It's optional. The default is "default". |
name | The name of the color to resolve from the color list. |
appearance | The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar. |
name | The name of the property value to query. |
state | The name of the state to query. It's optional. The default is "default". |
name |
appearance | The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar. |
name | The name of the property or the style value to query. |
state | The name of the state to query. It's optional. The default is "default". |
name |
appearance | The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon". |
state | The state that defines the property. It can omitted, the default state is "default". |
includePadding | Whether to include padding in the insets dimension. |
T |
appearance | The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon". |
name | The name of the property to retrieve. |
state | The state that defines the property. It can omitted, the default state is "default". |
T |
appearance | The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon". |
name | The name of the property to retrieve. |
state | The state that defines the property. It can omitted, the default state is "default". |
color | Color to check. |
font | Font to check. |
color |
font |
Allows an object to serialize itself. |
filter |
serviceType | Type of the service to add. |
serviceInstance | Instance of the serviceType or null to create it on demand. |
scope | Scope of the serviceInstance . |
serviceType | Type of the service to add. |
callback | A callback object that can create the service. This allows a service to be declared as available, but delays creation of the object until the service is requested. |
scope | Scope of the service. |
text | The text to translate. |
translation | The translation override. |
message | A string you want to display in the alert dialog. |
function | The name of the function to execute. |
callback | Asynchronous callback method that receives the return value. |
args | The arguments to pass to the function. |
function | The name of the function to execute. |
args | The arguments to pass to the function. |
function | The name of the function to execute. |
args | The arguments to pass to the function. |
message | A string you want to display in the confirm dialog. |
filePath | The file to download. |
fileName | The name of the file to save on the client. |
ondownload | Optional callback invoked when fileName is downloaded. |
image | The image to download. |
fileName | The name of the file to save on the client. |
ondownload | Optional callback invoked when fileName is downloaded. |
stream | The stream to send to the client. |
fileName | The file name the client will use to save the stream. |
ondownload | Optional callback invoked when fileName is downloaded. |
target | Specifies where to open the file. Leave empty or use "_self" to open in the current tab, _blank to open in a new tab. |
filePath | The file to download. |
fileName | The name of the file to save on the client. |
ondownload | Optional callback invoked when fileName is downloaded. |
target | Specifies where to open the file. Leave empty or use "_self" to open in the current tab, _blank to open in a new tab. |
image | The image to download. |
fileName | The name of the file to save on the client. |
ondownload | Optional callback invoked when fileName is downloaded. |
target | Specifies where to open the file. Leave empty or use "_self" to open in the current tab, _blank to open in a new tab. |
stream | The stream to send to the client. |
fileName | The file name the client will use to save the stream. |
ondownload | Optional callback invoked when fileName is downloaded. |
script | The script to evaluate. |
script | The script to evaluate. |
callback | Asynchronous callback method that receives the return value. |
script | The script to evaluate. |
match |
match |
serviceType | Type of the service to add. |
nameOrFile | The file name or full path for the assembly to load. |
nameOrFile | The file name or full path for the assembly to load. |
className |
packages |
callback |
packages |
name | Name of the theme resource. Use only the name without the path and without the extension. |
mixins | Optional list of theme mixins. If null, the default theme mixins are always applied. |
path |
url | URL to navigate to. |
target | The target browser window: _self, _blank, etc. |
type |
soundUrl | A string representing either a sound file URL or a base64 data URL. |
callback | Method to invoke after the request has completed but before sending the response to the server. |
control | The control to print, can be a window, a page or a single control. |
message | A string of text to display to the user. |
defaultValue | An optoional string containing the default value displayed in the text input field. |
filter |
serviceType | Type of the service to remove. |
context |
action | Function to execute in context. The code in the function can access all the static Application properties when executed from an out-of-bound thread. |
seconds |
interval | Polling interval in milliseconds. The minimum is 1000ms. |
action | Start method invoked by the new task when it starts up. |
T |
action | Start method invoked by the new task when it starts up. |
dueTime | The amount of time, in milliseconds, to delay before invoking the callback . |
period | The time interval between invocations, in milliseconds. |
callback | A callback method to invoke at the specified intervals. |
context |
action | Function to execute in context. The code in the function can access all the static Application properties when executed from an out-of-bound thread. |
All wisej components implement this interface. |
CookieStorage
Returns an instance of the CookieStorage class that represents the "cookies" storage in the browser.
LocalStorage
Returns an instance of the LocalStorage class that represents the "localStorage" object in the browser.
SessionStorage
Returns an instance of the SessionStorage class that represents the "sessionStorage" object in the browser.
Default
Returns the default ClientProfile singleton.
sender | The source of the event. Always null. |
args | The event data. |
Fired when the system needs to load a Wisej configuration file. |
json | The json string that defines the configuration values. |
name | Unique name of the theme. |
sender | The source of the event. |
e | A that contains the event data. |
Fired when the hash part of the URL changes on the client side. |
value | Initial hash value. |
Wisej.Core.LoadConfigurationEventArgs
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.0.0.0)
Specifies the event arguments for the LoadConfiguration event.
String: The full file path to the configuration file to load.
Boolean: When set to true, suppresses the caching of the custom Configuration object return by the custom handler for the LoadConfiguration event.
Name | Description |
---|---|
Wisej.Web.LicenseErrorEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the method that will handle the LicenseError event.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.ResponsiveProfileChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the ResponsiveProfileChanged event.
Initializes a new instance of the ResponsiveProfileChangedEventArgs class.
Name | Type | Description |
---|---|---|
ClientProfile: The new active profile.
ClientProfile: The previously active profile.
Wisej.Web.LicenseErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the LicenseError event.
Initializes a new instance of the LicenseErrorEventArgs class.
Name | Type | Description |
---|---|---|
String: Indicates the type of license error that has occurred.
Wisej.Web.ControlEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the ControlAdded and ControlRemoved events.
Initializes a new instance of the ControlEventArgs class for the specified control.
Name | Type | Description |
---|---|---|
Control: Returns the control object used by this event.
Name | Description |
---|---|
Wisej.Web.Clipboard
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides methods to place data on and retrieve data from the system Clipboard. This class cannot be inherited.
Removes all data from the Clipboard.
Indicates whether there is data on the Clipboard in the WaveAudio format.
Returns: Boolean. true if there is audio data on the Clipboard; otherwise, false.
Indicates whether there is data on the Clipboard that is in the specified format or can be converted to that format.
Parameter | Type | Description |
---|---|---|
Returns: Boolean. true if there is data on the Clipboard that is in the specified format or can be converted to that format; otherwise, false.
Indicates whether there is data on the Clipboard that is in the FileDrop format or can be converted to that format.
Returns: Boolean. true if there is a file drop list on the Clipboard; otherwise, false.
Indicates whether there is data on the Clipboard that is in the Bitmap format or can be converted to that format.
Returns: Boolean. true if there is image data on the Clipboard; otherwise, false.
Indicates whether there is data on the Clipboard in the Text or UnicodeText format, depending on the operating system.
Returns: Boolean. true if there is text data on the Clipboard; otherwise, false.
Indicates whether there is text data on the Clipboard in the format indicated by the specified TextDataFormat value.
Returns: Boolean. true if there is text data on the Clipboard in the value specified for format ; otherwise, false.
Retrieves an audio stream from the Clipboard.
Returns: Stream. A Stream containing audio data or null if the Clipboard does not contain any data in the WaveAudio format.
Retrieves data from the Clipboard in the specified format.
Returns: Object. An Object representing the Clipboard data or null if the Clipboard does not contain any data that is in the specified format or can be converted to that format.
Retrieves the data that is currently on the system Clipboard.
Returns: IDataObject. An IDataObject that represents the data currently on the Clipboard, or null if there is no data on the Clipboard.
Retrieves a collection of file names from the Clipboard.
Returns: StringCollection. A StringCollection containing file names or null if the Clipboard does not contain any data that is in the FileDrop format or can be converted to that format.
Retrieves an image from the Clipboard.
Returns: Image. An Image representing the Clipboard image data or null if the Clipboard does not contain any data that is in the Bitmap format or can be converted to that format.
Retrieves text data from the Clipboard in the Text or UnicodeText format, depending on the operating system.
Returns: String. The Clipboard text data or Empty if the Clipboard does not contain data in the Text or UnicodeText format, depending on the operating system.
Retrieves text data from the Clipboard in the format indicated by the specified TextDataFormat value.
Returns: String. The Clipboard text data or Empty if the Clipboard does not contain data in the specified format.
Saves the Byte array in the WaveAudio format after converting it to a Stream to the clipboard.
Throws:
ArgumentNullException audioBytes is null.
Saves the Stream in the WaveAudio format to the clipboard.
Throws:
ArgumentNullException audioStream is null.
Saves the text data to the client's temporary clipboard. Client side javascript code can copy the clipboard's content to the browser's clipboard calling Wisej.Core.copy();
Throws:
ArgumentNullException text is null.
Saves the specified data to the clipboard in the specified format.
Throws:
ArgumentNullException data is null.
Saves the specified data to the clipboard.
Throws:
ArgumentNullException The value of data is null.
Saves the collection of file names in the FileDrop format to the clipboard.
Throws:
ArgumentNullException filePaths is null.
ArgumentException filePaths does not contain any strings, or at least one of the strings in filePaths is empty, contains only white space, contains one or more invalid characters as defined by InvalidPathChars, is null, contains a colon (:), or exceeds the system-defined maximum length. See the InnerException property of the ArgumentException for more information.
Saves the Image in the Bitmap format to the clipboard
Throws:
ArgumentNullException image is null.
Saves the text data in the UnicodeText format to the clipboard.
Throws:
ArgumentNullException text is null or Empty.
Saves the text data in the format indicated by the specified TextDataFormat value to the clipboard.
Throws:
ArgumentNullException text is null.
Wisej.Web.Control ControlCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a collection of Control objects.
Initializes a new instance of the ControlCollection class.
Name | Type | Description |
---|---|---|
Boolean: Returns whether the owner control has already been disposed.
Control: Returns the Control at the specified indexed location.
Control: Returns the Control with the specified key in the collection.
Control: Returns the control that owns this ControlCollection.
Adds the specified control to the control collection.
Adds an array of control objects to the collection.
Removes all controls from the collection.
Removes and disposes all controls from the collection.
Determines whether the specified control is a member of the collection.
Returns: Boolean. true if the Control is a member of the collection; otherwise, false.
Determines whether the ControlCollection contains an item with the specified key.
Returns: Boolean. true if the ControlCollection contains an item with the specified key; otherwise, false.
Searches for controls by their type and builds an array of all the controls that match.
Returns: Control[]. Array of controls that are derived from the specified type .
Throws:
ArgumentNullException type is null.
Searches for controls by their name and builds an array of all the controls that match.
Returns: Control[]. Array of controls with the specified name.
Throws:
ArgumentNullException The key parameter is null or an empty string ("").
Retrieves the index of the specified child control within the control collection, and optionally raises an exception if the specified control is not within the control collection.
Returns: Int32. A zero-based index value that represents the location of the specified child control within the control collection; otherwise -1 if the specified Control is not found in the ControlCollection.
Throws:
ArgumentException The child Control is not in the ControlCollection, and the throwException parameter value is true.
Retrieves a reference to an enumerator object that is used to iterate over a ControlCollection.
Returns: IEnumerator. An IEnumerator.
Retrieves the index of the specified control in the control collection.
Returns: Int32. A zero-based index value that represents the position of the specified Control in the ControlCollection.
Retrieves the index of the first occurrence of the specified item within the collection.
Returns: Int32. The zero-based index of the first occurrence of the control with the specified name in the collection.
Removes the specified control from the control collection.
Removes the child control with the specified key.
Sets the index of the specified child control in the collection.
Wisej.Web.Control
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Base class for all Wisej controls.
Initializes a new instance of the Control class.
String: Returns or sets the description that will be reported to accessibility client applications. It is assigned to the "alt" attribute of the browser element.
String: Returns or sets the name of the control for use by accessibility client applications. It is assigned to the "name" attribute of the browser element.
AccessibleRole: Returns or sets the accessible role of the control that will be reported to accessibility client applications. It is assigned to the "role" attribute of the browser element.
Boolean: Returns or sets whether the control can initiate a drag-drop operation.
Boolean: Returns or sets whether the control can accept data that the user drags onto it.
AnchorStyles: Returns or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
Boolean: Returns or sets whether the control receives pointer events. Anonymous controls let pointer events bubble to their parents.
String: Sets the appearance key for the theme engine.
Color: Returns or sets the background color for the control.
Image: Returns or sets the background image displayed in the control.
ImageLayout: Returns or sets the background image layout as defined in the ImageLayout enumeration.
String: Returns or sets the background image displayed in the control.
Boolean: Returns a flag indicating that the control is becoming the active control.
BindingContext: Returns or sets the BindingContext for the control.
Int32: Returns the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
Rectangle: Returns or sets the size and location of the control including its non-client area, in pixels and relative to the parent control.
Boolean: Determines whether the control can execute a command.
Boolean: Returns whether the control can receive focus.
Boolean: Returns whether the control can be selected.
Boolean: Returns or sets whether the control has captured the mouse.
Boolean: Returns or sets whether the control causes validation to be performed on controls that require to be validated when this control receives focus.
ClientEventCollection: Returns a collection of client events and JavaScript listeners. You may attach multiple listeners to same event.
You can use this collection at design time or in code or through the listener methods:
Rectangle: Returns the client rectangle of the control.
Size: Returns or sets the height and width of the client area.
Boolean: Indicates whether the control, or one of its child controls, has the input focus.
ContextMenu: Returns or sets the shortcut menu associated with the control.
ControlCollection: Returns the collection of controls contained within the control.
Boolean: Returns a value indicating whether the control has been created.
String: Returns or sets additional CSS class names to add to the widget.
Use this property to add or remove custom CSS classes that you may add to your application as standard css files or through the StyleSheet extender. You can assign multiple class names separated by a space and you can manage this property using the related methods:
String: Returns or sets the custom CSS styles to add to the widget.
You can use any CSS style string.
Cursor: Returns or sets the cursor that is displayed when the mouse pointer is over the control.
ControlBindingsCollection: Returns the data bindings for the control.
Color: Returns the default background color of the control.
Font: Returns the default font of the control.
Color: Returns the default background color of the control.
Rectangle: Returns the rectangle that represents the virtual display area of the control.
Boolean: Returns whether the control is in the process of disposing itself and child controls.
DockStyle: Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
Boolean: Returns or sets whether the control can respond to user interaction.
Boolean: Enables or disables the browser's context menu.
Boolean: Returns or sets whether the control can gain the focus.
Boolean: Returns a value indicating whether the control has input focus.
Font: Gets or sets the font of the text displayed by the control.
Color: Returns or sets the text color of the control.
IntPtr: Returns the unique server-side id (handle) for this component.
Boolean: Returns whether the control contains any child control.
Boolean: Returns whether the control specifies data bindings.
Boolean: Check if the control defines any responsive profile without forcing the creation of the collection.
Boolean: Checks if the UserData dynamic object was created and has any value.
Int32: Returns or sets the height of the control.
String: Returns or sets an initialization script to execute when the widget is created (or reloaded) in the browser.
Use this property to add custom initialization JavaScript that is always executed when the client widget is created. The context (this) of the script is the instance of the widget. You can use the entire qooxdoo and wisej.js api. See #qx and wisej-js.
You may also use the init script to attach events to the widget or to its internal children. Event handlers can also be attached using the ClientEvents collection and the client events methods:
Boolean: Returns whether the control has been disposed.
Boolean: Returns if the control has a server-side component id (handle) associated with it.
Boolean: Returns whether the control is mirrored.
LayoutEngine: Returns the control's layout engine.
Int32: Returns or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
Point: Returns or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
Padding: Returns or sets the space between controls.
Size: Returns or sets the maximum size for the control.
Size: Returns or sets the minimum size for the control.
Keys: Returns a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.
MouseButtons: Returns a value indicating which of the mouse buttons is in a pressed state.
Point: Returns the position of the mouse cursor in screen coordinates.
Boolean: Returns or sets whether the control can be moved by dragging.
String: Gets or sets the name of the control.
Padding: Returns or sets padding within the control.
Control: Returns or sets the parent container of the control.
Size: Returns the preferred size in which the control can fit.
AnchorStyles: Returns or sets the edges of the control that can be dragged to resize the control.
ResponsiveProfileCollection: Returns the collection of responsive properties that have been set for this control.
Int32: Return the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
RightToLeft: Returns or sets whether the control's elements are aligned right-to-left to support RTL languages.
When set to Inherit, the control inherits the value of this property from its parent. However, when the control is a top-level control (i.e. Window, Page, Desktop), and the value is set to Inherit, the right-to-left mode is automatically retrieved from the current language.
The behavior of this property is configurable in Default.json setting the "rightToLeft" property to "true", "false", or "auto". The default is "auto", causing the value to be retrieved from the current language.
Boolean: Returns or sets whether the text in the control can be selected in the browser by the user by dragging the pointer. [Since 2.5.22]
Not to be confused with Selectable, which corresponds to the Focusable property. When Selectable is set to true, the text of the control (i.e. a label or a button) can be highlighted in the browser and copied to the clipboard. It will also make the widget "focusable" but only in the browser.
Boolean: Returns or sets whether the control is blocked by the ajax loader.
Size: Returns or sets the height and width of the control.
String[]: Returns or sets additional theme states to the client widget.
Use this property to manage additional custom states that you may want to add to a widget. The state will update the visualization of the widget using the styles and properties set in the current theme and loaded theme mixins. You can also force the usage of built-in states. However, this property will not return the current states of the widget as updated by the client browser. It only returns the states set by the application.
In addition to setting this property directly, you can also manage it using the related methods:
Int32: Returns or sets the tab order of the control within its container.
Boolean: Returns or sets whether the user can give the focus to this control using the TAB key and the Focusable property is set to true.
Object: Returns or sets the object that contains data about the control.
String: Returns or sets the text associated with this control.
When AllowHtml is set to true, the text can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with " ".
String: Returns or sets the tooltip text to show for this control.
When using ToolTipText property you can only set the ToolTip text and cannot change the default ToolTip icon set in the theme. To change the ToolTip icon you can either create a custom theme, or a theme mixin, or use the ToolTip extender and the ToolTipText property added by the extender. You can change the default ForeColor, AutomaticDelay, InitialDelay, AutoPopDelay, or enable HTML in ToolTipText by using a ToolTip extender also without setting the ToolTipText property added by the extender.
Int32: Returns or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
Control: Returns the parent control that is not parented by another Form. Typically, this is the outermost Form that the control is contained in.
Object: Returns a dynamic object that can be used to store custom data in relation to this control.
Boolean: Returns or sets whether to use the wait cursor for the current control and all child controls.
Boolean: Returns a flag indicating that the validation has been canceled.
Boolean: Returns or sets whether the control and all its child controls are displayed.
Int32: Returns a value indicating the wheel delta from the last wheel event.
Int32: Returns or sets the width of the control.
Adds a new listener script to the event name to the client widget.
Returns: Int32. An integer id that you can use to remove the listener from the event using RemoveClientEventListener or to retrieve the listener script code using GetClientEventListener.
The script will execute in the browser when the event name occurs. You can attach multiple listeners to the same event.
Adds the CSS class name to the widget element. If the class already exists in the CssClass it's not added.
Returns: String. The new value of the CssClass property.
Adds the specified theme state to the widget.
Returns: String[]. The new list of states stored in the States property.
You can also assign a new array of states to the States property.
Executes the specified delegate asynchronously.
Returns: IAsyncResult. An IAsyncResult that represents the result of the BeginInvoke operation.
Executes the specified delegate asynchronously.
Returns: IAsyncResult. An IAsyncResult that represents the result of the asynchronous call.
Brings the control to the front of the z-order.
Runs the JavaScript function within the component's context in the browser.
Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.
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.
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Centers the position of the control within the bounds of the parent.
Centers the position of the control within the bounds of the parent either horizontally, vertically or both.
Indicates whether the specified control is a child of this control.
Returns: Boolean. true if the specified control is a child of the control; otherwise, false.
Creates and register this control and all its children.
Begins a drag-and-drop operation.
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Begins a drag-and-drop operation.
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Begins a drag-and-drop operation.
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Begins a drag-and-drop operation.
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Begins a drag-and-drop operation.
Returns: DragDropEffects. A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.
Retrieves the return value from the asynchronous operation represented by asyncResult .
Returns: Object. The return value from the asynchronous operation.
Runs the javaScript code within the component's context in the browser.
Runs the javaScript code within the component's context in the browser and returns the value to the callback method.
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.
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Retrieves the form that the control is on.
Returns: Form.
Retrieves the page that the control is on.
Returns: Page.
Sets input focus to the control.
Returns: Boolean. true if the input focus request was successful; otherwise, false.
Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
Returns: Control. The child Control at the specified coordinates.
Retrieves the child control that is located at the specified coordinates.
Returns: Control. A Control that represents the control that is located at the specified point.
Returns the script associated to the listener identified by id .
Returns: String. JavaScript associated with the listener.
Returns the scripts for all the listeners attached to the event name .
Returns: String[]. String array containing the scripts for the listeners attached to the event.
Returns the next IContainerControl up the control's chain of parents.
Returns: IContainerControl. The parent IContainerControl.
Retrieves the next control forward or back in the tab order of child controls.
Returns: Control. The next Control in the tab order.
Retrieves the value of the specified control style bit for the control.
Returns: Boolean. true if the specified control style bit is set to true; otherwise, false.
Checks whether the specified event name has any listener attached.
Returns: Boolean. True if the event name has any listener attached.
Returns true if the property CssClass contains the specified class name .
Returns: Boolean. True of the css class name is already included in CssClass.
Checks whether the specified theme state is present in the States property.
Returns: Boolean. True if the widget already has the state .
Conceals the control from the user.
Causes the control to update the client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Causes the control to update the client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Executes the specified delegate.
Returns: Object. The return value from the delegate being invoked, or null if the delegate has no return value.
Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
Returns: Object. An Object that contains the return value from the delegate being invoked, or null if the delegate has no return value.
Determines whether the specified character is the mnemonic character.
Returns: Boolean. true if the charCode character is the mnemonic character; otherwise, false.
Arranges all the child Control using the specified dock style, spaced by spacing pixels.
Arranges all the child Control using the specified dock style, spaced by spacing pixels.
Arranges all the child Control using the specified dock style, spaced by spacing pixels.
Arranges all the child Control using the specified dock style, spaced by spacing pixels.
Arranges all the child Control in the specified direction , spaced by spacing pixels.
Arranges all the child Control in the specified direction , spaced by spacing pixels, and constrained within the specified viewArea .
Arranges the specified child controls in the specified direction , spaced by spacing pixels.
Throws:
ArgumentException One of the controls is not a child of this control.
Arranges the specified child controls in the specified direction , spaced by spacing pixels, and constrained within the specified viewArea .
Throws:
ArgumentException One of the controls is not a child of this control.
Forces the control to apply layout logic to all its child controls.
Forces the control to apply layout logic to all its child controls.
Computes the location of the specified screen point into client coordinates.
Returns: Point. A Point that represents the converted Point, point , in client coordinates.
Computes the location of the specified client point into screen coordinates.
Returns: Point. A Point that represents the converted Point, point , in screen coordinates.
Computes the size and location of the specified screen rectangle in client coordinates.
Returns: Rectangle. A Rectangle that represents the converted Rectangle, rect , in client coordinates.
Computes the size and location of the specified client rectangle in screen coordinates.
Returns: Rectangle. A Rectangle that represents the converted Rectangle, rect , in screen coordinates.
Forces the control to update corresponding client widget. When in DesignMode it forces a full redraw of the designer surface for this control, including the non-client areas such as the caption of forms or panels.
Forces the control to update 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.
Detaches and removes the listener identified by id .
Returns: Boolean. True if the id specified a valid lister and it was removed; otherwise false if id is invalid.
Removes all the listeners attached to the event name .
Returns: Boolean. True if the event name has any listener that was removed.
Removes the specified css class name from the control's CssClass property.
Returns: String. The new value of the CssClass property.
Removes the specified theme state from the widget.
Returns: String[]. The new list of states stored in the States property.
You can also assign a new array of states to the States property.
Removes all the data bindings from the control.
Resumes layout logic.
Resumes layout logic, optionally forcing an immediate layout of all pending layout requests.
Scrolls the control into view in the container using the specified alignX and alignY preferences.
Scrolls the child control into view.
Activates a control.
Activates the next control in the list according to the specified selection rules.
Returns: Boolean. true if a control was activated; otherwise, false.
Sends the control to the back of the z-order.
Sets the bounds of the control to the specified location and size.
Sets the specified bounds of the control to the specified location and size.
Displays the control to the user.
Suspends the layout logic for the control.
Causes the control to update the corresponding client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Validates all the child controls in the container. Exactly which controls are validated and which controls are skipped is determined by flags .
Returns: Boolean. true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.
Validates all selectable child controls in the container, including descendants. This is equivalent to calling ValidateChildren(ValidationConstraints.Selectable). See Selectable for details of exactly which child controls will be validated.
Returns: Boolean. true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.
EventHandler Fired after the control has been fully rendered on the client.
This is a "lazy" event. It fires only when there is an handler attached to it, otherwise the companion On{Name} protected method is not invoked. It's enough to attach to either one of Appear or Disappear to enable both events.
EventHandler Fired when the AutoSize property value changes.
EventHandler Fired when the value of the BackColor property changes.
EventHandler Fired when the value of the BackgroundImage property changes.
EventHandler Fired when the BackgroundImageLayout property changes.
EventHandler Fired when the value of the BecomingActiveControl property changes.
EventHandler Occurs when the value of the BindingContext property changes.
EventHandler Fired when the value of the CausesValidation property changes.
EventHandler Fired when the control is clicked.
EventHandler Fired when the ClientSize property value changes.
EventHandler Fired when the value of the ContextMenu property changes.
ControlEventHandler Fired when a new control is added to the ControlCollection.
EventHandler Fired when a control is made visible the first time, fully created and sent to the client.
ControlEventHandler Fired when a control is removed from the ControlCollection.
EventHandler Fired when the value of the Cursor property changes.
EventHandler Fired after the control is no longer visible on the client.
This is a "lazy" event. It fires only when there is an handler attached to it, otherwise the companion On{Name} protected method is not invoked. It's enough to attach to either one of Appear or Disappear to enable both events.
EventHandler Fired when the component is disposed.
EventHandler Fired when the value of the Dock property changes.
EventHandler Fired when the control is double-clicked.
DragEventHandler Fired when a drag-and-drop operation is completed.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when a drag-drop operation is terminated either by a drop or canceled.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
DragEventHandler Fired when an object is dragged into the control's bounds.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when an object is dragged out of the control's bounds.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
DragEventHandler Fired when an object is dragged over the control's bounds.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when a drag-drop operation is started by the user.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the Enabled property value has changed.
EventHandler Fired when a control is Movable and the user ends the move operation.
This event fires only when Movable is true and the user moves the widget on the client. It doesn't fire when the Location property changes.
EventHandler Fired when a control has ResizableEdges and the user ends the resize operation.
This event fires only when the ResizableEdges has a value different than None and the user resizes the widget on the client. It doesn't fire when the Size of the control changes.
EventHandler Fired when the control gains the input focus.
EventHandler Fired when the Font property value changes.
EventHandler Fired when the ForeColor property value changes.
EventHandler Fired when the control gains the focus.
HelpEventHandler Fired when the user requests help for a control by pressing F1.
EventHandler Fired when the ImeMode property has changed.
KeyEventHandler Fired when a key is pressed while the control has focus.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
KeyPressEventHandler Fired when a key is pressed while the control has focus.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
KeyEventHandler Fired when a key is released while the control has focus.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
LayoutEventHandler Fired when a control should reposition its child controls.
EventHandler Fired when the control loses the input focus.
EventHandler Fired when the Location property value has changed.
EventHandler Fired when a pointer holds on the screen.
EventHandler Fired when the control loses focus.
EventHandler Fired when the control's margin changes.
EventHandler Fired when the control loses mouse capture.
MouseEventHandler Fired when the control is clicked by the mouse.
MouseEventHandler Fired when the control is double clicked by the mouse.
MouseEventHandler Fired when the mouse pointer is over the control and a mouse button is pressed.
EventHandler Fired when the mouse pointer enters the control.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the mouse pointer rests on the control.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the mouse pointer leaves the control.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
MouseEventHandler Fired when the mouse pointer is moved over the control.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
MouseEventHandler Fired when the mouse pointer is over the control and a mouse button is released.
MouseEventHandler Fired when the mouse wheel moves while the control has focus.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the control's padding changes.
PaintEventHandler Fired when a UserPaint control needs to redraw itself.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the Parent property value changes.
PinchEventHandler Fired when two finger moved towards or away from each other. It contains the scaling factor of the pinch.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
PreviewKeyDownEventHandler Fired before the KeyDown event when a key is pressed while focus is on this control.
QueryContinueDragEventHandler Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the control is resized.
ResponsiveProfileChangedEventHandler Fired when the active responsive profile is changed.
EventHandler Fired when the RightToLeft property value changes.
RotateEventHandler Fired when two finger moved around a single point. It contains the angle of the rotation.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the Size property value changes.
EventHandler Fired when a control is Movable and the user begins the move operation.
This event fires only when Movable is true and the user begins moving the widget on the client.
EventHandler Fired when a control has ResizableEdges and the user begins the resize operation.
This event fires only when the ResizableEdges has a value different than None and the user begins resizing the widget on the client.
EventHandler Fired when the control style changed.
SwipeEventHandler Fired when a pointer swipes over the screen.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the TabIndex property value has changed.
EventHandler Fired when the value of the TabStop property changes.
EventHandler Fired when a pointer taps on the screen.
EventHandler Fired when the Text property value changes.
TouchEventHandler Fired when a touch point has been disrupted in an implementation-specific manner (for example, too many touch points are created).
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
TouchEventHandler Fired when a touch point is removed from the touch surface.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
TouchEventHandler Fired when a touch point is moved along the touch surface.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
TouchEventHandler Fired when a touch point is placed on the touch surface.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
TrackEventHandler Fired when a pointer grabs an item and moves the pointer on it.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
EventHandler Fired when the control is finished validating.
CancelEventHandler Fired when the control is validating.
EventHandler Fired when the Visible property value changes.
WidgetEventHandler Fired when the control receives a custom event from the client.
JavaScript code can fire any event back to a control, including custom data, using:
On the server side, the event name and event data are available in the WidgetEvent handler:
Wisej.Web.ControlEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the method that will handle the ControlAdded and ControlRemoved events of the Control class.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.DragEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the , , or event.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns which drag-and-drop operations are allowed by the originator (or source) of the drag event.
Wisej.Web.HelpEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the event.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns or sets a value indicating whether the help event was handled.
: Returns the that had the focus when the user pressed F1.
Wisej.Web.JavaScript ClientEvent
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represent a JavaScript event and the corresponding code to execute on the client when the event is fired.
: Returns or sets the name of the event. Not all events are available to all controls, which events are fired depends on the widget that corresponds to the control.
: Returns or sets the JavaScript handler for the event.
Wisej.Web.KeyPressEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the event.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns or sets whether the event was handled.
: Returns or sets the character corresponding to the key pressed.
Wisej.Web.KeyEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the or event.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns whether the ALT key was pressed.
: Returns whether the CTRL key was pressed.
Returns whether the Alt key is pressed.
Returns whether the Control key is pressed.
Returns whether the Shift key is pressed.
The of the value to retrieve.
The of the value to retrieve.
The to resolve to a usable value.
The to resolve to a usable instance.
An object that implements the interface to add to the filter list.
A custom expression used to match the to find.
A custom expression used to match the list of objects to find.
One of value that identifies the sound to play.
An object that implements the interface to remove from the filter list.
The application context to update. It can be any Wisej component or the returned by the property .
The application context to update. It can be any Wisej component or the returned by the property .
Represents the method that will handle the event.
Represents the method that will handle the event.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
: Specify the types of files that the server accepts (that can be submitted through a file upload).
The allowed files string follows the HTML 4.01 and HTML5 specifications. You can configure only one entry in the browser's file dialog. The syntax is "file_extension|audio/|video/|image/*|media_type". Look at for a complete list of standard media types.
: Returns the that contains the data associated with this event.
: Returns the component that started the drag operation by calling . [Since 2.5.32]
: Returns the original target of the drag operation.
: Returns or sets the target drop effect in a drag-and-drop operation.
: Returns the containing the files that have been dropped on the target, or null.
: Returns or sets the custom image displayed on the client to represent the drag action.
: Returns or sets the size in pixels of the custom image displayed on the client to represent the drag action.
: Returns or sets the custom image source displayed on the client to represent the drag action.
: Returns the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
: Returns the location of the mouse or pointer event, in screen coordinates.
: Returns the x-coordinate of the mouse or pointer, in screen coordinates.
: Returns the y-coordinate of the mouse or pointer, in screen coordinates.
Name | Description |
---|
Name | Description |
---|
Name | Description |
---|
: Returns or sets whether the event was handled.
: Returns the keyboard code..
: Returns the key data.
: Returns the keyboard value.
: Returns the modifier flags indicating which combination of CTRL, SHIFT, and ALT keys was pressed.
: Returns a value indicating whether the SHIFT key was pressed.
Returns: .
Returns: .
Returns: .
Name | Description |
---|
sender
The source of the event.
e
A ResponsiveProfileChangedEventArgs that contains the event data.
Fired when the active responsive profile is changed.
Fired when the active responsive profile is changed.
sender
The source of the event.
e
A LicenseErrorEventArgs that contains the event data.
Fired when a license error occurs.
Represents the method that will handle the Application.ResponsiveProfileChanged event.
QXDesktop
Desktop platform by qooxdoo.
The platform provider.
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.
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 an individual menu item that is displayed within a MainMenu or ContextMenu and always shows a checkbox next to the label.
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 panel in a StatusBar control.
Represents an item in the ToolBar.
All wisej components implement this interface.
Allows an object to serialize itself.
format
One of the TextDataFormat values.
format
The format of the data to retrieve. See DataFormats for predefined formats.
format
One of the TextDataFormat values.
audioBytes
A Byte array containing the audio data.
audioStream
A Stream containing the audio data.
text
The text to save to the client's temporary clipboard.
format
The format of the data to set. See DataFormats for predefined formats.
data
An Object representing the data to add.
data
The data to place on the Clipboard.
filePaths
A StringCollection containing the file names.
image
The Image to add to the Clipboard.
text
The text to add to the Clipboard.
text
The text to add to the Clipboard.
format
One of the TextDataFormat values.
child
The Control to add.
controls
An array of Control objects to add to the collection.
dispose
Indicates whether the controls removed from the collection should be disposed.
control
The Control to locate in the collection.
key
The key to locate in the ControlCollection.
type
The type of the controls to locate in the ControlCollection.
searchAllChildren
true to search all child controls; otherwise, false.
key
The key to located in the ControlCollection.
searchAllChildren
true to search all child controls; otherwise, false.
child
The Control to search for in the control collection.
throwException
true to throw an exception if the Control specified in the child parameter is not a control in the ControlCollection; otherwise, false.
control
The Control to locate in the collection.
key
The name of the control to search for.
child
The Control to remove.
key
The name of the child control to remove.
child
The child control to search for.
newIndex
The new index value of the control.
Represents a collection of child controls in a table layout container.
name
Name of the client event to attach the listener to.
script
JavaScript code to execute when the event occurs.
name
Name of the css class to add.
state
Name of the custom state to add to the widget.
method
A delegate to a method that takes no parameters.
method
A delegate to a method that takes no parameters.
args
An optional array of objects to pass as arguments to the specified method.
function
The name of the JavaScript function to execute.
args
The arguments to pass to the function.
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.
function
The name of the JavaScript function to execute.
args
The arguments to pass to the function.
horizontal
Center horizontally.
vertical
Center vertically.
control
The child Control to find.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
imageSource
The name or URL for an image to use as the drag cursor.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
imageSource
The name or URL for an image to use as the drag cursor.
imageSize
The size of the drag image specified in imageSource.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
image
An Image to use as the drag cursor.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
image
An Image to use as the drag cursor.
imageSize
The size of the drag image specified in image.
asyncResult
An IAsyncResult that represents a BeginInvoke operation started on a control.
javaScript
The JavaScript code to run on the client.
javaScript
The JavaScript code to evaluate on the client.
callback
Asynchronous callback method that receives the return value.
javaScript
The JavaScript code to evaluate on the client.
pt
A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area.
skipValue
One of the values of GetChildAtPointSkip, determining whether to ignore child controls of a certain type.
pt
A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area.
id
Id of the listener to retrieve the script for.
name
Name of the event.
control
The Control to start the search with.
forward
true to search forward in the tab order; false to search backward.
flag
The ControlStyles bit to return the value from.
name
Name of the client event to verify.
name
Css class name to verify.
state
Name of the state to check.
invalidateChildren
When true, invalidates all the children of the control.
method
A delegate that contains a method to be called in the control's thread context.
method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.
charCode
The character to test.
text
The string to search.
dock
Indicates whether to arrange the Controls horizontally or vertically.
spacing
Spacing between the Controls.
useMargins
When true (default), it will also use the Margin to arrange the controls.
hAlign
vAlign
dock
Indicates whether to arrange the Controls horizontally or vertically.
viewArea
Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle.
spacing
Spacing between the Controls.
useMargins
When true (default), it will also use the Margin to arrange the controls.
hAlign
vAlign
controls
List of child controls to arrange. If null, all the children will be arranged.
dock
Indicates whether to arrange the Controls horizontally or vertically.
spacing
Spacing between the Controls.
useMargins
When true (default), it will also use the Margin to arrange the controls.
hAlign
vAlign
controls
List of child controls to arrange. If null, all the children will be arranged.
dock
Indicates whether to arrange the Controls horizontally or vertically.
viewArea
Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle.
spacing
Spacing between the Controls.
useMargins
When true (default), it will also use the Margin to arrange the controls.
hAlign
vAlign
direction
Indicates whether to arrange the Controls horizontally or vertically.
spacing
Spacing between the Controls.
useMargins
When true (default), it will also use the Margin to arrange the controls.
hAlign
Horizontal alignment when using direction = Vertical.
vAlign
Vertical alignment when using direction = Horizontal.
direction
Indicates whether to arrange the Controls horizontally or vertically.
viewArea
Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle.
spacing
Spacing between the Controls.
useMargins
When true (default), it will also use the Margin to arrange the controls.
hAlign
Horizontal alignment when using direction = Vertical.
vAlign
Vertical alignment when using direction = Horizontal.
controls
List of child controls to arrange. If null, all the children will be arranged.
direction
Indicates whether to arrange the controls horizontally or vertically.
spacing
Spacing between the controls .
useMargins
When true (default), it will also use the Margin to arrange the controls.
hAlign
Horizontal alignment when using direction = Vertical.
vAlign
Vertical alignment when using direction = Horizontal.
controls
List of child controls to arrange. If null, all the children will be arranged.
direction
Indicates whether to arrange the controls horizontally or vertically.
viewArea
Rectangle limiting the area to arrange the controls in. If empty, it will use DisplayRectangle.
spacing
Spacing between the controls .
useMargins
When true (default), it will also use the Margin to arrange the controls.
hAlign
Horizontal alignment when using direction = Vertical.
vAlign
Vertical alignment when using direction = Horizontal.
affectedControl
A Control that represents the recently changed control.
affectedProperty
The name of the recently changed property on the control that caused the layout to change.
point
The screen coordinate Point to convert.
point
The client coordinate Point to convert.
rect
The screen coordinate Rectangle to convert.
rect
The client coordinate Rectangle to convert.
refreshChildren
True to also refresh all the children of this control.
id
Id of the listener to remove.
name
Name of the event.
name
The css class name to remove.
state
Name of the state to remove.
performLayout
true to apply all pending layout requests; otherwise, false.
alignX
Indicates the HorizontalAlignment preference. The final location of the control depends on the scrollable range and the available space. Note that Center will not scroll the control to the center, but will instead scroll it into the closest visible location with the minimum movement.
alignY
Indicates the VerticalAlignment preference. The final location of the control depends on the scrollable range and the available space. Note that Middle will not scroll the control to the middle, but will instead scroll it into the closest visible location with the minimum movement.
control
The Control at which to start the search.
forward
true to move forward in the tab order; false to move backward in the tab order.
tabStopOnly
true to ignore the controls with the TabStop property set to false; otherwise, false.
nested
true to include nested (children of child controls) child controls; otherwise, false.
wrap
true to continue searching from the first control in the tab order after the last control has been reached; otherwise, false.
x
The new Left property value of the control.
y
The new Top property value of the control.
width
The new Width property value of the control.
height
The new Height property value of the control.
x
The new Left property value of the control.
y
The new Top property value of the control.
width
The new Width property value of the control.
height
The new Height property value of the control.
specified
A bitwise combination of the BoundsSpecified values. For any parameter not specified, the current value will be used.
flags
Represents a panel that dynamically lays out its contents in a grid composed of rows and columns.
UI implementation for the FileDialog class.
UI implementation for the FolderDialog class.
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
Represents a button control.
Implements the basic functionality common to button controls.
Represents a check box control.
Displays a ListBox in which a check box is displayed to the left of each item.
Represents a combo box control.
Provides focus-management functionality for controls that can function as a container for other controls.
Represents a control that allows the user to select or type a date and a time.
Represents a spinner control that displays string values.
Represents a panel that dynamically arranges its children horizontally or vertically in automatic rows or columns.
Represents a window or dialog box that makes up an application's user interface.
Represents a Wisej control that displays a frame around a group of controls with an optional caption.
Represents a label control.
Represents an hyper-link control.
Represents a control to display a list of items.
Uses a mask to distinguish between proper and improper user input.
Represents the container for multiple-document interface (MDI) child forms.
Represents a control that enables the user to select a date using a visual monthly calendar display.
Represents a spinner control that displays numeric values.
Represents a web page that fills the browser and acts as the main container for the application. An application can have only one active main page at any given time.
Represents a collapsible panel with an optional header that contains a group of controls.
Represents an image control.
Represents a progress control that displays a value visually as a filled bar.
Enables the user to select a single option from a group of choices when paired with other RadioButton controls.
Defines a base class for controls that support auto-scrolling behavior.
Represents an horizontal scroll bar.
Represents a vertical scroll bar.
Implements the basic functionality of a scroll bar control.
Represents a control consisting of a movable bar that divides a container's display area into two resizable panels.
Creates a panel that is associated with a SplitContainer.
Manages a related set of TabPage pages.
Represents a single tab page in a TabControl.
Represents a text box control that allows the user to enter any value.
Implements the basic functionality required by text controls.
Enables the user to choose between a range of values by sliding a small bar along another bar.
Implements the basic functionality required by a spin box (also known as an up-down control).
Provides an empty control that can be used to create other controls.
Represents a web browser control that enables the user to navigate web pages inside a form or a page.
Represents a ComboBox control that can be hosted in a DataGridViewComboBoxCell.
Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.
Represents a MaskedTextBox control that can be hosted in a DataGridViewMaskedTextBoxCell cell.
Represents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.
Represents a TextBox control that can be hosted in a DataGridViewTextBoxCell cell when the cell's WrapMode is set to False.
Represents a data grid control.
Displays data in a customizable list format.
Used by the DataRepeater control to display data at run time.
Represents a desktop container that can host floating windows.
Displays collapsible set of AccordionPanel panels for presenting information in a limited amount of space.
Represents a panel in a Accordion control.
Represents a control that can host ASP.NET or MVC pages within a Wisej application.
Represents the HTML5 canvas element.
Represents a FlashPlayer control that can display flash applications.
Represents a panel that dynamically arranges its child controls.
Represents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML.
Represents a control that displays any HTML file in an IFrame element.
Represents a line control.
The TreeViewComboBox control represents a UserComboBox control with a ListView as the drop down panel.
Base implementation for media controls.
Represents a Video control that displays a video file.
Represents a Audio control that plays an audio file.
Represents a PdfViewer control that can display a pdf document in the browser either using the native pdf viewer, the pdf.js viewer, Google docs, or a custom viewer.
Represents a shape control. Displays an element a border in any of the four sides.
Displays child controls vertically or horizontally in a scrollable container.
Represents a spacer control. It can be used to add a space between controls in a layout panel. It is not rendered on the client.
Represents a split button control.
Represents a data field that displays a list of selectable and removable tags. The control recognizes tags as the user types and adds in front of the editable field.
Represents a spinner control that displays TimeSpan values.
The TreeViewComboBox control represents a UserComboBox control with a TreeView as the drop down panel.
Represent an upload widget. Allows users to selected one or more files and upload them to the server.
The UserComboBox control represents a ComboBox control with a custom panel that drops down when the user clicks the down arrow.
Provides an popup container that can be attached to other controls.
Provides a generic widget that can use most third party javascript widgets.
Represents a list view control, which displays a collection of items that can be displayed using one of four different views.
Represents a menu bar component.
Provides a user interface for browsing the properties of an object.
Displays information to the user in a about the object being viewed, the object's components, or the object's operation.
Represents a toolbar component.
Displays a hierarchical collection of labeled items, each represented by a TreeNode.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
sender
The source of the event.
e
A ControlEventArgs that contains the event data.
Fired when a new control is added to the ControlCollection.
Fired when a control is removed from the ControlCollection.
Fired when a multiple-document interface (MDI) child form is added to the mdi parent.
Fired when a multiple-document interface (MDI) child form is removed from the mdi parent.
Represents a method that handles the LoadConfiguration event.
oldValue
Previous ClientProfile.
newValue
New active ClientProfile.
error
License error.
control
The Control to store in this event.
Represents the method that will handle the ControlAdded and ControlRemoved events of the Control class.
format
The format of the data to look for. See DataFormats for predefined formats.
owner
The Control that owns this collection.
allowedEffect |
effect |
data | The data associated with this event. |
location |
sender | The source of the event. |
e | A that contains the event data. |
Fired when a drag-and-drop operation is completed. |
Fired when an object is dragged into the control's bounds. |
Fired when an object is dragged over the control's bounds. |
target |
sender | The source of the event. |
e | A that contains the event data. |
Fired when a key is pressed while the control has focus. |
Fired when a key is released while the control has focus. |
sender | The source of the event. |
hlpevent | A object that contains the event data. |
Fired when the user requests help for a control by pressing F1. |
sender | The source of the event. |
e | A that contains the event data. |
Fired when a key is pressed while the control has focus. |
keyChar | The ASCII character corresponding to the key the user pressed. |
keyData |
Wisej.Web.PaintEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the Paint event.
Initializes a new instance of the PaintEventArgs class with the specified graphics and clipping rectangle.
Name | Type | Description |
---|---|---|
Rectangle: Returns the rectangle in which to paint.
Graphics: Returns the graphics used to paint.
Wisej.Web.LayoutEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the Layout event.
Initializes a new instance of the LayoutEventArgs class with the specified component and property affected.
Name | Type | Description |
---|---|---|
Initializes a new instance of the LayoutEventArgs class with the specified control and property affected.
Name | Type | Description |
---|---|---|
IComponent: Returns the IComponent affected by the layout change.
Control: Returns the child control affected by the change.
String: Returns the property affected by the change.
Wisej.Web.MouseEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the MouseUp, MouseDown, and MouseMove events.
Initializes a new instance of the MouseEventArgs class.
Name | Type | Description |
---|---|---|
Initializes a new instance of the MouseEventArgs class.
Name | Type | Description |
---|---|---|
MouseButtons: Returns which mouse button was pressed.
Int32: Returns the number of clicks or taps.
Int32: Returns the number of times the mouse wheel has rotated.
Point: Returns the location of the mouse or pointer event.
Control: Returns the original target Control when the pointer event has bubbled up because the original target was either not Enabled or Anonymous.
String: Returns the internal role assigned to the element that generated the pointer event: checkbox, button, ...
The value in the Role property is taken from the "role" attribute of the clicked element inside the widget. You can detect clicks on custom HTML content by adding the role attribute to the custom element.
Int32: Returns the x-coordinate of the mouse or touch event.
Int32: Returns the y-coordinate of the mouse or touch event.
Wisej.Web.PreviewKeyDownEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the method that will handle the PreviewKeyDown event.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.PinchEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the method that will handle the Pinch event.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.PreviewKeyDownEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the PreviewKeyDown event.
Initializes a new instance of the PreviewKeyDownEventArgs class with the specified key.
Name | Type | Description |
---|---|---|
Boolean: Returns whether the ALT key was pressed.
Boolean: Returns whether the CTRL key was pressed.
Boolean: Returns whether a key is a regular input key.
Keys: Returns the keyboard code.
Keys: Returns the key data.
Int32: Returns the keyboard value.
Keys: Returns the modifier flags indicating which combination of CTRL, SHIFT, and ALT keys was pressed.
Boolean: Returns whether the SHIFT key was pressed.
Wisej.Web.RotateEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the method that will handle the Rotate event.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.QueryContinueDragEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the method that will handle the QueryContinueDrag event of a Control.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.QueryContinueDragEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the QueryContinueDrag event.
Initializes a new instance of the QueryContinueDragEventArgs class.
Name | Type | Description |
---|---|---|
DragAction: Returns or sets the status of a drag-and-drop operation.
Boolean: Returns if the user pressed the ESC key.
Int32: Returns the current state of the SHIFT, CTRL, and ALT keys.
Wisej.Web.ResponsiveProfileChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the ResponsiveProfileChanged event.
Initializes a new instance of the ResponsiveProfileChangedEventArgs class.
Name | Type | Description |
---|---|---|
ClientProfile: The new active profile.
ClientProfile: The previously active profile.
Wisej.Web.SwipeEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the method that will handle the Swipe event.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.TrackEventArgs
Wisej.Web.WidgetEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for the event.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the data object that was sent by the widget with the event.
: Returns the type (name) of the event fired by the widget.
Wisej.Web.TouchEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for event.
: Returns the unique identifiers for the touch items.
: Returns whether more than one touch is associated with the event target element.
: Returns the location of the touch items in screen coordinates.
: Returns the delta of the rotation since the start of the event, in degrees.
Wisej.Web.SwipeEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Provides data for event.
: Returns whether the performed swipe was on the x or y axis.
: Returns the direction of the performed swipe in reference to the axis: X = Up / Down Y = Left / Right
: Returns the distance of the performed swipe.
: Returns the duration the performed swipe took.
Represents the method that will handle the , , or event of a .
Represents the method that will handle the event of a .
Represents the method that will handle the event of a .
Represents the method that will handle the or event of a .
One of the values.
One of the values.
The that indicates the location of the drag event.
The that had the focus when the user pressed F1.
A representing the key that was pressed, combined with any modifier flags that indicate which CTRL, SHIFT, and ALT keys were pressed at the same time. Possible values are obtained be applying the bitwise OR (|) operator to constants from the enumeration.
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|
Name | Description |
---|
: Returns the distance between two fingers since the start of the event.
Name | Description |
---|
: Returns the start time of the performed swipe.
: Returns the velocity of the performed swipe.
Name | Description |
---|
sender
The source of the event.
e
A PaintEventArgs that contains the event data.
Fired when a UserPaint control needs to redraw itself.
Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.
sender
The source of the event.
e
A MouseEventArgs that contains the event data.
Fired when the user clicks the CheckedListBox control with the mouse.
Fired when the control is clicked by the mouse.
Fired when the control is double clicked by the mouse.
Fired when the mouse pointer is over the control and a mouse button is pressed.
Fired when the mouse pointer is moved over the control.
Fired when the mouse pointer is over the control and a mouse button is released.
Fired when the mouse wheel moves while the control has focus.
sender
The source of the event.
e
A PreviewKeyDownEventArgs that contains the event data.
Fired before the KeyDown event when a key is pressed while focus is on this control.
sender
The source of the event.
e
A PinchEventArgs that contains the event data.
Fired when two finger moved towards or away from each other. It contains the scaling factor of the pinch.
Represents the method that will handle the PreviewKeyDown event.
sender
The source of the event.
e
A LayoutEventArgs that contains the event data.
Fired when a control should reposition its child controls.
sender
The source of the event.
e
A RotateEventArgs that contains the event data.
Fired when two finger moved around a single point. It contains the angle of the rotation.
sender
The source of an event.
e
A QueryContinueDragEventArgs that contains the event data.
Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
Represents the method that will handle the QueryContinueDrag event of a Control.
Down
Direction down.
Left
Direction left.
Right
Direction right.
Up
Direction up.
Returns the direction of the performed swipe in reference to the axis: X = Up / Down Y = Left / Right
X
X-axis.
Y
Y-axis
Returns whether the performed swipe was on the x or y axis.
Returns the Axis of the track event.
Represents the method that will handle the Application.ResponsiveProfileChanged event.
sender
The source of the event.
e
A ResponsiveProfileChangedEventArgs that contains the event data.
Fired when the active responsive profile is changed.
Fired when the active responsive profile is changed.
sender
The source of the event.
e
A SwipeEventArgs that contains the event data.
Fired when a pointer swipes over the screen.
graphics
The Graphics used to paint the item.
clipRect
The Rectangle that represents the rectangle in which to paint.
affectedComponent
The IComponent affected by the layout change.
affectedProperty
The property affected by the layout change.
affectedControl
The Control affected by the layout change.
affectedProperty
The property affected by the layout change.
button
One of the MouseButtons values that indicate which mouse button was pressed.
clicks
The number of times a mouse button was pressed.
x
The x-coordinate of a pointer click, in pixels.
y
The y-coordinate of a pointer click, in pixels.
delta
A signed count of the number of dents the wheel has rotated.
button
One of the MouseButtons values that indicate which mouse button was pressed.
clicks
The number of times a mouse button was pressed.
x
The x-coordinate of a pointer click, in pixels.
y
The y-coordinate of a pointer click, in pixels.
delta
A signed count of the number of dents the wheel has rotated.
role
The internal role assigned to the element that generated the pointer event.
keyData
One of the Keys values.
Represents the method that will handle the Pinch event.
Represents the method that will handle the Rotate event.
args
The arguments received from the client.
oldValue
Previous ClientProfile.
newValue
New active ClientProfile.
sender | The source of the event. |
e | A that contains the event data. |
Fired when a touch point is placed on the touch surface. |
Fired when a touch point is removed from the touch surface. |
Fired when a touch point has been disrupted in an implementation-specific manner (for example, too many touch points are created). |
Fired when a touch point is moved along the touch surface. |
type | The type (name) of event. |
data | The data object received with the event. |
sender | The source of the event. |
e | A that contains the event data. |
Fired when the control receives a custom event from the client. |
sender | The source of the event. |
e | A that contains the event data. |
Fired when a pointer grabs an item and moves the pointer on it. |
Wisej.Web.Padding
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents padding or margin information associated with a user interface (UI) element.
Initializes a new instance of the Padding class using a separate padding size for each edge.
Name | Type | Description |
---|---|---|
Initializes a new instance of the Padding class using the supplied padding size for all edges.
Name | Type | Description |
---|---|---|
Int32: Returns or sets the padding value for all the edges.
Int32: Returns or sets the padding value for the bottom edge.
Int32: Returns the combined padding for the right and left edges.
Boolean: Returns if the padding is empty.
Int32: Returns or sets the padding value for the left edge.
Int32: Returns or sets the padding value for the right edge.
Size: Returns the padding information in the form of a Size.
Int32: Returns or sets the padding value for the top edge.
Int32: Returns the combined padding for the top and bottom edges.
Computes the sum of the two specified Padding values.
Returns: Padding. A Padding that contains the sum of the two specified Padding values.
Subtracts one specified Padding value from another.
Returns: Padding. A Padding that contains the result of the subtraction of one specified Padding value from another.
Wisej.Web.DataObject
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Implements a basic data transfer mechanism.
Initializes a new instance of the DataObject class.
Initializes a new instance of the DataObject class and adds the specified object to it.
Name | Type | Description |
---|---|---|
Initializes a new instance of the DataObject class and adds the specified object in the specified format.
Name | Type | Description |
---|---|---|
Initializes a new instance of the DataObject class and adds the specified object in the specified format.
Indicates whether the data object contains data in the WaveAudio format.
Returns: Boolean. true if the data object contains audio data; otherwise, false.
Indicates whether the data object contains data that is in the FileDrop format or can be converted to that format.
Returns: Boolean. true if the data object contains a file drop list; otherwise, false.
Indicates whether the data object contains data that is in the Bitmap format or can be converted to that format.
Returns: Boolean. true if the data object contains image data; otherwise, false.
Indicates whether the data object contains data in the UnicodeText format.
Returns: Boolean. true if the data object contains text data; otherwise, false.
Indicates whether the data object contains text data in the format indicated by the specified TextDataFormat value.
Returns: Boolean. true if the data object contains text data in the specified format; otherwise, false.
Retrieves an audio stream from the data object.
Returns: Stream. A Stream containing audio data or null if the data object does not contain any data in the WaveAudio format.
Returns the data associated with the specified class type format.
Returns: Object. The data associated with the specified format, or null.
Returns the data associated with the specified data format.
Returns: Object. The data associated with the specified format, or null.
Returns the data associated with the specified data format, using an automated conversion parameter to determine whether to convert the data to the format.
Returns: Object. The data associated with the specified format, or null.
Determines whether data stored in this DataObject is associated with, or can be converted to, the specified format.
Returns: Boolean. true if data stored in this DataObject is associated with, or can be converted to, the specified format; otherwise, false.
Returns the data associated with the specified class type format.
Returns: Boolean. The data associated with the specified format, or null.
Determines whether this DataObject contains data in the specified format or, optionally, contains data that can be converted to the specified format.
Returns: Boolean. true if the data is in, or can be converted to, the specified format; otherwise, false.
Returns the list of file types from the data object.
Returns: String[]. A string array containing the file types in the data object.
Returns the HttpFileCollection of files uploaded by the client in a drag & drop operation.
Returns: HttpFileCollection. A string array containing the file types in the data object.
Returns a list of all formats that data stored in this DataObject is associated with or can be converted to.
Returns: String[]. An array of type String, containing a list of all formats that are supported by the data stored in this object.
Returns a list of all formats that data stored in this DataObject is associated with or can be converted to, using an automatic conversion parameter to determine whether to retrieve only native data formats or all formats that the data can be converted to.
Returns: String[]. An array of type String, containing a list of all formats that are supported by the data stored in this object.
Retrieves an image from the data object.
Returns: Image. An Image representing the image data in the data object or null if the data object does not contain any data that is in the Bitmap format or can be converted to that format.
Retrieves text data from the data object in the UnicodeText format.
Returns: String. The text data in the data object or Empty if the data object does not contain data in the UnicodeText format.
Retrieves text data from the data object in the format indicated by the specified TextDataFormat value.
Returns: String. The text data in the data object or Empty if the data object does not contain data in the specified format.
Adds a Byte array to the data object in the WaveAudio format after converting it to a Stream.
Throws:
ArgumentNullException audioBytes is null.
Adds a Stream to the data object in the WaveAudio format.
Throws:
ArgumentNullException audioStream is null.
Adds the specified object to the DataObject using the object type as the data format.
Adds the specified object to the DataObject using the specified type as the format.
Adds the specified object to the DataObject using the specified format.
Adds the specified object to the DataObject using the specified format and indicating whether the data can be converted to another format.
Adds a url using DownloadURL format. The specified url is parsed to compose the DownloadURL as: "mime-type:file-name:url".
Adds a collection of file names to the data object in the FileDrop format.
Throws:
ArgumentNullException filePaths is null.
Adds a collection of file names to the data object in the FileDrop format.
Throws:
ArgumentNullException filePaths is null.
Adds an Image to the data object in the Bitmap format.
Throws:
ArgumentNullException image is null.
Adds text data to the data object in the UnicodeText format.
Throws:
ArgumentNullException textData is null or Empty.
Adds text data to the data object in the format indicated by the specified TextDataFormat value.
Throws:
ArgumentNullException textData is null or Empty.
Wisej.Web.Screen
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the display on the client device.
Rectangle: Returns the size of the display of the client device, regardless of the orientation.
String: Returns the device name associated with a display.
Rectangle: Returns the working area of the browser. The working area is the desktop area of the browser, excluding taskbars, docked windows, and docked tool bars.
Wisej.Web.Cursor
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the mouse pointer.
Creates a new cursor using the Image.
Name | Type | Description |
---|---|---|
Creates a new cursor using an image source: can use a themed image or URL.
Name | Type | Description |
---|---|---|
Creates a new cursor using the Image.
Name | Type | Description |
---|---|---|
Creates a new cursor using the Image.
Creates a new cursor using the Image.
Creates a new cursor using an image source: can use a themed image or URL.
String: Returns the name of the cursor.
Point: Returns or sets the pointer's position.
Wisej.Web.Cursors
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Defines a collection of predefined Cursor objects.
Cursor: Returns the "shortcut" cursor.
Cursor: Returns the "arrow" cursor.
Cursor: Returns "cell" cursor.
Cursor: Returns the clipboard "copy" cursor.
Cursor: Returns the "crosshair" cursor.
Cursor: Returns the "default" cursor, which is usually an arrow cursor.
Cursor: Returns the "grab" cursor.
Cursor: Returns the "hand" cursor, typically used when hovering over a Web link.
Cursor: Returns the "help" cursor, which is a combination of an arrow and a question mark.
Cursor: Returns the "row-resize" cursor that appears when the mouse is positioned over a horizontal splitter bar.
Cursor: Returns the "text" cursor, which is used to show where the text cursor appears when the mouse is clicked.
Cursor: Returns the "move" cursor, typically an cross shape.
Cursor: Returns the "not-allowed" cursor that indicates that a particular region is invalid for the current operation.
Cursor: Returns the "none" cursor.
Cursor: Returns the "not-allowed" cursor.
Cursor: Returns the "move" sizing cursor, which consists of four joined arrows that point north, south, east, and west.
Cursor: Returns the "ne-resize" diagonal (north/east) sizing cursor.
Cursor: Returns the "nesw-resize" diagonal (northeast/southwest) sizing cursor.
Cursor: Returns the "n-resize" vertical (north/south) sizing cursor.
Cursor: Returns the "nw-resize" diagonal (north/west) sizing cursor.
Cursor: Returns the "nwse-resize" diagonal (northwest/southeast) sizing cursor.
Cursor: Returns the "se-resize" diagonal (south/east) sizing cursor.
Cursor: Returns the "sw-resize" diagonal (south/west) sizing cursor.
Cursor: Returns the "w-resize" horizontal (west/east) sizing cursor.
Cursor: Returns the "text" cursor.
Cursor: Returns the "col-resize" cursor that appears when the mouse is positioned over a vertical splitter bar.
Cursor: Returns the "wait" cursor, typically an hourglass shape.
Cursor: Returns the "zoom-in" cursor.
Cursor: Returns the "zoom-out" cursor.
Wisej.Web.ServiceScope
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
EXPERIMENTAL: Specifies the scope of services added using AddService.
Name | Description |
---|---|
Name | Description |
---|---|
Represents the method that will handle the event.
Represents the method that handles the event.
Represents the method that will handle the , , , events.
Represents the method that will handle the event.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
p1
A Padding.
p2
A Padding.
p1
A Padding.
p2
A Padding.
Returns or sets padding within the control.
Returns or sets the space between controls.
Returns or sets the space between the edge of a DataGridViewCell and its content.
Returns or sets the additional padding around the label. This property can be defined in the theme.
Returns or sets the offset in pixels from the calculated position of the popup.
Returns or sets the padding inside ListViewItem objects in any View mode.
Returns or sets padding within the statusbar panel.
Returns or sets padding within the toolbar button.
Returns or sets the space between toolbar buttons.
Computes the sum of the two specified Padding values.
Returns the size of the inset border and padding.
format
A Type representing the format of the data.
data
The data to store.
format
One of the TextDataFormat values.
format
A Type representing the format of the data to retrieve.
format
The format of the data to retrieve. See DataFormats for predefined formats.
format
The format of the data to retrieve. See DataFormats for predefined formats.
autoConvert
true to the convert data to the specified format; otherwise, false.
format
A Type representing the format to check for.
format
A Type representing the format of the data to retrieve.
format
The format to check for. See DataFormats for predefined formats.
autoConvert
true to determine whether data stored in this DataObject can be converted to the specified format; false to check whether the data is in the specified format.
autoConvert
true to retrieve all formats that data stored in this DataObject is associated with, or can be converted to; false to retrieve only native data formats.
format
One of the TextDataFormat values.
audioBytes
A Byte array containing the audio data.
audioStream
A Stream containing the audio data.
data
The data to store.
format
A Type representing the format associated with the data.
data
The data to store.
format
The format associated with the data. See DataFormats for predefined formats.
data
The data to store.
format
The format associated with the data. See DataFormats for predefined formats.
autoConvert
true to allow the data to be converted to another format; otherwise, false.
data
The data to store.
url
The url to the file to download.
fileName
The name of the file to download from the url.
filePaths
A StringCollection containing the file names.
filePaths
A StringCollection containing the file names.
image
The Image to add to the data object.
textData
The text to add to the data object.
textData
The text to add to the data object.
format
One of the TextDataFormat values.
Provides a format-independent mechanism for transferring data.
image
An Image to use for the cursor.
x
x-coordinate of the hotspot location.
y
y-coordinate of the hotspot location.
stream
A Stream to use for the cursor.
x
x-coordinate of the hotspot location.
y
y-coordinate of the hotspot location.
source
The name of a theme image or a URL to an image resource.
x
x-coordinate of the hotspot location.
y
y-coordinate of the hotspot location.
Global
A single static instance of the service is available to all sessions.
Session
The registered instance is available only to the current sessions. A new session should create and register a new instance.
Transient
A new instance of the service is created every time it's needed and automatically disposed at the end of the request.
EXPERIMENTAL: Adds a scoped service to the service container.
left
The padding size, in pixels, for the left edge.
top
The padding size, in pixels, for the top edge.
right
The padding size, in pixels, for the right edge.
bottom
The padding size, in pixels, for the bottom edge.
all
The number of pixels to be used for padding for all edges.
data
The data to store.
format
The format of the specified data. See DataFormats for predefined formats.
data
The data to store.
image
An Image to use for the cursor.
source
The name of a theme image or a URL to an image resource.
stream
A Stream to use for the cursor.
Wisej.Web.JavaScript ClientEventCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a collection of JavaScript events and their corresponding handler code.
Int32: Returns the number of items in the collection.
ClientEvent: Returns the ClientEvent element at the specified index .
Adds the ClientEvent instance to the collection.
Removes all the ClientEvent items from the collection.
Checks whether the specified item exists in the collection.
Returns: Boolean. True of the collection contains the specified item .
Returns the position of the specified item in the collection.
Returns: Int32. The index of the specified item or -1 if not found.
Inserts the item into the collection at the specified index .
Removes the item from the collection.
Returns: Boolean. True of the specified item was found and removed from the collection.
Removes the ClientEvent item at the location index .
CollectionChangeEventHandler Fired when the collection has changed.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
item
ClientEvent item to add to the collection.
item
ClientEvent items to find in the collection.
item
ClientEvent item to locate in the collection.
index
Position where to insert the item .
item
ClientEvent item to insert into the collection.
item
ClientEvent instance to remove from the collection.
index
Position of the item to remove from the collection.