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...
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...
: 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: .
Instance method, or property, or event.
Static method or property or event.
Protected method or property or event.
Deprecated method or property or event.
This is the API book, for the concepts documentation please refer to the link below. The concept documentation and the namespace reference are a never-ending work in progress. We update it almost daily. Please check back if what you are looking for is not available.
We assume that you have a good working knowledge of the following tools and technologies:
C# or VB.NET
.NET in general
Visual Studio
JavaScript
Wisej.Web.Application
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.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:
This is the profile that best matches the current browser on the client. It is updated automatically on every request.
The client fingerprint is generated by hashing all the available information returned by the browser (OS, user agent, version, etc.) and it's not guaranteed to be unique.
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.
filter
Adds the text and corresponding translation to the default locale on the client.
text
The text to translate.
translation
The translation override.
Executes the JavaScript function on the client.
function
The name of the function to execute.
args
The arguments to pass to the function.
Executes the JavaScript function on the client and receives the return value (or null) in the callback method.
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.
Cancels the fullscreen mode.
Downloads the specified file on the client.
filePath
The file to download.
fileName
The name of the file to save on the client.
Downloads the specified image to the client.
image
The image to download.
fileName
The name of the file to save on the client.
Downloads the bytes in the stream to the client.
stream
The stream to send to the client.
fileName
The file name the client will use to save the stream.
Downloads the specified file on the client.
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.
Downloads the specified image to the client.
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.
Downloads the bytes in the stream to the client.
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.
Stops the polling requests from the client.
Executes the JavaScript script on the client.
script
The script to evaluate.
Executes the JavaScript script on the client and receives the return value (or null) in the callback method.
script
The script to evaluate.
callback
Asynchronous callback method that receives the return value.
script
The script to evaluate.
Terminates the application and the corresponding session.
Find the first component that matches the conditions defined in the predicate function.
match
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.
match
This method lets an application iterate through all the live components in the current session.
Loads an assembly given the file name or path.
filePath
The file name or full path for the assembly to load.
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.
filePath
The file name or full path for the assembly to load.
className
packages
callback
packages
Changes the current theme.
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.
Returns the full file path in relation to the application's project directory.
path
Navigate to the specified URL.
url
URL to navigate to.
target
The target browser window: _self, _blank, etc.
Plays one of the built-in sounds
type
Plays a sound.
soundUrl
A string representing either a sound file URL or a base64 data URL.
Executes the callback method after all processing is completed and before updating the client.
callback
Method to invoke after the request has completed but before sending the response to the server.
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 window.
window
The window to print
The window is printed without the caption or the borders, if present.
Prints the entire browser window.
Causes the application to reload on the browser.
Removes the filter from the list of registered event filters.
filter
Requests the browser to enable fullscreen mode if supported.
Executes the callback in context.
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.
Instructs the client to start polling the server for UI changes at the specified interval when a WebSocket connection is not available.
interval
Polling interval in milliseconds. The minimum is 1000ms.
Throws:
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.
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.
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.
Executes the optional callback in context and pushes all the pending updates to the client when in WebSocket mode.
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.
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:
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.
All wisej components implement this interface.
Represents the method that will handle the event.
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.
Provides data for the event.
Initializes a new instance of the class.
: The hash string from the client.
Represents the method that will handle the event.
: 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: .
This book covers the full API for the Wisej.Framework assembly only. For an in-depth guide of Wisej features, please refer to the book. For the extensions API and concepts, please refer to the book.
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.
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 unique client "fingerprint" ID. It can be used to distinguish client devices.
: 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
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 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.
: Gets the DNS name of the remote client.
: Returns the type for the current user.
: Gets a sorted string array of client language preferences.
An object that implements the interface to add to the filter list.
Asynchronously executes the JavaScript function on the client and returns an awaitable with the result of the remote call.
Returns: . An awaitable that represents the asynchronous operation.
Asynchronously executes the JavaScript script on the client and returns an awaitable with the result of the remote call.
Returns: . An awaitable that represents the asynchronous operation.
A custom expression used to match the to find.
Returns: . The first qualified by the match expression.
A custom expression used to match the list of objects to find.
Returns: . The list of instances qualified by the match expression.
Returns: . The loaded .
Returns: . An instance of a Wisej component implementing the interface.
Returns: .
Returns: . The full path relative to the current application's root directory.
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 .
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 .
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 .
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.
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 .
The application context to update. It can be any Wisej component or the returned by the property .
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 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.
Provides data for the event.
Initializes a new instance of the class.
Previous .
New active .
: The new active profile.
: The previously active profile.
Represents the method that will handle the and events of the class.
Provides data for the and events.
Initializes a new instance of the class for the specified control.
: Returns the control object used by this event.
Extends and enabled the components to appear on the designer surface.
control
Implements a timer that raises an event at user-defined intervals.
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.
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.
Represents the base functionality for all menus.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.Control
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Base class for all Wisej controls.
You can use this collection at design time or in code or through the listener methods:
You can use any CSS style string.
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:
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 " ".
Adds a new listener script to the event name to the client widget.
name
Name of the client event to attach the listener to.
script
JavaScript code to execute when the event occurs.
The script will execute in the browser when the event name occurs. You can attach multiple listeners to the same event.
name
Name of the css class to add.
Adds the specified theme state to the widget.
state
Name of the custom state to add to the widget.
Executes the specified delegate asynchronously.
method
A delegate to a method that takes no parameters.
args
An optional array of objects to pass as arguments to the specified method.
Brings the control to the front of the z-order.
Runs the JavaScript function within the component's context in the browser.
function
The name of the JavaScript function to execute.
args
The arguments to pass to the function.
Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.
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.
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.
horizontal
Center horizontally.
vertical
Center vertically.
Indicates whether the specified control is a child of this control.
control
Creates and register this control and all its children.
Begins a drag-and-drop operation.
data
The data to drag.
allowedEffects
Begins a drag-and-drop operation.
data
The data to drag.
allowedEffects
imageSource
The name or URL for an image to use as the drag cursor.
Begins a drag-and-drop operation.
data
The data to drag.
allowedEffects
imageSource
The name or URL for an image to use as the drag cursor.
imageSize
The size of the drag image specified in imageSource.
Begins a drag-and-drop operation.
data
The data to drag.
allowedEffects
image
Begins a drag-and-drop operation.
data
The data to drag.
allowedEffects
image
imageSize
The size of the drag image specified in image.
Runs the javaScript code within the component's context in the browser.
javaScript
The JavaScript code to run on the client.
Runs the javaScript code within the component's context in the browser and returns the value to the callback method.
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.
Retrieves the form that the control is on.
Retrieves the page that the control is on.
Sets input focus to the control.
Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
pt
skipValue
Retrieves the child control that is located at the specified coordinates.
pt
Returns the script associated to the listener identified by id .
id
Id of the listener to retrieve the script for.
Returns the scripts for all the listeners attached to the event name .
name
Name of the event.
Retrieves the next control forward or back in the tab order of child controls.
control
forward
true to search forward in the tab order; false to search backward.
Retrieves the value of the specified control style bit for the control.
flag
Checks whether the specified event name has any listener attached.
name
Name of the client event to verify.
name
Css class name to verify.
state
Name of the state to check.
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.
invalidateChildren
When true, invalidates all the children of the control.
Executes the specified delegate.
method
A delegate that contains a method to be called in the control's thread context.
Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
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.
Determines whether the specified character is the mnemonic character.
charCode
The character to test.
text
The string to search.
Computes the location of the specified screen point into client coordinates.
point
Computes the location of the specified client point into screen coordinates.
point
Computes the size and location of the specified screen rectangle in client coordinates.
rect
Computes the size and location of the specified client rectangle in screen coordinates.
rect
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.
refreshChildren
True to also refresh all the children of this control.
Detaches and removes the listener identified by id .
id
Id of the listener to remove.
Removes all the listeners attached to the event name .
name
Name of the event.
name
The css class name to remove.
Removes the specified theme state from the widget.
state
Name of the state to remove.
Resumes layout logic.
Resumes layout logic, optionally forcing an immediate layout of all pending layout requests.
performLayout
true to apply all pending layout requests; otherwise, false.
Scrolls the control into view in the container using the specified alignX and alignY preferences.
alignX
alignY
Scrolls the child control into view.
Activates a control.
Activates the next control in the list according to the specified selection rules.
control
forward
true to move forward in the tab order; false to move backward in the tab order.
tabStopOnly
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.
Sends the control to the back of the z-order.
Sets the bounds of the control to the specified location and size.
x
y
width
height
Sets the specified bounds of the control to the specified location and size.
x
y
width
height
specified
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 .
flags
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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:
UI implementation for the FileDialog class.
UI implementation for the FolderDialog class.
Displays data in a customizable list format.
Represents a shape control. Displays an element a border in any of the four sides.
Represents a panel that dynamically arranges its child controls.
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 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.
Displays child controls vertically or horizontally in a scrollable container.
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.
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.
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.
Displays information to the user in a about the object being viewed, the object's components, or the object's operation.
Represents a panel that dynamically lays out its contents in a grid composed of rows and columns.
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 data grid control.
Represents a desktop container that can host floating windows.
Represents a control that can host ASP.NET or MVC pages within a Wisej application.
Represents the HTML5 canvas element.
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.
Base implementation for media controls.
Represents a split button control.
Represent an upload widget. Allows users to selected one or more files and upload them to the server.
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.
Represents a toolbar component.
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.MouseEventArgs
Wisej.Web.Clipboard
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.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 that is in the specified format or can be converted to that format.
Retrieves an audio stream from the Clipboard.
Retrieves data from the Clipboard in the specified format.
Retrieves the data that is currently on the system Clipboard.
Retrieves a collection of file names from the Clipboard.
Retrieves an image from the Clipboard.
Throws:
Throws:
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:
Saves the specified data to the clipboard in the specified format.
Throws:
Saves the specified data to the clipboard.
Throws:
Throws:
Throws:
Throws:
Throws:
sender
The source of the event.
e
A 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 that contains the event data.
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.
The to store in this event.
Represents the method that will handle the and events of the class.
Represents a panel in a control. Although the control replaces and adds functionality to the control of previous versions, is retained for both backward compatibility and future use if you choose.
Represents a component in the control's taskbar.
Represents a component in the control's taskbar that can host any .
Represents a DateTime component in the control's taskbar.
Add rotation capabilities along the X,Y,Z axis to controls.
Provides methods to manage a collection of objects. This class cannot be inherited.
Displays a standard column header in a control.
Displays an image column header in a control.
Represents a context menu associated to a .
Represents an individual menu item that is displayed within a or rendered using the link element to let the browser process the specified URL.
Represents the main menu in a .
Represents an individual item that is displayed within a or .
Represents a button in the .
Represents the method that will handle the , , or event of a .
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.
Provides data for the event.
Initializes a new instance of the class.
The that had the focus when the user pressed F1.
: Returns or sets a value indicating whether the help event was handled.
: Returns the that had the focus when the user pressed F1.
Represents the method that will handle the event of a .
Provides data for the , , or event.
Initializes a new instance of the class.
One of the values.
One of the values.
The that indicates the location of the drag event.
: Returns which drag-and-drop operations are allowed by the originator (or source) of the drag event.
: 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 original target of the drag operation.
: Returns or sets the target drop effect in a drag-and-drop operation.
: 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.
Represents the method that will handle the , , or event of a .
Represents the method that will handle the event of a .
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.
Represents the method that will handle the or event of a .
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.
Initializes a new instance of the class.
: Returns or sets the description that will be reported to accessibility client applications. It is assigned to the "alt" attribute of the browser element.
: 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.
: 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.
: Returns or sets whether the control can initiate a drag-drop operation.
: Returns or sets whether the control can accept data that the user drags onto it.
: Returns or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.
: Returns or sets whether the control receives pointer events. Anonymous controls let pointer events bubble to their parents.
: Returns or sets the background color for the control.
: Returns or sets the background image displayed in the control.
: Returns or sets the background image layout as defined in the enumeration.
: Returns or sets the background image displayed in the control.
: Returns a flag indicating that the control is becoming the active control.
: Determines whether the control can execute a command.
: Returns whether the control can receive focus.
: Returns or sets whether the control causes validation to be performed on controls that require to be validated when this control receives focus.
: Returns a collection of client events and JavaScript listeners. You may attach multiple listeners to same event.
: Indicates whether the control, or one of its child controls, has the input focus.
: Returns or sets the shortcut menu associated with the control.
: Returns the collection of controls contained within the control.
: 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 extender. You can assign multiple class names separated by a space and you can manage this property using the related methods:
: Returns or sets the custom CSS styles to add to the widget.
: Returns or sets the cursor that is displayed when the mouse pointer is over the control.
: Returns the data bindings for the control.
: Returns the default background color of the control.
: Returns the default font of the control.
: Returns the default background color of the control.
: Returns the rectangle that represents the virtual display area of the control.
: Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
: Returns or sets whether the control can respond to user interaction.
: Enables or disables the browser's context menu.
: Returns or sets whether the control can gain the focus.
: Returns a value indicating whether the control has input focus.
: Gets or sets the font of the text displayed by the control.
: Returns or sets the text color of the control.
: Returns the unique server-side id (handle) for this component.
: Returns whether the control specifies data bindings.
: Check if the control defines any responsive profile without forcing the creation of the collection.
: Checks if the dynamic object was created and has any value.
: Returns or sets the height of the control.
: 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 and .
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 collection and the client events methods:
: Returns if the control has a server-side component id (handle) associated with it.
: Returns whether the control is mirrored.
: Returns the control's layout engine.
: Returns or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.
: Returns or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
: Returns or sets the space between controls.
: Returns or sets the maximum size for the control.
: Returns or sets the minimum size for the control.
: Returns a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.
: Returns a value indicating which of the mouse buttons is in a pressed state.
: Returns the position of the mouse cursor in screen coordinates.
: Returns or sets whether the control can be moved by dragging.
: Gets or sets the name of the control.
: Returns or sets padding within the control.
: Returns or sets the parent container of the control.
: Returns the preferred size in which the control can fit.
: Returns or sets the edges of the control that can be dragged to resize the control.
: Returns the collection of responsive properties that have been set for this control.
: Returns or sets whether the control's elements are aligned right-to-left to support RTL languages.
When set to , 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 , the right-to-left mode is automatically retrieved from the current language.
: Returns or sets whether the control is blocked by the ajax loader.
: Returns or sets the height and width of the control.
: Returns or sets additional theme states to the client widget.
: Returns or sets the tab order of the control within its container.
: Returns or sets whether the user can give the focus to this control using the TAB key and the property is set to true.
: Returns or sets the object that contains data about the control.
: Returns or sets the text associated with this control.
: Returns or sets the tooltip text to show for this control.
When using 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 extender and the property added by the extender. You can change the default , , , , or enable HTML in by using a extender also without setting the property added by the extender.
: Returns or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.
: Returns a dynamic object that can be used to store custom data in relation to this control.
: Returns or sets whether to use the wait cursor for the current control and all child controls.
: Returns a flag indicating that the validation has been canceled.
: Returns or sets whether the control and all its child controls are displayed.
: Returns a value indicating the wheel delta from the last wheel event.
: Returns or sets the width of the control.
Returns: . An integer id that you can use to remove the listener from the event using or to retrieve the listener script code using .
Adds the CSS class name to the widget element. If the class already exists in the it's not added.
Returns: . The new value of the property.
Returns: . The new list of states stored in the property.
You can also assign a new array of states to the property.
Returns: . An that represents the result of the asynchronous call.
Asynchronously runs the JavaScript function within the component's context in the browser and returns an awaitable containing the value returned by the remote call.
Returns: . An awaitable that represents the asynchronous operation.
The child to find.
Returns: . true if the specified control is a child of the control; otherwise, false.
One of the values.
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
One of the values.
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
One of the values.
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
One of the values.
An to use as the drag cursor.
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
One of the values.
An to use as the drag cursor.
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
Asynchronously runs the javaScript code within the component's context in the browser and returns an awaitable that contains the value returned by the remote call.
Returns: . An awaitable that represents the asynchronous operation.
Returns: .
Returns: .
Returns: . true if the input focus request was successful; otherwise, false.
A 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.
One of the values of , determining whether to ignore child controls of a certain type.
Returns: . The child at the specified coordinates.
A 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.
Returns: . A that represents the control that is located at the specified point.
Returns: . JavaScript associated with the listener.
Returns: . String array containing the scripts for the listeners attached to the event.
Returns the next up the control's chain of parents.
Returns: . The parent .
The to start the search with.
Returns: . The next in the tab order.
The bit to return the value from.
Returns: . true if the specified control style bit is set to true; otherwise, false.
Returns: . True if the event name has any listener attached.
Returns true if the property contains the specified class name .
Returns: . True of the css class name is already included in .
Checks whether the specified theme state is present in the property.
Returns: . True if the widget already has the state .
Returns: . The return value from the delegate being invoked, or null if the delegate has no return value.
Returns: . An that contains the return value from the delegate being invoked, or null if the delegate has no return value.
Returns: . true if the charCode character is the mnemonic character; otherwise, false.
The screen coordinate to convert.
Returns: . A that represents the converted , point , in client coordinates.
The client coordinate to convert.
Returns: . A that represents the converted , point , in screen coordinates.
The screen coordinate to convert.
Returns: . A that represents the converted , rect , in client coordinates.
The client coordinate to convert.
Returns: . A that represents the converted , rect , in screen coordinates.
Returns: . True if the id specified a valid lister and it was removed; otherwise false if id is invalid.
Returns: . True if the event name has any listener that was removed.
Removes the specified css class name from the control's property.
Returns: . The new value of the property.
Returns: . The new list of states stored in the property.
You can also assign a new array of states to the property.
Causes a control bound to the to reread all the items in the list and refresh their displayed values.
Indicates the preference. The final location of the control depends on the scrollable range and the available space. Note that will not scroll the control to the center, but will instead scroll it into the closest visible location with the minimum movement.
Indicates the preference. The final location of the control depends on the scrollable range and the available space. Note that will not scroll the control to the middle, but will instead scroll it into the closest visible location with the minimum movement.
The at which to start the search.
true to ignore the controls with the property set to false; otherwise, false.
Returns: . true if a control was activated; otherwise, false.
The new property value of the control.
The new property value of the control.
The new property value of the control.
The new property value of the control.
The new property value of the control.
The new property value of the control.
The new property value of the control.
The new property value of the control.
A bitwise combination of the values. For any parameter not specified, the current value will be used.
Validates all selectable child controls in the container, including descendants. This is equivalent to calling ValidateChildren(ValidationConstraints.Selectable). See for details of exactly which child controls will be validated.
Returns: .
Returns: .
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 or to enable both events.
Fired when the property value changes.
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when the property changes.
Occurs when the value of the property changes.
Fired when the value of the property changes.
Fired when the control is clicked.
Fired when the property value changes.
Fired when the value of the property changes.
Fired when a control is made visible the first time, fully created and sent to the client.
Fired when the value of the property changes.
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 or to enable both events.
Fired when the component is disposed.
Fired when the value of the property changes.
Fired when the control is double-clicked.
Fired when a drag-and-drop operation is completed.
Fired when a drag-drop operation is terminated either by a drop or canceled.
Fired when an object is dragged into the control's bounds.
Fired when an object is dragged out of the control's bounds.
Fired when an object is dragged over the control's bounds.
Fired when a drag-drop operation is started by the user.
Fired when the property value has changed.
Fired when a control is and the user ends the move operation.
This event fires only when is true and the user moves the widget on the client. It doesn't fire when the property changes.
Fired when a control has and the user ends the resize operation.
This event fires only when the has a value different than and the user resizes the widget on the client. It doesn't fire when the of the control changes.
Fired when the control gains the input focus.
Fired when the property value changes.
Fired when the property value changes.
Fired when the user requests help for a control by pressing F1.
Fired when the ImeMode property has changed.
Fired when a key is pressed while the control has focus.
Fired when a key is pressed while the control has focus.
Fired when a key is released while the control has focus.
Fired when a control should reposition its child controls.
Fired when the control loses the input focus.
Fired when the property value has changed.
Fired when a pointer holds on the screen.
Fired when the control's margin changes.
Fired when the control loses mouse capture.
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 enters the control.
Fired when the mouse pointer rests on the control.
Fired when the mouse pointer leaves the control.
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.
Fired when the control's padding changes.
Fired when a UserPaint control needs to redraw itself.
Fired when the property value changes.
Fired when two finger moved towards or away from each other. It contains the scaling factor of the pinch.
Fired before the event when a key is pressed while focus is on this control.
Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
Fired when the control is resized.
Fired when the active responsive profile is changed.
Fired when the property value changes.
Fired when two finger moved around a single point. It contains the angle of the rotation.
Fired when the property value changes.
Fired when a control is and the user begins the move operation.
This event fires only when is true and the user begins moving the widget on the client.
Fired when a control has and the user begins the resize operation.
This event fires only when the has a value different than and the user begins resizing the widget on the client.
Fired when the control style changed.
Fired when a pointer swipes over the screen.
Fired when the property value has changed.
Fired when the value of the property changes.
Fired when a pointer taps on the screen.
Fired when the property value changes.
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 removed from the touch surface.
Fired when a touch point is moved along the touch surface.
Fired when a touch point is placed on the touch surface.
Fired when a pointer grabs an item and moves the pointer on it.
Fired when the control is finished validating.
Fired when the control is validating.
Fired when the property value changes.
Fired when the control receives a custom event from the client.
Used by the control to display data at run time.
Represents a spinner control that displays values.
Displays a in which a check box is displayed to the left of each item.
Provides a common implementation of members for the and classes.
Enables the user to select a single option from a group of choices when paired with other controls.
Creates a panel that is associated with a .
Manages a related set of pages.
Represents a single tab page in a .
Represents a control that can be hosted in a .
Represents a control that can be hosted in a .
Represents a control that can be hosted in a cell.
Represents a control that can be hosted in a .
Represents a control that can be hosted in a cell when the cell's is set to .
Displays collapsible set of panels for presenting information in a limited amount of space.
Represents a panel in a control.
Represents a control that can display flash applications.
The TreeViewComboBox control represents a control with a as the drop down panel.
Represents a control that displays a video file.
Represents a control that plays an audio file.
Represents a 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.
The TreeViewComboBox control represents a control with a as the drop down panel.
The UserComboBox control represents a control with a custom panel that drops down when the user clicks the down arrow.
Displays a hierarchical collection of labeled items, each represented by a .
All wisej controls derived from the class must implement this interface.
Provides data for the event.
Initializes a new instance of the class.
: Returns or sets whether the event was handled.
: Returns or sets the character corresponding to the key pressed.
Represents the method that will handle the event of a .
Provides data for the or event.
Initializes a new instance of the class.
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.
: Returns whether the ALT key was pressed.
: Returns whether the CTRL key was pressed.
: 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: .
Represents the method that will handle the or event of a .
Provides data for the event.
Initializes a new instance of the class with the specified graphics and clipping rectangle.
: Returns the rectangle in which to paint.
: Returns the graphics used to paint.
Represents the method that will handle the event of a .
Provides data for the , , and events.
Initializes a new instance of the class.
Initializes a new instance of the class.
: Returns which mouse button was pressed.
: Returns the number of clicks or taps.
: Returns the number of times the mouse wheel has rotated.
: Returns the location of the mouse or pointer event.
: Returns the original target when the pointer event has bubbled up because the original target was either not or .
: Returns the internal role assigned to the element that generated the pointer event: checkbox, button, ...
: Returns the x-coordinate of the mouse or touch event.
: Returns the y-coordinate of the mouse or touch event.
Represents the method that will handle the event of a .
Provides data for the event.
Initializes a new instance of the class with the specified component and property affected.
Initializes a new instance of the class with the specified control and property affected.
: Returns the affected by the layout change.
: Returns the child control affected by the change.
: Returns the property affected by the change.
Indicates whether there is data on the Clipboard in the format.
Returns: . true if there is audio data on the Clipboard; otherwise, false.
Returns: . 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 format or can be converted to that format.
Returns: . 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 format or can be converted to that format.
Returns: . true if there is image data on the Clipboard; otherwise, false.
Indicates whether there is data on the Clipboard in the or format, depending on the operating system.
Returns: . 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 value.
Returns: . true if there is text data on the Clipboard in the value specified for format ; otherwise, false.
Returns: . A containing audio data or null if the Clipboard does not contain any data in the format.
Returns: . An 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.
Returns: . An that represents the data currently on the Clipboard, or null if there is no data on the Clipboard.
Returns: . A containing file names or null if the Clipboard does not contain any data that is in the format or can be converted to that format.
Returns: . An representing the Clipboard image data or null if the Clipboard does not contain any data that is in the format or can be converted to that format.
Retrieves text data from the Clipboard in the or format, depending on the operating system.
Returns: . The Clipboard text data or if the Clipboard does not contain data in the or format, depending on the operating system.
Retrieves text data from the Clipboard in the format indicated by the specified value.
Returns: . The Clipboard text data or if the Clipboard does not contain data in the specified format.
Saves the array in the format after converting it to a to the clipboard.
audioBytes is null.
Saves the in the format to the clipboard.
audioStream is null.
text is null.
data is null.
The value of data is null.
Saves the collection of file names in the format to the clipboard.
filePaths is null.
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 , is null, contains a colon (:), or exceeds the system-defined maximum length. See the property of the for more information.
Saves the in the format to the clipboard
image is null.
Saves the text data in the format to the clipboard.
text is null or .
Saves the text data in the format indicated by the specified value to the clipboard.
text is null.
graphics
clipRect
button
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
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.
Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.
affectedComponent
affectedProperty
The property affected by the layout change.
affectedControl
affectedProperty
The property affected by the layout change.
format
format
format
format
audioBytes
audioStream
text
The text to save to the client's temporary clipboard.
format
data
data
The data to place on the Clipboard.
filePaths
image
text
The text to add to the Clipboard.
text
The text to add to the Clipboard.
format
sender
The source of the event.
e
A that contains the event data.
Fired when a key is pressed while the control has focus.
sender
The source of the event.
e
A that contains the event data.
Fired when a control should reposition its child controls.
sender
The source of the event.
e
A that contains the event data.
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.
Fired when the user clicks the control with the mouse.
The used to paint the item.
The that represents the rectangle in which to paint.
Represents the method that will handle the event of a .
One of the values that indicate which mouse button was pressed.
One of the values that indicate which mouse button was pressed.
The affected by the layout change.
The affected by the layout change.
Represents the method that will handle the event of a .
The format of the data to look for. See for predefined formats.
One of the values.
The format of the data to retrieve. See for predefined formats.
One of the values.
A array containing the audio data.
A containing the audio data.
The format of the data to set. See for predefined formats.
An representing the data to add.
A containing the file names.
The to add to the Clipboard.
One of the values.
Provides data for event.
: Returns the calculated scale factor.
Represents the method that will handle the event.
Represents the method that will handle the event.
sender
The source of the event.
e
A that contains the event data.
Fired when two finger moved towards or away from each other. It contains the scaling factor of the pinch.
Provides data for the event.
Initializes a new instance of the class with the specified key.
One of the values.
: Returns whether the ALT key was pressed.
: Returns whether the CTRL key was pressed.
: Returns whether a key is a regular input key.
: 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 whether the SHIFT key was pressed.
Represents the method that will handle the event.
Represents the method that will handle the event.
sender
The source of the event.
e
A that contains the event data.
Fired before the event when a key is pressed while focus is on this control.
Provides data for the event.
Initializes a new instance of the class.
: Returns or sets the status of a drag-and-drop operation.
: Returns if the user pressed the ESC key.
: Returns the current state of the SHIFT, CTRL, and ALT keys.
Represents the method that will handle the event of a .
Represents the method that will handle the event.
sender
The source of the event.
e
A that contains the event data.
Fired when two finger moved around a single point. It contains the angle of the rotation.
Represents the method that will handle the event of a .
sender
The source of an event.
e
A 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.
Provides data for event.
: Returns a number with the current calculated angle between the primary and secondary active pointers.
Represents the method that will handle the event.
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.
: Returns the start time of the performed swipe.
: Returns the velocity of the performed swipe.
Represents the method that will handle the event.
Provides data for the event.
Initializes a new instance of the class.
Previous .
New active .
: The new active profile.
: The previously active profile.
Represents the method that will handle the , , , events.
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.
: Returns the distance between two fingers since the start of the event.
Provides data for the event of the control.
Initializes a new instance of the class.
: Returns the data object that was sent by the widget with the event.
: Returns the type (name) of the event fired by the widget.
Represents the method that will handle the event.
type
The type (name) of event.
data
The data object received with the event.
Wisej.Web.Padding
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents padding or margin information associated with a user interface (UI) element.
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.
p1
p2
p1
p2
Returns or sets padding within the control.
Returns or sets the space between controls.
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 padding within the toolbar button.
Returns or sets the space between toolbar buttons.
Returns the size of the inset border and padding.
Wisej.Web.Button
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a button control.
Represents a split button control.
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.ButtonBase
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Implements the basic functionality common to button controls.
Newlines (CRLF) are converted to when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.
Throws:
Newlines (CRLF) are converted to when allowHtml is false, or when allowHtml is true and the text doesn't contain any html.
Represents a button control.
Represents a check box control.
Represents a split button control.
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
sender
The source of the event.
e
A 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 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.
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.
Represents the method that will handle the , , , events.
Represents the method that handles a event.
Represents the method that will handle the event.
sender
The source of the event.
e
A that contains the event data.
Fired when a pointer swipes over the screen.
: Returns the bounds of the display.
: Returns the device name associated with a display.
: 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.
Initializes a new instance of the class using a separate padding size for each edge.
Initializes a new instance of the class using the supplied padding size for all edges.
: Returns or sets the padding value for all the edges.
: Returns or sets the padding value for the bottom edge.
: Returns the combined padding for the right and left edges.
: Returns if the padding is empty.
: Returns or sets the padding value for the left edge.
: Returns or sets the padding value for the right edge.
: Returns the padding information in the form of a .
: Returns or sets the padding value for the top edge.
: Returns the combined padding for the top and bottom edges.
Computes the sum of the two specified values.
A .
A .
Returns: . A that contains the sum of the two specified values.
Subtracts one specified value from another.
A .
A .
Returns: . A that contains the result of the subtraction of one specified value from another.
Returns or sets the space between the edge of a and its content.
Returns or sets the padding inside objects in any mode.
Computes the sum of the two specified values.
Represents the method that handles a 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.
Defines a collection of predefined objects.
: Returns the "shortcut" cursor.
: Returns the "arrow" cursor.
: Returns "cell" cursor.
: Returns the clipboard "copy" cursor.
: Returns the "crosshair" cursor.
: Returns the "default" cursor, which is usually an arrow cursor.
: Returns the "grab" cursor.
: Returns the "hand" cursor, typically used when hovering over a Web link.
: Returns the "help" cursor, which is a combination of an arrow and a question mark.
: Returns the "row-resize" cursor that appears when the mouse is positioned over a horizontal splitter bar.
: Returns the "text" cursor, which is used to show where the text cursor appears when the mouse is clicked.
: Returns the "move" cursor, typically an cross shape.
: Returns the "not-allowed" cursor that indicates that a particular region is invalid for the current operation.
: Returns the "none" cursor.
: Returns the "not-allowed" cursor.
: Returns the "move" sizing cursor, which consists of four joined arrows that point north, south, east, and west.
: Returns the "ne-resize" diagonal (north/east) sizing cursor.
: Returns the "nesw-resize" diagonal (northeast/southwest) sizing cursor.
: Returns the "n-resize" vertical (north/south) sizing cursor.
: Returns the "nw-resize" diagonal (north/west) sizing cursor.
: Returns the "nwse-resize" diagonal (northwest/southeast) sizing cursor.
: Returns the "se-resize" diagonal (south/east) sizing cursor.
: Returns the "sw-resize" diagonal (south/west) sizing cursor.
: Returns the "w-resize" horizontal (west/east) sizing cursor.
: Returns the "text" cursor.
: Returns the "col-resize" cursor that appears when the mouse is positioned over a vertical splitter bar.
: Returns the "wait" cursor, typically an hourglass shape.
: Returns the "zoom-in" cursor.
: Returns the "zoom-out" cursor.
Provides data for the event.
Initializes a new instance of the class.
The that was clicked.
: Returns the clicked menu item.
Represents the method that will handle the event of a control.
Initializes a new instance of the class.
: Returns or sets the mode by which the automatically resizes itself.
: Returns or sets the border style of the button control.
: Returns or sets a value that is returned to the parent form when the button is clicked.
: Returns or sets the mode of the control to determine whether to display the icon, the text or both.
: Returns or sets the distance in pixels between the image and the label inside the button.
: Returns the collection of objects associated with the button.
: Enables or disables the auto-repeat feature. When enabled, the button keeps firing click events at an increasing rate while the user keeps the button pressed.
: Returns or sets a value indicating the shortcut key associated with the button.
Generates a event for a button.
Fired when the user clicks one of the drop down menu items.
Allows a control to act like a button on a .
All wisej controls derived from the class must implement this interface.
Initializes a new instance of the class.
: Returns or sets a value indicating that the control can display HTML in the Text property.
: Returns or sets whether the ellipsis character (...) appears at the right edge of the control, denoting that the text extends beyond the size of the control.
: Returns or sets whether the application blocks the browser with a modal mask when this button is clicked and until the server is done processing the execution request.
blocks the entire browser as soon as the button is clicked since it's implemented on the client side, while blocks the specific widget when returning from the request.
: Returns or sets a value that indicates whether the control resizes based on its contents.
: Returns or sets the image that is displayed in a button control.
: Returns or sets the alignment of the image in the button control.
: Returns or sets the image list index value of the image in the displayed in the button control.
The specified index is less than -1.
: Returns or sets the key accessor for the image in the displayed in the button control.
: Returns or sets the that contains the displayed in a button control.
: Returns or sets the theme name or URL for the image to display in the button control.
: Returns or sets the text associated with this control.
: Returns or sets the alignment of the text in the button control.
: Returns or sets the position of text and image relative to each other.
: Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control.
Generates a event for a button.
Enables the user to select a single option from a group of choices when paired with other controls.
All wisej controls derived from the class must implement this interface.
Represents the method that will handle the event of a control.
Creates a new cursor using the .
Creates a new cursor using the .
Creates a new cursor using the .
Creates a new cursor using the .
: Returns the name of the cursor.
: Returns or sets the pointer's position.
Enables the user to select a single option from a group of choices when paired with other controls.
Initializes a new instance of the class.
: Returns or sets the value that determines the appearance of a control.
: Returns or set a value indicating whether the or values and the 's appearance are automatically changed when the is clicked.
: Returns or sets a value that indicates whether the control resizes based on its contents.
: Returns or sets the horizontal and vertical alignment of the check mark on a control.
: Gets or sets whether the control is checked.
: Returns or sets the text color used when the is checked.
: Returns or sets a value that indicates that the control is invalid.
: Returns or sets the invalid message that is shown in the invalid tooltip.
: Returns or sets whether the control is read-only.
: Returns or sets whether the user can give the focus to this control using the TAB key and the property is set to true.
: Returns or sets the alignment of the text on the control.
Generates a event for a .
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when the value of the property has changed.
Allows an application to filter the files and folders loaded by the and components and to set the icon, creation date and modified date. To skip a file or folder, set e.Cancel = true. To set a file's icon, or date, set the , or properties.
Constructs a new instance of .
: Sets the creation DateTime of the file.
: Sets the file size in bytes.
: Sets the name or path of the icon to display next to the file.
: Returns true when the refers to a directory.
: Sets the last modified DateTime of the file.
: Returns the full path of the file or folder being loaded.
: Returns or sets a value indicating the layout of the . When the value is set to the down arrow is places below the text, otherwise it's to the right of the text.
Initializes a new instance of the class.
: Returns or sets the value that determines the appearance of a control.
: Returns or set a value indicating whether the or values and the 's appearance are automatically changed when the is clicked.
: Returns or sets a value that indicates whether the control resizes based on its contents.
: Returns or sets the horizontal and vertical alignment of the check mark on a control.
: Returns or set a value indicating whether the is in the checked state.
: Returns or sets the text color used when the is checked.
: Returns or sets the state of the .
: Returns or sets a value that indicates that the control is invalid.
: Returns or sets the invalid message that is shown in the invalid tooltip.
: Returns or sets whether the control is read-only.
: Returns or sets the alignment of the text on the control.
: Returns or sets whether the will allow three check states rather than two.
Generates a event for a .
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when the value of the property changes.
Fired when the value of the property has changed.
This class is abstract. The current implementations in Wisej are and . You can override this class or and to add your own custom behavior and localization. You can:
Override . It's called when the specified file doesn't exist and the property is true.
Override to create your custom when the method is called.
Set the to a class that has a constructor that accepts as the single argument to change the User Interface (UI) of the file dialog.
Override to provide your custom implementation of the actions to execute when the user presses the OK button.
You must add at least one to the collection before showing the dialog.
Initializes a new instance of .
Initializes a new instance of using the initial roots .
Initializes a new instance of the extender with a specified container.
: Returns or sets whether the dialog box automatically adds an extension to a file name if the user omits the extension.
: Returns or sets whether the dialog box displays a warning if the user specifies a file name that does not exist.
: Returns or sets the default file name extension.
: Returns or sets a string containing the file name selected in the file dialog box.
: Returns the file names of all selected files in the dialog box.
: Returns the that contains the selected .
: Returns or sets the current file name filter string, which determines the choices that appear in the "Save as file type" or "Files of type" box in the dialog box.
: Returns or sets the index of the filter currently selected in the file dialog box.
: Returns or sets the initial directory displayed by the file dialog box.
: List of root file systems displayed by the FileDialog.
The Roots collection and the implementations allow the application to use arbitrary names mapped to a specific path. For example, the app may add a root object named "Documents" to "c:\users[logged-user-id]\files\documents". Each user will see "Documents" as the root, but will also see only the files in the [logged-user-id] directory.
: Returns or sets whether the Help button is displayed in the file dialog box.
: Returns or sets the file dialog box title.
Returns the that contains the specified path .
Returns: . The that contains the specified path or null if not found.
Maps the virtual path to the corresponding physical path on the specific implementation.
Returns: . The physical path for the implementation.
Receives the file names selected by the user and validates them according to the properties set in the instance.
Returns: . True if the files have been validated and the dialog can close; otherwise false to keep the dialog open.
Fired when the user clicks on the Open or Save button on a file dialog box.
Fired when the file dialog is loading a file or folder.
image
source
The name of a theme image or a URL to an image resource.
stream
image
x
x-coordinate of the hotspot location.
y
y-coordinate of the hotspot location.
stream
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.
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
path
Path of the file or directory.
isDirectory
Indicates that the path is for a directory.
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
roots
container
path
filePath
Virtual path to map to the corresponding physical path.
fileNames
Array containing the selected file paths.
Prompts the user to open a file from the server.
Prompts the user to select a location for saving a file on the server.
Wisej.Web.FolderBrowserDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
roots
container
path
folderPath
Virtual path to map to the corresponding physical path.
Resets all properties to their default values.
Wisej.Web.FileDialogUI
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
UI implementation for the FileDialog class.
fileDialog
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
All wisej components implement this interface.
All wisej top-level windows implement this interface.
Allows an object to serialize itself.
Wisej.Web.SaveFileDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Prompts the user to select a location for saving a file on the server.
You can:
container
Opens the file with read/write permission selected by the user.
Throws:
fileNames
Array containing the selected file paths.
Resets all dialog box options to their default values.
Wisej.Web.ContainerControl
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides focus-management functionality for controls that can function as a container for other controls.
Throws:
Validates the last unvalidated control and its ancestors up through, but not including the current control.
Validates the last unvalidated control and its ancestors up through, but not including the current control.
sender
The source of the event.
e
A that contains the event data.
Fired when the user clicks one of the drop down menu items.
An to use for the cursor.
A to use for the cursor.
An to use for the cursor.
A to use for the cursor.
All wisej controls derived from the class must implement this interface.
Represents the method that will handle the and events.
Allows a control to act like a button on a .
All wisej controls derived from the class must implement this interface.
All wisej controls derived from the class must implement this interface.
Initial file systems to load in the .
An that represents the container of the component.
Full path of the file to locate in on of the .
Override . It's called when the specified file doesn't exist and the property is true.
Override to create your custom when the method is called.
Set the to a class that has a constructor that accepts as the single argument to change the User Interface (UI) of the file dialog.
Override to provide your custom implementation of the actions to execute when the user presses the OK button.
You must add at least one to the collection before showing the dialog.
Initializes a new instance of .
Initializes a new instance of the extender with a specified container.
An that represents the container of the component.
: Returns or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that does not exist.
: Returns or sets a value indicating whether the dialog box allows multiple files to be selected.
: Returns the file name and extension for the file selected in the dialog box. The file name does not include the path.
: Returns an array of file names and extensions for all the selected files in the dialog box. The file names do not include the path.
Opens the file selected by the user, with read-only permission. The file is specified by the property.
Returns: . A that specifies the read-only file selected by the user.
is empty or null.
Represent a collection of the root file systems shown by the implementation.
Maps the virtual path to the corresponding physical path on the specific implementation.
filePath
Virtual path to map to the corresponding physical path.
Returns: . The physical path for the implementation.
Represents the method that will handle the and events.
sender
The source of the event.
e
A that contains the event data.
Fired when the file dialog is loading a file or folder.
Fired when the file dialog is loading a file or folder.
Allows the user to select a folder from one of the .
Initializes a new instance of .
Initializes a new instance of using the initial roots .
Initial file systems to load in the .
Initializes a new instance of the extender with a specified container.
An that represents the container of the component.
: Returns or sets the description splayed above the tree view control in the dialog box.
: List of root file systems displayed by the FolderBrowserDialog.
The Roots collection and the implementations allow the application to use arbitrary names mapped to a specific path. For example, the app may add a root object named "Documents" to "c:\users[logged-user-id]\files\documents". Each user will see "Documents" as the root, but will also see only the files in the [logged-user-id] directory.
: Returns sets the path selected by the user.
: Returns or sets whether the Help button is displayed in the file dialog box.
: Returns or sets the file dialog box title.
Returns the that contains the specified path .
Full path of the file to locate in on of the .
Returns: . The that contains the specified path or null if not found.
Maps the virtual path to the corresponding physical path on the specific implementation.
Returns: . The physical path for the implementation.
Fired when the file dialog is loading a file or folder.
All wisej controls derived from the class must implement this interface.
Defines values representing events.
Deselected
Represents the event.
Deselecting
Represents the event.
Selected
Represents the event.
Selecting
Represents the event.
Returns a value indicating which event is occurring.
Returns a value indicating which event is occurring.
Override . It's called when the specified file doesn't exist and the property is true.
Override . It's called when the specified file doesn't exist and the property is true.
Override . It's called when the specified file doesn't exist and the property is true.
Override to create your custom when the method is called.
Set the to a class that has a constructor that accepts as the single argument to change the User Interface (UI) of the file dialog.
Override to provide your custom implementation of the actions to execute when the user presses the OK button.
You must add at least one to the collection before showing the dialog.
Initializes a new instance of .
Initializes a new instance of the extender with a specified container.
An that represents the container of the component.
: Returns or sets a value indicating whether the dialog box prompts the user for permission to create a file, if the file specified file does not exist.
: Returns or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that already exists.
Returns: . A that specifies the read/write file selected by the user.
is empty or null.
Receives the file names selected by the user and validates them according to the properties set in the instance.
Returns: . True if the files have been validated and the dialog can close; otherwise false to keep the dialog open.
Represents the method that will handle the or event of a control.
sender
The source of the event.
e
A that contains the event data.
Occurs before a panel is selected, enabling a handler to cancel the panel change.
Occurs before a panel is deselected, enabling a handler to cancel the panel change.
Provides data for the and events of a control.
Initializes a new instance of the class.
The the event is occurring for.
The zero-based index of panel in the collection.
One of the values.
: Returns a value indicating which event is occurring.
: Returns the the event is occurring for.
: Returns the zero-based index of the in the collection.
Represents the method that will handle the or event of a control.
Provides data for the and events of a control.
Initializes a new instance of the class.
: Returns a value indicating which event is occurring.
: Returns the the event is occurring for.
: Returns the zero-based index of the in the collection.
Displays collapsible set of panels for presenting information in a limited amount of space.
Initializes a new instance of the class.
: Returns or sets the type of border that is drawn around the panel.
: Returns or sets a value indicating whether the Accordion control collapses when all the children are collapsed.
: Returns the rectangle that represents the virtual display area of the control.
: Returns or sets the images to display on the panel's title bar.
: Returns the number of panels in the container.
: Returns the collection of panels in the container.
: Returns or sets the index of the currently selected panel.
The value is less than -1.
: Returns or sets a value indicating whether the selected panel is moved to the top of the container.
: Returns or sets the currently selected panel.
: Returns or sets whether a panel's ToolTip is shown when the mouse passes over the panel's title.
Makes the following the with the specified index the current panel.
index is less than 0 or greater than the number of controls in the collection minus 1.
Makes the following the specified the current panel.
panel is null.
Makes the following the the specified name the current panel.
panelName is null; or panelName does not match the property of any in the collection.
Returns the panel at the specified location.
Returns: . The at the specified location.
index is less than 0 or greater than the number of controls in the collection minus 1.
Makes the with the specified index the current .
index is less than 0 or greater than the number of controls in the collection minus 1.
Makes the specified the current .
panel is null.
Makes with the specified name the current .
panelName is null; or panelName does not match the property of any in the collection.
Fired when a panel is deselected.
Occurs before a panel is deselected, enabling a handler to cancel the panel change.
Fired when a panel is selected.
Fired when the property has changed.
Occurs before a panel is selected, enabling a handler to cancel the panel change.
Represents the method that will handle the event.
Represents a panel in a control.
Initializes a new instance of the class.
Initializes a new instance of the class and specifies the text to display as the title of the panel.
: Returns the parent control.
: Returns whether the is collapsed.
: Returns or sets a value indicating that the panel can show the expand button on the title bar.
: Returns or sets the text to display as the title of the .
: Returns the instance of associated with this control.
Retrieves the panel that contains the specified .
Returns: . The that contains the specified , or null if it cannot be found.
Initializes a new instance of the class.
: Returns or sets a collection of keys that fire the Accelerator event when the user presses the accelerator key while the focus is on any child control.
: Returns or sets the active control on the container control.
The assigned could not be activated.
: Returns or sets the BindingContext for the control.
: Returns or sets whether the container will receive key events before the event is passed to the control that has focus.
: Returns the that the container control is assigned to.
: Returns the that the container control is assigned to.
: Enables or disables right-to-left layout when the value of is
Returns: .
Returns: .
Fired when one of the key is pressed.
Fired when the value of the property changes.
Provides data for the event.
Initializes a new instance of the class.
: Returns the Wisej component that generated the "keydown" event'.
panel
panelIndex
cancel
true to cancel the panel change by default; otherwise, false.
action
index
panel
panelName
index
index
panel
panelName
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
text
The text for the tab.
control
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
checkAutoValidate
UI implementation for the FileDialog class.
UI implementation for the FolderDialog class.
Displays data in a customizable list format.
Represents a window or dialog box that makes up an application's user interface.
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 control consisting of a movable bar that divides a container's display area into two resizable panels.
Provides an empty control that can be used to create other controls.
Represents a desktop container that can host floating windows.
Provides an popup container that can be attached to other controls.
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
All wisej components implement this interface.
Allows an object to serialize itself.
keyData
component
The Wisej component that originated the keyboard event.
Wisej.Web.DataRepeater
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Displays data in a customizable list format.
Throws:
refreshChildren
True to also refresh all the children of this control.
index
Throws:
index
Throws:
index
alignWithTop
Throws:
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.DataRepeaterLayoutStyles
Wisej.Web.DataRepeaterItemValueEventArgs
Wisej.Web.DesktopTaskBarItem
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
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 " ".
Updates the component on the client. Overridden to repaint the taskbar in design mode.
sender
The source of the event.
e
A that contains the event data.
Fired when one of the key is pressed.
The the event is occurring for.
The zero-based index of panel in the collection.
One of the values.
Represents the method that will handle the or event of a control.
The index in the collection of the to deselect.
The to deselect.
The of the panel to deselect.
The index of the to get.
The index in the collection of the tab to select.
The to select.
The of the tab to select.
All wisej controls derived from the class must implement this interface.
The to look for.
All wisej controls derived from the class must implement this interface.
If true, the value of the property is used to determine if validation should be performed; if false, validation is unconditionally performed.
All wisej controls derived from the class must implement this interface.
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.
Represents the method that will handle the event.
Provides data for the event.
Initializes a new instance of the class.
The index of the that is being deleted.
: Gets the number of items being deleted.
: Returns the index of the item that is being deleted.
Represents the method that handles the event.
Represents the method that will handle the , , , and events.
sender
The source of the event.
e
An object that contains the event data.
Fired when a new is added to the control.
Fired when a is deleted from the control.
Fired when the user adds a new .
Fired after the user deletes a .
Represents the method that handles the event.
sender
The source of the event.
e
An object that contains the event data.
Fired when the user deletes a .
Represents the method that will handle the event.
sender
The source of the event.
e
A object that contains the event data.
Fired when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.
Used by the control to display data at run time.
Initializes a new instance of the object.
: Return a value that determines whether a is the currently selected item in a control.
: Returns the index of a in a control.
: Returns value that determines whether the data for a in a control has been changed by the user.
All wisej controls derived from the class must implement this interface.
Initializes a new instance of the class.
: Returns or sets whether users can add a new row to the at run time.
: Returns or sets whether users can delete a row from the at run time.
: Returns or sets the border style for the control.
: Returns the current in the control.
: Returns or sets the index of the current in a control.
: Return or sets the name of the list or table in the data source for which the is displaying data.
: Returns or sets the data source for which the is displaying data.
: Returns the list of items currently displayed on the client.
: Return the index of the first currently displayed in a control.
: Return whether the data for a in the control has been changed by a user.
: Returns or sets the border style for the items in a control.
: Returns or sets the number of items that are in the control.
: Return sets the size of the item header in a control.
: Returns or sets whether item headers are displayed in a control.
: Returns or sets the background color for the panel when it's the .
: Returns or sets the size of the child panels.
: Returns the template that represents the for the control.
: Return or sets whether the control will be displayed with a vertical or horizontal orientation.
: Returns or sets the number of items to prefetch outside of the visible area. The default is 0 (disabled).
: Enables or disables right-to-left layout when the value of is
: Returns or sets whether the scrollbar is visible. When the scrollbar is hidden, the user can still scroll using touch events, the keyboard, or the wheel.
: Returns or sets a value that indicates whether you have provided your own data-management operations for the control.
Adds a new to the control.
The property is set to False.
Allows users to cancel an edit to the current child control in the current .
Forces a full reload of the data displayed by this .
Forces a full reload of the data displayed by this .
Removes a at the specified position from a control.
The index of the .
The value specified for index is less than 0 or greater than - 1.
Resets the value of to the original value.
Resets the value of to the original value.
Resets the value of to the original value.
Scrolls the specified into view.
The index of the .
The value specified for index is less than 0 or greater than - 1.
Scrolls a specified into view, optionally aligning it with the top of the control.
The index of the .
true to align the top of the with the top of the control; otherwise, false.
The value specified for index is less than 0 or greater than - 1.
Fired when the property changes.
Fired when the property changes.
Fired when the property changes.
Fired when an external data-parsing or validation operation throws an exception, or when an attempt to commit data to a data source fails.
Fired when the property changes.
Fired when the property changes.
Fired after the and its controls are cloned from the .
Fired before the and its controls are cloned from the .
Fired when a new is added to the control.
Fired after the becomes the current item.
Fired when a is deleted from the control.
Fired when an instance of is updated.
Fired when the property is set to true and a new value for a child control of a is needed.
Fired when the property is set to true and the value of a child control in the changes.
Fired when the property changes.
Fired when the property is set to true and the user creates a new .
Fired when the user adds a new .
Fired after the user deletes a .
Fired when the user deletes a .
Fired when the property changes.
All wisej controls derived from the class must implement this interface.
Provides data for the , , , and events.
Initializes a new instance of the class.
The index of the that is being added or deleted.
: Return the number of items being added to or deleted from a control.
: Returns the index of the item being added or deleted.
Represents the method that will handle the , , , and events.
Represents the method that will handle the event.
sender
The source of the event.
e
A object that contains the event data.
Fired before the and its controls are cloned from the .
Provides an enumeration for specifying the orientation of items in a control.
Return or sets whether the control will be displayed with a vertical or horizontal orientation.
Represents the method that will handle the and events.
sender
The source of the event.
e
A object that contains the event data.
Fired when the property is set to true and a new value for a child control of a is needed.
Fired when the property is set to true and the value of a child control in the changes.
Provides data for the event.
Initializes a new instance of the class.
The cloned from the object.
: Returns a instance that triggered the event.
Represents the method that will handle the event.
Provides data for the and events.
Initializes a new instance of the class.
The index of the that contains the control that is raising the event.
: Gets the child control of a that is raising the or event.
: Gets the index of the that contains the control that is raising the or event.
: Gets the name of the data-bound property of the control that is raising a or event.
: Gets the property value that has changed to raise a or event.
Represents the method that will handle the and events.
Represents the method that will handle the event.
sender
The source of the event.
e
A object that contains the event data.
Fired after the and its controls are cloned from the .
Fired after the becomes the current item.
Fired when an instance of is updated.
Represents a component in the control's taskbar.
Initializes a new instance of the class.
Initializes a new instance of the class and displays the specified text on the item.
: Returns or sets a value indicating that the control can display html in the Text property.
: Returns or sets whether the button is enabled.
: Returns or sets the image that is displayed in a .
: Returns or sets the position of the within this taskbar item.
: Returns or sets the theme name or URL for the image to display in the .
: Returns or sets the name of the .
: Returns the control that the taskbar item button is assigned to.
: Returns or sets the position of this within the taskbar in the parent .
: Returns or sets the object that contains user data.
: Returns or sets the text displayed on the taskbar item.
: Returns or sets the text that appears as a ToolTip for the taskbar item.
: Returns or sets whether the taskbar item is visible or hidden.
Provides data for the event.
Initializes a new instance of the class.
: Returns or sets the that was clicked.
Initializes a new instance of the class.
: Returns true if this desktop instance is the currently active desktop. It is the same as comparing the instance with .
: Returns or sets whether the taskbar is hidden automatically when there are no opened windows or no windows with the property ShowInTaskbar set to true.
: Returns a rectangle that represents the inner dimensions of the control.
: Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent.
: Returns or sets the height of the page.
: Returns whether the taskbar is currently visible.
: Returns the collection of controls displayed in the taskbar of the desktop control.
: Returns or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
: Returns the height and width of the page.
: Return or sets the position of the taskbar to one of the four sides indicated by the values.
: Returns the height or width of the taskbar in the current theme, depending on the value of .
: Returns or sets the title of the . If the desktop is the main desktop, setting the text also changes the title in the browser.
: Returns or sets the wallpaper image.
: Returns or sets the width of the page.
Fired when the desktop becomes active, and it's the new .
Fired when the desktop is deactivated and it's no longer the .
Fired when a on the is clicked.
Fired when a on the is double clicked.
Fired before the desktop becomes visible for the first time.
Occurs when the property changes value.
Occurs when the property AutoHideTaskbar is set to true and the TaskBar is either hidden or shown.
text
All wisej components implement this interface.
Allows an object to serialize itself.
item
button
clicks
The number of times a mouse button was pressed.
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
All wisej components implement this interface.
All wisej top-level windows implement this interface.
Allows an object to serialize itself.
Wisej.Web.Control ControlCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
owner
Adds the specified control to the control collection.
child
Adds an array of control objects to the collection.
controls
Removes all controls from the collection.
Removes and disposes all controls from the collection.
dispose
Indicates whether the controls removed from the collection should be disposed.
Determines whether the specified control is a member of the collection.
control
key
Searches for controls by their type and builds an array of all the controls that match.
type
searchAllChildren
true to search all child controls; otherwise, false.
Throws:
Searches for controls by their name and builds an array of all the controls that match.
key
searchAllChildren
true to search all child controls; otherwise, false.
Throws:
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.
child
throwException
Throws:
Retrieves the index of the specified control in the control collection.
control
Retrieves the index of the first occurrence of the specified item within the collection.
key
The name of the control to search for.
Removes the specified control from the control collection.
child
Removes the child control with the specified key.
key
The name of the child control to remove.
Sets the index of the specified child control in the collection.
child
The child control to search for.
newIndex
The new index value of the control.
The text to display on the new .
Represents a component in the control's taskbar that can host any .
Represents a DateTime component in the control's taskbar.
The that was clicked.
One of the values that indicate which mouse button was pressed.
Represents the method that will handle the event of a .
All wisej controls derived from the class must implement this interface.
Represents a collection of objects.
Initializes a new instance of the class.
The that owns this collection.
: Returns whether the owner control has already been disposed.
: Returns the at the specified indexed location.
: Returns the with the specified key in the collection.
: Returns the control that owns this .
The to add.
An array of objects to add to the collection.
The to locate in the collection.
Returns: . true if the is a member of the collection; otherwise, false.
Determines whether the contains an item with the specified key.
The key to locate in the .
Returns: . true if the contains an item with the specified key; otherwise, false.
The type of the controls to locate in the .
Returns: . Array of controls that are derived from the specified type .
type is null.
The key to located in the .
Returns: . Array of controls with the specified name.
The key parameter is null or an empty string ("").
The to search for in the control collection.
true to throw an exception if the specified in the child parameter is not a control in the ; otherwise, false.
Returns: . A zero-based index value that represents the location of the specified child control within the control collection; otherwise -1 if the specified is not found in the .
The child is not in the , and the throwException parameter value is true.
Retrieves a reference to an enumerator object that is used to iterate over a .
Returns: . An .
The to locate in the collection.
Returns: . A zero-based index value that represents the position of the specified in the .
Returns: . The zero-based index of the first occurrence of the control with the specified name in the collection.
The to remove.
Represents the method that will handle the event of a .
Provides data for event.
: Returns the Axis of the track event.
: Returns the X, Y delta for the track event.
: Returns the X delta of the track event.
: Returns Y delta of the track event.
sender
The source of the event.
e
A that contains the event data.
Fired when a UserPaint control needs to redraw itself.
Represents the method that will handle the event.
Initializes a new instance of .
Initializes a new instance of the extender with a specified container.
: Returns or sets the color selected by the user.
: Returns or sets the set of custom colors shown in the dialog box.
container
An that represents the container of the component.
Represents the method that will handle the or event of a control.
sender
The source of the event.
e
A that contains the event data.
Fired when a panel is selected.
Fired when a panel is deselected.
Wisej.Web.FolderBrowserDialogUI
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
UI implementation for the FolderDialog class.
folderDialog
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
All wisej components implement this interface.
All wisej top-level windows implement this interface.
Allows an object to serialize itself.
Represents the method that will handle the event of a .
sender
The source of the event.
e
A that contains the event data.
Fired when a on the is clicked.
Fired when a on the is double clicked.
All wisej controls derived from the class must implement this interface.
Wisej.Web.DataObject
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Implements a basic data transfer mechanism.
data
The data to store.
format
data
The data to store.
format
Retrieves an audio stream from the data object.
Returns the data associated with the specified class type format.
format
Returns the data associated with the specified data format.
format
Returns the data associated with the specified data format, using an automated conversion parameter to determine whether to convert the data to the format.
format
autoConvert
true to the convert data to the specified format; otherwise, false.
format
Returns the data associated with the specified class type format.
format
format
autoConvert
autoConvert
Retrieves an image from the data object.
format
audioBytes
Throws:
audioStream
Throws:
data
The data to store.
format
data
The data to store.
format
data
The data to store.
format
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
Throws:
image
Throws:
textData
The text to add to the data object.
Throws:
textData
The text to add to the data object.
format
Throws:
Provides a format-independent mechanism for transferring data.
Initializes a new instance of the class.
Initializes a new instance of the class and adds the specified object to it.
Initializes a new instance of the class and adds the specified object in the specified format.
The format of the specified data. See for predefined formats.
Indicates whether the data object contains data in the format.
Returns: . true if the data object contains audio data; otherwise, false.
Indicates whether the data object contains data that is in the format or can be converted to that format.
Returns: . true if the data object contains a file drop list; otherwise, false.
Indicates whether the data object contains data that is in the format or can be converted to that format.
Returns: . true if the data object contains image data; otherwise, false.
Indicates whether the data object contains data in the format.
Returns: . 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 value.
One of the values.
Returns: . true if the data object contains text data in the specified format; otherwise, false.
Returns: . A containing audio data or null if the data object does not contain any data in the format.
A representing the format of the data to retrieve.
Returns: . The data associated with the specified format, or null.
The format of the data to retrieve. See for predefined formats.
Returns: . The data associated with the specified format, or null.
The format of the data to retrieve. See for predefined formats.
Returns: . The data associated with the specified format, or null.
Determines whether data stored in this is associated with, or can be converted to, the specified format.
A representing the format to check for.
Returns: . true if data stored in this is associated with, or can be converted to, the specified format; otherwise, false.
A representing the format of the data to retrieve.
Returns: . The data associated with the specified format, or null.
Determines whether this contains data in the specified format or, optionally, contains data that can be converted to the specified format.
The format to check for. See for predefined formats.
true to determine whether data stored in this can be converted to the specified format; false to check whether the data is in the specified format.
Returns: . true if the data is in, or can be converted to, the specified format; otherwise, false.
Returns a list of all formats that data stored in this is associated with or can be converted to.
Returns: . An array of type , 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 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.
true to retrieve all formats that data stored in this is associated with, or can be converted to; false to retrieve only native data formats.
Returns: . An array of type , containing a list of all formats that are supported by the data stored in this object.
Returns: . An representing the image data in the data object or null if the data object does not contain any data that is in the format or can be converted to that format.
Retrieves text data from the data object in the format.
Returns: . The text data in the data object or if the data object does not contain data in the format.
Retrieves text data from the data object in the format indicated by the specified value.
One of the values.
Returns: . The text data in the data object or if the data object does not contain data in the specified format.
Adds a array to the data object in the format after converting it to a .
A array containing the audio data.
audioBytes is null.
Adds a to the data object in the format.
A containing the audio data.
audioStream is null.
Adds the specified object to the using the object type as the data format.
Adds the specified object to the using the specified type as the format.
A representing the format associated with the data.
Adds the specified object to the using the specified format.
The format associated with the data. See for predefined formats.
Adds the specified object to the using the specified format and indicating whether the data can be converted to another format.
The format associated with the data. See for predefined formats.
Adds a url using 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 format.
A containing the file names.
filePaths is null.
Adds an to the data object in the format.
The to add to the data object.
image is null.
Adds text data to the data object in the format.
textData is null or .
Adds text data to the data object in the format indicated by the specified value.
One of the values.
textData is null or .