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...
Wisej.Core.ClientPlatform
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.5.0.0)
Represents the client platform used to render the widgets.
String[]: List of javascript files associated with the platform.
String: The name of this platform configuration.
PlatformProvider: The platform provider.
String[]: List of style sheets associated with the platform.
Version: Returns the file version of the
Wisej.Core.ClientCollection
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.5.0.0)
List of Clients using the application.
Initializes a new instance of ClientCollection.
Int32: Returns the total number of Client items in the collection.
Wisej.Core.ClientBrowser
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.5.0.0)
Properties of the client browser currently interacting with the application.
CookieStorage
LocalStorage
SessionStorage
CultureInfo: Returns the locale declared in the application configuration file or detected from the client browser.
String: Device type. Can be one of "Mobile", "Tablet" or "Desktop".
Object: Returns the set of features supported/not-supported by the browser. Currently we detect: geolocation, webSocket, fullScreen, speechSynthesis, speechRecognition, notification, fullScreen, browserStorage.
String: IP Address of the client computer.
Boolean: Returns true if the browser is using dark mode. Since 3.0.10
Boolean: Returns true if the browser is in full screen mode.
Boolean: Returns true if the connection is secure.
String: Client language.
String: Client OS. Can be one of "iOS", "Android", "WebOS", "BlackBerry", "MacOS", "Linux", "Windows", "Unix", "Other".
Double: Returns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device.
Size: Screen size.
String: Returns the session ID associated with this ClientBrowser.
Size: Browser size. This is the window size, which can be different from the device (or screen) size.
String: Identifies the browser tab associated with with this ClientBrowser instance.
Int32: Returns the time difference between UTC time and local time, in minutes.
String: Browser type. Can be one of "IE", "Edge", "Chrome", "Opera", "Firefox", "Safari", "Other".
String: Returns the raw user agent string of the client browser.
Object: Returns a value or map set by the client when loading the application's first HTML page.
An application can use this property to retrieve a custom value on startup. For example, in Default.html add:
On the server side, you can retrieve the user data use at any time like this:
When used in conjunction with an aspx startup page (Default.aspx) it allows the application to retrieve data passed as a POST request and pass it to the Wisej application.
Int32: Browser version.
Wisej.Core.ClientTheme
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.5.0.0)
Represents a Wisej theme.
You can create a new custom theme based on an existing theme, empty, or initialized from a JSON string.
You can alter any aspect of a theme by using the dynamic properties: , , , , , and . These properties, being dynamic, can support any field and any structure. To alter these properties in a way that doesn't break the theme, look at the theme's structure in the ThemeBuilder or a text editor. To save a custom theme you may convert it to a JSON string simply by calling the extension method added to all objects by the Wisej framework.
Default private constructor.
Constructs a new theme from the name and JSON definition.
Constructs a new theme from the base theme.
This is a complex dynamic object with several child objects. The structure can get quite complicated. Before messing with the Appearances object, please study the structure of the themes using the ThemeBuilder or a text editor. Being a dynamic object, you can either create a new appearance or alter an existing appearance at any level.
You can add or change any color in the current theme:
You can add or alter any font to the theme. The structure of the font definition can get complicated. Please refer to the existing themes and the ThemeBuilder to determine the structure to use. The simplest way is to change an existing theme font:
You can add or change any theme image. Images in the theme are just URLs but can be defined in several ways:
Absolute URL An URL starting with http: or https: pointing to an image resource.
Relative URL An URL relative to the current site or relative to value of Images.baseUrl.
base64 A base64 encoded embedded image.
The Settings property allows a theme to define certain internal properties. Currently these are the supported properties:
native-scrollbars Instructs Wisej.NET to use the native scrollbars instead of the themed scrollbars. Setting this property can have negative side effects for virtual scrolling widgets like the DataGridView. The default is false.
overlapped-scrollbars Instructs Wisej to layout the scrollbars over the content being scrolled, similar to Windows' fluent themes or mobiles. The default is false.
The Stylesheet property is a new theme property added since Wisej 2.0. It allows a theme to define a set of CSS rules, just as if Default.html specified a css file. This property has only one string array field: "rules". When the theme is rendered, the client library joins all the rules into a css string and creates a stylesheet loaded into the browser.
Returns the resolved color defined in the theme for the specified appearance, property or style name and optionally the state.
Returns the resolved theme color from the color list.
Returns the resolved font defined in the theme for the specified appearance, property name and optionally the state.
Returns the resolved font defined from the font list.
Returns the resolved image defined in the theme for the specified appearance, property or style name and optionally the state.
Returns the resolved image defined from the image list.
Returns the size of the inset border and padding.
Returns the property value for the specified name and state within the specified appearance key.
Returns the style value for the specified name and state within the specified appearance key.
Returns true if the color is a theme color.
Returns true if the font is a theme font.
Returns an instance of the class that represents the "cookies" storage in the browser.
Returns an instance of the class that represents the "localStorage" object in the browser.
Returns an instance of the class that represents the "sessionStorage" object in the browser.
: Maximum browser width.
: Minimum screen width.
: Minimum browser width.
: Name of the profile.
: User agent string.
: Theme appearances.
: Theme colors.
: Theme fonts.
: Theme images.
: The name of the theme.
: Theme settings.
: Stylesheet rules embedded in the theme.
Returns: . A representing the color in the theme.
Returns: . A representing the color in the theme.
Returns: . A representing the queried font or null if not found.
Returns: . A representing the queried font or null if not found.
Returns: . A representing the queried image or null if not found. SVG images at runtime always return null, they are resolved only at design time.
Returns: . A representing the queried image or null if not found. SVG images at runtime always return null, they are resolved only at design time.
Returns: . Dimension of the border and optionally the padding as a value
Returns: . The typed value of the requested property, or default(T) if not found.
Returns: . The typed value of the requested style, or default(T) if not found.
Returns: . True if color is a theme color.
Since the theme may also define , using on a system color returns false, but the rendering on the browser will use the color in the theme, if defined.
Returns: . True if font is a theme font.
Theme fonts (font's with the starting with "@") are always rendered using the definition in the theme for their size and style. However, an application may use a theme font and change the size and style. In this case, the is the theme name without the "@". If the name of the font (which could be a system name like "Arial") matches a theme font, Wisej will use the theme font but it uses the size and style set by the application.
Returns the resolved with the proper RGB values. If the color specified in color is a theme color, the value is resolved from the current theme, otherwise the original color is returned.
Returns: . A instance with the resolved RGB values.
Returns the resolved from the theme font. If the font is a theme font, the value is resolved from current theme.
Returns: . A instance that can be used directly.
name
Unique name of the theme.
json
JSON definition of the theme.
name
Unique name of the theme.
baseTheme
Original theme to copy into the new theme.
name
The name of the color to resolve from the color list.
name
name
color
Color to check.
font
Font to check.
color
The Color to resolve to a usable value.
font
The Font to resolve to a usable instance.
Allows an object to serialize itself.
sender
The source of the event. Always null.
args
The event data.
Fired when the system needs to load a Wisej configuration file.
appearance
The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar.
name
The name of the property or the style value to query.
The name of the state to query. It's optional. The default is "default".
appearance
The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar.
name
The name of the property value to query.
The name of the state to query. It's optional. The default is "default".
appearance
The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar.
name
The name of the property or the style value to query.
The name of the state to query. It's optional. The default is "default".
appearance
The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon".
The state that defines the property. It can omitted, the default state is "default".
Whether to include padding in the insets dimension.
T
The Type of the value to retrieve.
appearance
The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon".
name
The name of the property to retrieve.
The state that defines the property. It can omitted, the default state is "default".
T
The Type of the value to retrieve.
appearance
The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon".
name
The name of the property to retrieve.
The state that defines the property. It can omitted, the default state is "default".
Wisej.Web.Application
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represent a Wisej application session. Provides methods and events to manage the application in the context of the current session.
This class provides several static methods, properties and events that allow the application to manage all sorts of features related to the current session:
Save and retrieve session variable. Use Session to store and retrieve session variable. The property is a dynamic object and a Dictionary, therefore you can access its properties directly or through the indexer.
Manage cookies. Use Cookies to manage browser's cookies.
Read server variables. Use ServerVariables to retrieve all the data made available by the server. Some of the variables in the collection are also available directly: ServerPort, ServerName, UserAgent, etc.
Read the application's URL. Use Uri, Url, StartupUri, and StartupUrl.
Read the application's system information. Use StartupPath, ProductName, ProductVersion, etc.
Listen to the application's global events. See SessionTimeout , BeginRequest, ApplicationStart, ApplicationExitApplicationRefresh, BrowserSizeChangedResponsiveProfileChanged, CultureChanged, and many more.
Manage all live components in the session. Through the Application class you can find, iterate, inspect all live components of any type. See OpenForms for all the currently created (visible or invisible) instances of Form. OpenPages returns all the created Page objects. FindComponent and FindComponents 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. StartTask 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 LoadTheme to load a Wisej theme into the application. Or use the Theme object to read all sorts of information from the current ClientTheme.
Terminate the application without waiting for the session to timeout. Use Exit to terminate the current session and free all the related memory.
There is a lot more exposed by the Application class. You can inspect all the properties and methods in Visual Studio through IntelliSense or online at docs.wisej.
ClientProfile: Returns or sets the current client responsive profile.
This is the profile that best matches the current browser on the client. It is updated automatically on every request.
ClientBrowser: Returns or the client browser's information.
X509Certificate2: EXPERIMENTAL: Provides the client certificate fields issued by the client in response to the server's request for the client's identity. Since 3.5.6
String: Returns the current unique client id.
ClientCollection: Returns a collection of all the unique client browsers using the application.
CommandManager: Returns the current CommandManager.
String: Returns the path for the application data that is shared among all users.
RegistryKey: Returns the registry key for the application data that is shared among all users.
String: Returns the company name associated with the application stored in the AssemblyCompanyAttribute.
Configuration: Returns the current Configuration.
CookieCollection: Collection of cookies.
IWisejComponent: Returns the application component instance that an application can store and use later to restore the context when updating client widgets during an out-of-bound call using the Update method.
Threads that are not started using StartTask don't have any knowledge of the current session and don't have a way to communicate with the client The Current property returns the instance of the Application class that is bound to the current session. It can be used just like any other component with the method Update or RunInContext to restore the session for the current thread. The advantage of using Current 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.
CultureInfo: Returns or sets the current CultureInfo for the session.
Desktop: Returns or sets the current Desktop.
Boolean: Returns or sets whether the browser will ask the user to confirm unloading the current page.
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.
String: Returns the path for the application's main assembly.
Image: Returns or sets the favicon to display in the browser.
String: Returns or sets the URL to the favicon to display in the browser.
String: Returns or sets the hash part of the URL on the client.
Boolean: Returns a value indicating whether the session has been authenticated.
Boolean: Indicates that the current application instance, which corresponds to the session, has been terminated and disposed.
Boolean: Returns true when the current session has expired.
Boolean: Returns true if this session is running in secure mode (https:// and wss://)
Boolean: Returns true when the current session has been terminated.
Boolean: Returns true if the current session is connected using WebSocket.
Object: Returns a dynamic object containing the currently loaded license information. Since 3.1.3
These are the currently available fields (may change in future releases):
Valid: Whether the license is valid. Note that a license may be expired and valid if the product release date is within the license expiration date.
LicenseKey: License key loaded from web.config or assigned to LicenseKey.
ProductName: Full name of the licensed product.
CustomerName: Name of the registered customer that owns the license.
ExpirationDate: Expiration date for the product free updates.
Retrieve the values either using a dynamic object or a property indexer:
String: Returns or sets the runtime server license key.
Setting the LicenseKey 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).
Page: Returns or sets the current full page window.
FormCollection: Returns a collection of open forms owned by the application.
PageCollection: Returns a collection of open pages owned by the application.
ClientPlatform: The name of the currently loaded platform.
String: Returns the product name associated with this application.
String: Returns the product version associated with this application stored either in AssemblyInformationalVersionAttribute or AssemblyFileVersionAttribute.
NameValueCollection: Returns the parameters used to launch the application.
Boolean: Returns or sets whether all the controls in the applications should operate using the right-to-left mode.
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".
Boolean: Returns true when the application is running in not in design, debug or test mode.
String: Returns the server's host name, DNS alias, or IP address as it would appear in self-referencing URLs.
Int32: Returns the port number to which the request was sent.
NameValueCollection: Returns the server variables.
ServiceProvider: Returns the ServiceProvider implementation used by Wisej.NET to manage Dependency Injection across the application. Since 3.1
Object: Provides a generic storage for session-based objects.
Int32: Returns the total number of currently active sessions.
String: Returns the unique current session ID.
Boolean: Shows or hides the debug console on the browser.
Displays a simple HTMl only debug console. Works with any browser also when the developer tools are not available.
Boolean: Returns or sets whether the browser is blocked by the Ajax loader.
String: Returns the root path of the web application.
Uri: Returns the URI used to start the application.
String: Returns the URL used to start the application.
ClientTheme: Returns or sets the current ClientTheme.
You can create and modify a new custom theme using the ClientTheme class. The new theme can be based on an existing theme, can be empty, or can be initialized from a JSON string.
You may also alter a global theme shared by all sessions.
String: Returns or sets the page title in the browser.
Uri: Returns the current Uri used either to launch or reload the application. It may be different from StartupUri.
String: Returns the current URL used either to launch or reload the application. It may be different from StartupUrl.
IPrincipal: Returns the security information for the current request.
String: Returns the raw user agent string of the client browser.
String: Returns the IP host address of the remote client.
String: Returns the DNS name of the remote client.
WindowsIdentity: Returns the WindowsIdentity type for the current user.
String[]: Gets a sorted string array of client language preferences.
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.
Instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.
message
A string you want to display in the alert dialog.
Returns: Task. An awaitable Task that represents the asynchronous operation.
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.
Asynchronously executes the JavaScript function on the client and returns an awaitable Task with the result of the remote call.
function
The name of the function to execute.
args
The arguments to pass to the function.
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Cancels the fullscreen mode.
Instructs the browser to display a dialog with an optional message, and to wait until the user either confirms or cancels the dialog. until the user dismisses the dialog.
message
A string you want to display in the confirm dialog.
Returns: Task<Boolean>. An awaitable Task that represents the asynchronous operation.
Downloads the specified file on the client.
filePath
The file to download.
The name of the file to save on the client.
Optional callback invoked when fileName is downloaded.
Downloads the specified image to the client.
image
The image to download.
fileName
The name of the file to save on the client.
Optional callback invoked when fileName is downloaded.
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.
Optional callback invoked when fileName is downloaded.
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.
The name of the file to save on the client.
Optional callback invoked when fileName is downloaded.
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.
Optional callback invoked when fileName is downloaded.
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.
Optional callback invoked when fileName is downloaded.
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.
Asynchronously executes the JavaScript script on the client and returns an awaitable Task with the result of the remote call.
script
The script to evaluate.
Returns: Task<Object>. An awaitable Task that represents the asynchronous operation.
Terminates the application and the corresponding session.
Find the first component that matches the conditions defined in the predicate function.
match
Returns: IWisejComponent. The first IWisejComponent qualified by the match expression.
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
Returns: IList<IWisejComponent>. The list of IWisejComponent instances qualified by the match expression.
This method lets an application iterate through all the live components in the current session.
Returns a session-static instance of T . Since 3.2.7
T
Type of the singleton object.
Thread-static reference to the T singleton.
Optional method for the creation of an instance of T .
Returns: T. The singleton instance of T associated with the current session.
This utility method simplifies the management of session-static (or session singleton) instances. It should be used to convert traditional static variables to session-static instances when changing an application designed for single users to a multi-user system. The code below shows how to use this feature together with the ThreadStaticAttribute to manage session-static instances and, at the same time, improve the speed of the code that relies on the singleton objects. Using the ThreadStaticAttribute backing field allows the code that retrieves the session-static instance to quickly check the last instance and compare the session id and avoid accessing the dictionary for every access within the same request. Otherwise the code would have to always store a local variable in order to speed up multiple operations using the same static field.
If the class a private constructor (to simulate a static class) or required initialization code or arguments, use the optional builder method:
Loads an assembly given the file name or path.
nameOrFile
The file name or full path for the assembly to load.
Returns: Assembly. The loaded Assembly.
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.
nameOrFile
The file name or full path for the assembly to load.
className
Returns: IWisejComponent. An instance of a Wisej component implementing the IWisejComponent interface.
packages
packages
Returns: Task<Boolean>.
Changes the current theme.
name
Name of the theme resource. Use only the name without the path and without the extension.
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
Returns: String. The full path relative to the current application's root directory.
Navigate to the specified URL.
url
URL to navigate to.
The target browser window: _self, _blank, etc.
Navigate to the specified URL in a new browser tab and receive an optional callback when the tab is closed.
url
URL to navigate to.
target
The target browser window, cannot be _self and cannot be empty.
onclose
Callback function invoked when the browser tab is closed. Can be null.
Opens the specified URL in a browser's popup window and receive an optional callback when the tab is closed.
url
URL to navigate to.
target
The target browser window, cannot be _self and cannot be empty.
windowFeatures
A string containing a comma-separated list of window features in the form name=value — or for boolean features, just name. These features include options such as the window's default size and position, whether or not to open a minimal popup window, and so forth.
onclose
Callback function invoked when the browser popup window is closed. Can be null.
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 control.
control
The control to print, can be a window, a page or a single control.
The control is printed without the caption or the borders, if present.
Prints the entire browser window.
Instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog.
message
A string of text to display to the user.
An optoional string containing the default value displayed in the text input field.
Returns: Task<String>. An awaitable Task that represents the asynchronous operation.
Generates a new session id without losing the session. Since 3.5.2
Use this method after a successful login to prevent potential session fixation attacks.
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.
Replaces the object assigned to a session-static singleton. Since 3.5.2
T
Type of the session-static object.
Thread-static reference to the T singleton.
instance
New value to assign to the session-static storage.
Sets the current session timeout in seconds.
seconds
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.
Calling this method when IsWebSocket 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 EndPolling to reduce the incoming requests from the client.
Throws:
ArgumentOutOfRangeException The interval specified is less than 1.
Starts a new task within the current application context and returns immediately. See also background-tasks.
action
Start method invoked by the new task when it starts up.
Returns: Task. An awaitable Task.
The task runs in the background but it's still capable of updating the client asynchronously when working with WebSocket by calling the Update 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 Timer component to the parent container to force period requests to the server, or you can use the StartPolling and EndPolling methods.
Starts a new task with a return value within the current application context and returns immediately. See also background-tasks.
T
action
Start method invoked by the new task when it starts up.
Returns: Task<T>.
The task runs in the background but it's still capable of updating the client asynchronously when working with WebSocket by calling the Update method to push the UI updates to the client browser. The generics overload of StartTask 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 Timer component to the parent container to force period requests to the server, or you can use the StartPolling and EndPolling methods.
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.
Starts a Timer bound to the current session context.
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.
Returns: Timer. An instance of Timer.
You must save a reference to the returned Timer 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 system.threading.
Executes the optional callback in context and pushes all the pending updates to the client when in WebSocket mode.
context
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:
EventHandler Fired when the active window changes.
EventHandler Fired when the application is about to shut down.
EventHandler Fired when the application is reloaded in the browser because the user hit refresh or changed the URL.
EventHandler Fired when the application is started, after the Main method is called.
EventHandler Fired when the browser fires the "beforeinstallprompt" event. Corresponds to BeforeInstallPromptEvent.
RequestEventHandler Fired at the beginning of every request.
EventHandler Fired when the user resizes the browser.
EventHandler Fired when the user activates the browser tab.
EventHandler Fired when the user deactivates the browser tab.
EventHandler Fired when the CurrentCulture changes.
RequestEventHandler Fired at the end of every request.
EventHandler Fired when the focused control changes.
HashChangedEventHandler Fired when the hash part of the URL changes on the client side.
EventHandler Fired when the current thread has completed processing all the events and before the response is sent back to the client.
HandledEventHandler Fired right after ThreadBegin, only when Impersonate is set to true, to allow user code to take over the thread impersonation operations.
Set e.Handled to true if your application takes care of impersonation; otherwise false to let the default implementation attempt to impersonate the user. This event is not related to a session. It is best to attach to this event from a static type initializer, otherwise each listener will be called for every thread, regardless of the session. The default implementation in Wisej.NET is supported only in .NET Framework and the Windows platform.
HandledEventHandler Fired at the end of every request when impersonation is enabled in the JSON configuration file.
Set e.Handled to true if your application takes care of impersonation; otherwise false to let the default implementation attempt to impersonate the user. This event is not related to a session. It is best to attach to this event from a static type initializer, otherwise each listener will be called for every thread, regardless of the session. The default implementation in Wisej.NET is supported only in .NET Framework and the Windows platform.
LicenseErrorEventHandler Fired when a license error occurs.
ResponsiveProfileChangedEventHandler Fired when the active responsive profile is changed.
EventHandler Fired when the RightToLeft value changes.
HandledEventHandler Fired when the session is about to time out.
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.
EventHandler Fired when the current theme is changed.
ThreadExceptionEventHandler Fired when a thread exception is thrown.
All wisej components implement this interface.
Default
Returns the default ClientProfile singleton.
name
Unique name of the theme.
Wisej.Core.Client
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.5.0.0)
Represents a unique client using the application.
A browser instance is a single client, regardless of how many sessions are created by that client and how many browser tabs are open. Different browsers a represented as different clients.
ClientBrowser[]: List of browser tabs (for the same browser) that are using the application at the client computer.
String: Unique client ID.
String: IP Address of the client computer.
Int32: Returns the number of sessions used by this client computer.
This book covers the full API for the Wisej.Framework assembly only. For an in-depth guide of Wisej features, please refer to the Concepts book. For the extensions API and concepts, please refer to the Extensions book.
Instance method, or property, or event.
Static method or property or event.
Protected method or property or event.
Deprecated method or property or event.
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.Core.LoadConfigurationEventArgs
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.5.0.0)
Specifies the event arguments for the LoadConfiguration event.
String: The full file path to the configuration file to load. Since 3.2.7
Code handling the LoadConfiguration event may set the this property and return null to let Wisej.NET load the configuration from the new file.
Boolean: When set to true, suppresses the caching of the custom Configuration object returned by the custom handler for the LoadConfiguration event.
Configuration objects are cached and retrieved using the FilePath as the key.
Uri: The current Uri representing the site being loaded. Since 3.2.7
Wisej.Core.Configuration
Namespace: Wisej.Core
Assembly: Wisej.Framework (3.5.0.0)
Configuration settings.
Creates a new instance from the specified json string.
json
The json string that defines the configuration values.
String[]: List of allowed Url routes separated by a semicolon. i.e.: "api;product;log/performance".
Boolean: When true, the application is automatically reloaded when the session expires or Exit is called.
The application can always override this feature by changing the Wisej.onExit method using a script.
String: The custom function used to validate the browser. If it returns false the browser is not supported and Wisej redirects to NotSupportedUrl.
String: Returns the culture set at the application's level. It can be any of the supported cultures or the keyword "auto", in which case we will detect the culture from the browser.
Boolean: Enables/disables debug mode.
Boolean: When true, the client will not be able to access the application's controls using the object model registered with javascript under the "App" namespace.
Boolean: When true, the client drops all "execute" events triggered while there is a pending request.
String: Cache-Control for embedded resources. The default is "browser" to cache the embedded resources on the browser for 1 month. Other allowed vaues are: - "server" to cache the resources on the server using the ETag header - "private, max-age=..." to use set the standard Cache-Control header - any value Cache-Control string value.
Boolean: Enables the PWA installation of the application.
Boolean: Enables/disables the WebSocket protocol.
Boolean: Enables/disables gzip compression when using the WebSocket protocol.
String: The full path of the configuration file.
Boolean: Enables impersonation mode.
When set to true and windows authentication is configured in web.config, every request thread and application tasks started using Application.StartTask will impersonate the current user.
Int32: The keep-alive interval in seconds.
String: Name of the page loader resource to show at startup.
Int32: The ajax loader timeout in milliseconds.
String: Full name of the first window created automatically at startup.
Int32: Returns the maximum number of nested modal loops.
Int32: Returns the maximum number of active sessions before redirecting to NotAvailableUrl.
Int32: Network check interval in milliseconds. The default is 1000 (1 second). If this value is set, Wisej will send a /healthcheck.wx request at the specified interval when the application goes offline.
String: The URL of the page to load when the server cannot respond to the request.
String: The URL of the page to load when the client browser is not supported.
String: The URL of the page to load when the connection is lost.
Object: Native client-side platform options.
Int32: Polling interval in milliseconds. The default is zero (disabled). If this value is set, the polling starts when the application is loaded.
The polling interval determines the frequency of the automatic poll requests coming from the client when a WebSocket connection is not available. When the client is connected using a WebSocket channel, this value is ignored. An application that wants to enable automatic client updates in absence of a WebSocket connection can set this value, or it can call StartPolling and EndPolling to start and terminate the automatic polling from the client. Both methods are ignored when the client is using a WebSocket connection.
Int32: The timeout for the server to respond to a Wisej request in seconds.
String: Returns the rightToLeft mode. It can be "true", "false", or "auto". When set to "auto" the RightToLeft layout is enabled automatically using the current language. The default is "auto".
Boolean: Forces the client to switch to a secure connection (HTTPS and WSS).
String: Where to save the session id on the client. The default is "session" to indicate the browser's sessionStorage. It can be changed to "local" to indicate the browser's localStorage.
Int32: The session timeout in seconds. The timeout is enforced on the client side.
Object: Application settings.
Boolean: Shows the loader animated gif while initializing the application.
String: The startup Main method.
String: Theme name.
Object: ThreadPool min/max configuration, null by default.
String: Url redirection.
Boolean: Verifies the client's unique id when retrieving a session. It prevents session hijacking over unsecured connections.
Boolean: Verifies that resource requests are received from the user's authorizes browser. Prevents reusing a resource URL from an unauthorized browser.
Int32: Sets the response size that triggers the compression of the response over the WebSocket channel.
Loads or retrieves the configuration file.
filePath
The full path to the .json file to load.
uri
Returns: Configuration.
LoadConfigurationEventHandler Fired when the system needs to load a Wisej configuration file.
An application can install a custom configuration handler and return a custom Configuration object. In alternative, the handler can change the value of FilePath and let Wisej.NET load the alternative json file. This is a static event and should be attached to before the application starts. One way to do that is to register an HttpModuleStartup method with IIS when using .NET 4.8. When running on .NET Core, attach to the event in the Startup method.
Wisej.Web.HashChangedEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the HashChanged 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.
Wisej.Web.Application FormCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Holds the collection of all top-level application forms.
Int32: Returns the total number of currently open forms.
Form: Returns the form at the specified index.
Form: Returns the first form with the specified name, the search is case insensitive.
Returns an enumerator that iterates through the open forms.
Returns: IEnumerator.
Wisej.Web.Application PageCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Holds the collection of all top-level application pages.
Int32: Returns the total number of currently open pages.
Page: Returns the page at the specified index.
Page: Returns the first page with the specified name, the search is case insensitive.
Returns an enumerator that iterates through the open pages.
Returns: IEnumerator.
Wisej.Web.Application RequestType
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Type of incoming request. Since 3.5.5
DataCount
Request to return the number of records available for a list control.
DataRead
Request to read a data pages for a list control.
Event
Request to process events from the browser.
Load
The application session is being loaded for the first time. See also .
Reload
The application session is being reloaded. See also .
Service
Service (or postback) request to the be processed by a implementation.
Returns the .
Wisej.Web.HashChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the HashChanged event.
Initializes a new instance of the HashChangedEventArgs class.
value
Initial hash value.
String: The hash string from the client.
Wisej.Web.LicenseErrorEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the LicenseError event.
sender
The source of the event.
e
A that contains the event data.
Fired when a license error occurs.
Wisej.Web.RequestEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Initializes an RequestEventArgs for the RequestEventHandler delegate.
type
Type of the incoming request.
RequestType: Returns the RequestType.
Represent a method that handles the , and events. Since 3.5.5
Wisej.Web.LicenseErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the LicenseError event.
Initializes a new instance of the LicenseErrorEventArgs class.
error
License error.
String: Indicates the type of license error that has occurred.
Wisej.Web.ResponsiveProfileChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the event.
Initializes a new instance of the class.
: The new active profile.
: The previously active profile.
Wisej.Web.BindableComponent
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Extends and enables the component to participated if data binding operations and have their own .
Initializes a new instance of .
: Returns or sets the for the component.
Wisej.Web.Clipboard
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides methods to place data on and retrieve data from the system Clipboard. This class cannot be inherited.
Removes all data from the Clipboard.
Indicates whether there is data on the Clipboard in the format.
Returns: . true if there is audio data on the Clipboard; otherwise, false.
Indicates whether there is data on the Clipboard that is in the specified format or can be converted to that format.
Returns: . true if there is data on the Clipboard that is in the specified format or can be converted to that format; otherwise, false.
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:
Wisej.Web.DragEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the , , or event.
Initializes a new instance of the class.
: Returns which drag-and-drop operations are allowed by the originator (or source) of the drag event.
Wisej.Web.Control
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Base class for all Wisej controls.
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. (Default: null
)
: 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. (Default: null
)
You can use this collection at design time or in code or through the listener methods:
You can use any CSS style string.
The behavior of this property is configurable in Default.json setting the "rightToLeft" property to "true", "false", or "auto". The default is "auto", causing the value to be retrieved from the current language.
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 "<BR/>".
Adds a new listener script to the event name to the client widget.
The script will execute in the browser when the event name occurs. You can attach multiple listeners to the same event.
Adds the specified theme state to the widget.
Adds the specified theme state to the widget and optionally propagates it to the child components when forward is true. Since 3.5.5
Executes the specified delegate asynchronously, in the context of the session that owns the control.
Executes the specified delegate asynchronously, in the context of the session that owns the control, with the specified list of arguments.
Brings the control to the front of the z-order.
Runs the JavaScript function within the component's context in the browser.
Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.
Centers the position of the control within the bounds of the parent.
Centers the position of the control within the bounds of the parent either horizontally, vertically or both.
Indicates whether the specified control is a child of this control.
Creates and register this control and all its children.
Begins a drag-and-drop operation.
Begins a drag-and-drop operation.
Begins a drag-and-drop operation.
Begins a drag-and-drop operation.
Begins a drag-and-drop operation.
Retrieves the return value from the asynchronous operation represented by asyncResult .
Runs the javaScript code within the component's context in the browser.
Runs the javaScript code within the component's context in the browser and returns the value to the callback method.
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.
Retrieves the child control that is located at the specified coordinates.
Returns the script associated to the listener identified by id .
Returns the scripts for all the listeners attached to the event name .
Retrieves the next control forward or back in the tab order of child controls.
Retrieves the value of the specified control style bit for the control.
Checks whether the specified event name has any listener attached.
To check only if a propagated state is present, use HasState("state+");
Conceals the control from the user.
Causes the control to update the client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Causes the control to update the client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Executes the specified delegate, in the context of the session that owns the control.
Executes the specified delegate, in the context of the session that owns the control, with the specified list of arguments.
Determines whether the specified character is the mnemonic character.
Arranges the specified child controls in the specified direction , spaced by spacing pixels.
Throws:
Arranges the specified child controls in the specified direction , spaced by spacing pixels, and constrained within the specified viewArea .
Throws:
Forces the control to apply layout logic to all its child controls.
Forces the control to apply layout logic to all its child controls.
Computes the location of the specified screen point into client coordinates.
Computes the location of the specified client point into screen coordinates.
Computes the size and location of the specified screen rectangle in client coordinates.
Computes the size and location of the specified client rectangle in screen coordinates.
Forces the control to update corresponding client widget. When in DesignMode it forces a full redraw of the designer surface for this control, including the non-client areas such as the caption of forms or panels.
Forces the control to update the corresponding client widget. When in DesignMode it forces a full redraw of the designer surface for this control and optionally of its children, including the non-client areas such as the caption of forms or panels.
Detaches and removes the listener identified by id .
Removes all the listeners attached to the event name .
Removes the specified theme state from the widget.
Removes the specified theme state from the widget. Since 3.5.5
Removes all the data bindings from the control.
Resumes layout logic.
Resumes layout logic, optionally forcing an immediate layout of all pending layout requests.
Scrolls the control into view in the container using the specified alignX and alignY preferences.
Scrolls the child control into view.
Activates, including setting the focus, a control.
Activates the next control in the list according to the specified selection rules.
Sends the control to the back of the z-order.
Sets the bounds of the control to the specified location and size.
Sets the specified bounds of the control to the specified location and size.
Displays the control to the user.
Suspends the layout logic for the control.
Causes the control to update the corresponding client side widget. When in design mode, causes the rendered control to update its entire surface in the designer.
Validates all the child controls in the container. Exactly which controls are validated and which controls are skipped is determined by flags .
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:
Wisej.Web.ControlEventArgs
Wisej.Web.Control ControlCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a collection of objects.
Initializes a new instance of the class.
: Returns whether the owner control has already been disposed.
: Returns the at the specified indexed location.
Adds the specified control to the control collection.
Adds an array of control objects to the collection.
Removes all controls from the collection.
Removes and disposes all controls from the collection.
Determines whether the specified control is a member of the collection.
Searches for controls by their type and builds an array of all the controls that match.
Throws:
Searches for controls by their name and builds an array of all the controls that match.
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.
Throws:
Retrieves the index of the specified control in the control collection.
Retrieves the index of the first occurrence of the specified item within the collection.
Removes the specified control from the control collection.
Removes the child control with the specified key.
Sets the index of the specified child control in the collection.
state
state
state
state
includePadding
state
state
An object that implements the interface to add to the filter list.
fileName
ondownload
ondownload
ondownload
fileName
ondownload
ondownload
ondownload
A custom expression used to match the to find.
A custom expression used to match the list of objects to find.
reference
builder
callback
mixins
target
One of value that identifies the sound to play.
defaultValue
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 .
reference
The application context to update. It can be any Wisej component or the returned by the property .
action
Represents a method that handles the event.
The current representing the site being loaded.
Represents the method that will handle the event.
Represents the method that will handle the event.
: Returns the data bindings for the component.
Occurs when the value of the property changes.
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.
: Specify the types of files that the server accepts (that can be submitted through a file upload).
The allowed files string follows the HTML 4.01 and HTML5 specifications. You can configure only one entry in the browser's file dialog. The syntax is "file_extension|audio/|video/|image/*|media_type". Look at for a complete list of standard media types.
: Returns the that contains the data associated with this event.
: Returns the component that started the drag operation by calling . Since 2.5.32
: Returns the original target of the drag operation.
: Returns or sets the target drop effect in a drag-and-drop operation.
: Returns the containing the files that have been dropped on the target, or null.
: Returns or sets the custom image displayed on the client to represent the drag action.
: Returns or sets the size in pixels of the custom image displayed on the client to represent the drag action.
: Returns or sets the custom image source displayed on the client to represent the drag action.
: Returns the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
: Returns the location of the mouse or pointer event, in screen coordinates.
: Returns a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.
: Returns the x-coordinate of the mouse or pointer, in screen coordinates.
: Returns the y-coordinate of the mouse or pointer, in screen coordinates.
: 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. (Default: Default
)
: Returns or sets whether the control can initiate a drag-drop operation. (Default: False
)
: Returns or sets whether the control can accept data that the user drags onto it. (Default: False
)
: Returns or sets the edges of the container to which a control is bound and determines how a control is resized with its parent. (Default: Top, Left
)
: Returns or sets whether the control receives pointer events. Anonymous controls let pointer events bubble to their parents. (Default: False
)
: Sets the appearance key for the theme engine. (Default: null
)
: Returns or sets the background color for the control.
: Returns or sets the background image displayed in the control. (Default: null
)
: Returns or sets the background image layout as defined in the enumeration. (Default: None
)
: Returns or sets the background image displayed in the control. (Default: null
)
: Returns a flag indicating that the control is becoming the active control.
: Returns or sets the for the control.
: Returns the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
: Returns or sets the size and location of the control including its non-client area, in pixels and relative to the parent control.
: Determines whether the control can execute a command.
: Returns whether the control can receive focus.
: Returns whether the control can be selected.
: Returns or sets whether the control has captured the mouse.
: Returns or sets whether the control causes validation to be performed on controls that require to be validated when this control receives focus. (Default: True
)
: Returns a collection of client events and JavaScript listeners. You may attach multiple listeners to same event.
: Returns the client rectangle of the control.
: Returns or sets the height and width of the client area.
: Indicates whether the control, or one of its child controls, has the input focus.
: Returns or sets the shortcut menu associated with the control. (Default: null
)
: Returns the collection of controls contained within the control.
: Returns a value indicating whether the control has been created.
: 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. (Default: null
)
: 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 whether the control is in the process of disposing itself and child controls.
: Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Default: None
)
: 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. (Default: True
)
: 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 contains any child control.
: 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 true when this control belogs to a session different than the currently executing thread.
: Returns whether the control has been disposed.
: 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.
: Return the distance, in pixels, between the right edge of the control and the left edge of its container's client area.
: 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 text in the control can be selected in the browser by the user by dragging the pointer. Since 2.5.22 (Default: False
)
Not to be confused with , which corresponds to the property. When is set to true, the text of the control (i.e. a label or a button) can be highlighted in the browser and copied to the clipboard. It will also make the widget "focusable" but only in the browser.
: Returns or sets whether the control is blocked by the ajax loader. (Default: False
)
: Returns or sets the height and width of the control.
: Returns or sets additional theme states to the client widget.
Since 3.5.5 Add a + after the name of the state to propagate the state to the child controls of the widget. See also .
: 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. (Default: True
)
: Returns or sets the object that contains data about the control. (Default: null
)
: Returns or sets the text associated with this control. (Default: ""
)
: Returns or sets the tooltip text to show for this control. (Default: ""
)
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 the parent control that is not parented by another . Typically, this is the outermost that the control is contained in.
: 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. (Default: False
)
: 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: . 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 operation.
Returns: . An that represents the result of the asynchronous call.
Returns: .
Returns: . this control
Returns: . this control
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.
Returns: . this control
Returns: . this control
Returns: . true if the specified control is a child of the control; otherwise, false.
Returns: .
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.
Returns: . The return value from the asynchronous operation.
Returns: . this control
Returns: . this control
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.
Retrieves the that contains the control.
Returns: .
Retrieves the that contains the control.
Returns: .
Returns: . true if the input focus request was successful; otherwise, false.
Returns: . The child at the specified coordinates.this control
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 .
Returns: . The next in the tab order.
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: .
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.
Arranges all the child using the specified dock style, spaced by spacing pixels.
Arranges all the child using the specified dock style, spaced by spacing pixels.
Arranges all the child using the specified dock style, spaced by spacing pixels.
Arranges all the child using the specified dock style, spaced by spacing pixels.
Arranges all the child in the specified direction , spaced by spacing pixels.
Arranges all the child in the specified direction , spaced by spacing pixels, and constrained within the specified viewArea .
One of the controls is not a child of this control.
One of the controls is not a child of this control.
Returns: . A that represents the converted , point , in client coordinates.
Returns: . A that represents the converted , point , in screen coordinates.
Returns: . A that represents the converted , rect , in client coordinates.
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.
Returns: . The new list of states stored in the property.
You can also assign a new array of states to the property.
Returns: .
Returns: . this control
Returns: . this control
Returns: .
Returns: . true if a control was activated; otherwise, false.
Returns: .
Returns: .
Returns: . this control
Returns: .
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: . true if all of the children validated successfully; otherwise, false. If called from the or event handlers, this method will always return false.
Returns: . true if all of the children validated successfully; otherwise, false. If called from the or event handlers, this method will always return false.
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.
Fired when the value of 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 new control is added to the .
Fired when a control is made visible the first time, fully created and sent to the client.
Fired when a control is removed from the .
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 control gains the focus.
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 loses focus.
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.
: Returns the with the specified key in the collection.
: Returns the control that owns this .
Returns: . true if the is a member of the collection; otherwise, false.
Determines whether the contains an item with the specified key.
Returns: . true if the contains an item with the specified key; otherwise, false.
Returns: . Array of controls that are derived from the specified type .
type is null.
Returns: . Array of controls with the specified name.
The key parameter is null or an empty string ("").
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 .
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.
Represents the method that will handle the Application.ResponsiveProfileChanged event.
Represents an individual menu item that is displayed within a MainMenu or ContextMenu and always shows a checkbox next to the label.
Represents a context menu associated to a Control.
Represents an individual menu item that is displayed within a MainMenu or ContextMenu rendered using the <a> link element to let the browser process the specified HRef URL.
Represents the main menu in a Form.
Represents the base functionality for all menus.
Represents an individual item that is displayed within a MainMenu or ContextMenu.
Represents a panel in a StatusBar control.
Represents an item in the ToolBar.
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Extends Component and enables the component to participated if data binding operations and have their own DataBindings.
Implements a timer that raises an event at user-defined intervals.
Represents a component in the Desktop control's taskbar.
Represents a DateTime component in the Desktop control's taskbar.
Provides support for animating controls or windows using predefined animations definitions or custom animations in response to certain events.
Provides a user interface for indicating that a control on a form has an error associated with it.
Represents a small rectangular pop-up window that displays a brief help text next to a control when it gets activated (focused).
Allows controls to execute javascript code.
Add rotation capabilities along the X,Y,Z axis to Control controls.
Adds CSS styling to controls.
Represents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control.
Provides methods to manage a collection of Image objects. This class cannot be inherited.
Displays a standard column header in a ListView control.
Displays an image column header in a ListView control.
Represents an individual menu item that is displayed within a MainMenu or ContextMenu and always shows a checkbox next to the label.
Represents a context menu associated to a Control.
Represents an individual menu item that is displayed within a MainMenu or ContextMenu rendered using the <a> link element to let the browser process the specified HRef URL.
Represents the main menu in a Form.
Represents the base functionality for all menus.
Represents an individual item that is displayed within a MainMenu or ContextMenu.
Represents a panel in a StatusBar control.
Represents an item in the ToolBar.
All wisej components implement this interface.
Allows an object to serialize itself.
format
One of the TextDataFormat values.
format
The format of the data to retrieve. See DataFormats for predefined formats.
format
One of the TextDataFormat values.
audioBytes
A Byte array containing the audio data.
audioStream
A Stream containing the audio data.
text
The text to save to the client's temporary clipboard.
format
The format of the data to set. See DataFormats for predefined formats.
data
An Object representing the data to add.
data
The data to place on the Clipboard.
filePaths
A StringCollection containing the file names.
image
The Image to add to the Clipboard.
text
The text to add to the Clipboard.
text
The text to add to the Clipboard.
format
One of the TextDataFormat values.
name
Name of the client event to attach the listener to.
script
JavaScript code to execute when the event occurs.
name
Name of the css class to add.
state
Name of the custom state to add to the widget.
state
Name of the custom state to add to the widget.
forward
true to propagate the state to the widget's child components.
method
A delegate to a method that takes no parameters.
method
A delegate to a method that takes no parameters.
args
An optional array of objects to pass as arguments to the specified method.
function
The name of the JavaScript function to execute.
args
The arguments to pass to the function.
function
The name of the JavaScript function to execute.
callback
Asynchronous callback method that receives the return value.
args
The arguments to pass to the function.
function
The name of the JavaScript function to execute.
args
The arguments to pass to the function.
horizontal
Center horizontally.
vertical
Center vertically.
control
The child Control to find.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
imageSource
The name or URL for an image to use as the drag cursor.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
imageSource
The name or URL for an image to use as the drag cursor.
imageSize
The size of the drag image specified in imageSource.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
image
An Image to use as the drag cursor.
data
The data to drag.
allowedEffects
One of the DragDropEffects values.
image
An Image to use as the drag cursor.
imageSize
The size of the drag image specified in image.
asyncResult
An IAsyncResult that represents a BeginInvoke operation started on a control.
javaScript
The JavaScript code to run on the client.
javaScript
The JavaScript code to evaluate on the client.
callback
Asynchronous callback method that receives the return value.
javaScript
The JavaScript code to evaluate on the client.
pt
A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area.
skipValue
One of the values of GetChildAtPointSkip, determining whether to ignore child controls of a certain type.
pt
A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area.
id
Id of the listener to retrieve the script for.
name
Name of the event.
control
The Control to start the search with.
forward
true to search forward in the tab order; false to search backward.
flag
The ControlStyles bit to return the value from.
name
Name of the client event to verify.
name
Css class name to verify.
state
Name of the state to check.
invalidateChildren
When true, invalidates all the children of the control.
method
A delegate that contains a method to be called in the control's session context.
method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.
charCode
The character to test.
text
The string to search.
affectedControl
A Control that represents the recently changed control.
affectedProperty
The name of the recently changed property on the control that caused the layout to change.
point
The screen coordinate Point to convert.
point
The client coordinate Point to convert.
rect
The screen coordinate Rectangle to convert.
rect
The client coordinate Rectangle to convert.
refreshChildren
True to also refresh all the children of this control.
id
Id of the listener to remove.
name
Name of the event.
name
The css class name to remove.
state
Name of the state to remove.
state
Name of the state to remove.
forward
true to remove the state to the widget's child components.
performLayout
true to apply all pending layout requests; otherwise, false.
alignX
Indicates the HorizontalAlignment preference. The final location of the control depends on the scrollable range and the available space. Note that Center will not scroll the control to the center, but will instead scroll it into the closest visible location with the minimum movement.
alignY
Indicates the VerticalAlignment preference. The final location of the control depends on the scrollable range and the available space. Note that Middle will not scroll the control to the middle, but will instead scroll it into the closest visible location with the minimum movement.
control
The Control at which to start the search.
forward
true to move forward in the tab order; false to move backward in the tab order.
tabStopOnly
true to ignore the controls with the TabStop property set to false; otherwise, false.
nested
true to include nested (children of child controls) child controls; otherwise, false.
wrap
true to continue searching from the first control in the tab order after the last control has been reached; otherwise, false.
x
The new Left property value of the control.
y
The new Top property value of the control.
width
The new Width property value of the control.
height
The new Height property value of the control.
x
The new Left property value of the control.
y
The new Top property value of the control.
width
The new Width property value of the control.
height
The new Height property value of the control.
specified
A bitwise combination of the BoundsSpecified values. For any parameter not specified, the current value will be used.
flags
Represents a panel that dynamically lays out its contents in a grid composed of rows and columns.
UI implementation for the FileDialog class.
UI implementation for the FolderDialog class.
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
Represents a button control.
Implements the basic functionality common to button controls.
Represents a check box control.
Displays a ListBox in which a check box is displayed to the left of each item.
Represents a combo box control.
Provides focus-management functionality for controls that can function as a container for other controls.
Represents a control that allows the user to select or type a date and a time.
Represents a spinner control that displays string values.
Represents a panel that dynamically arranges its controls horizontally or vertically in automatic rows or columns.
Represents a window or dialog box that makes up an application's user interface.
Represents a Wisej control that displays a frame around a group of controls with an optional caption.
Represents a label control.
Represents an hyper-link control.
Represents a control to display a list of items.
Uses a mask to distinguish between proper and improper user input.
Represents the container for multiple-document interface (MDI) child forms.
Represents a control that enables the user to select a date using a visual monthly calendar display.
Represents a spinner control that displays numeric values.
Represents a web page that fills the browser and acts as the main container for the application. An application can have only one active main page at any given time.
Represents a collapsible panel with an optional header that contains a group of controls.
Represents an image control.
Represents a progress control that displays a value visually as a filled bar.
Enables the user to select a single option from a group of choices when paired with other RadioButton controls.
Defines a base class for controls that support auto-scrolling behavior.
Represents an horizontal scroll bar.
Represents a vertical scroll bar.
Implements the basic functionality of a scroll bar control.
Represents a control consisting of a movable bar that divides a container's display area into two resizable panels.
Creates a panel that is associated with a SplitContainer.
Manages a related set of TabPage pages.
Represents a single tab page in a TabControl.
Represents a text box control that allows the user to enter any value.
Implements the basic functionality required by text controls.
Enables the user to choose between a range of values by sliding a small bar along another bar.
Implements the basic functionality required by a spin box (also known as an up-down control).
Provides an empty control that can be used to create other controls.
Represents a web browser control that enables the user to navigate web pages inside a form or a page.
Represents a ComboBox control that can be hosted in a DataGridViewComboBoxCell.
Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.
Represents a MaskedTextBox control that can be hosted in a DataGridViewMaskedTextBoxCell cell.
Represents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.
Represents a TextBox control that can be hosted in a DataGridViewTextBoxCell cell when the cell's WrapMode is set to False.
Represents a data grid control.
Displays data in a customizable list format.
Used by the DataRepeater control to display data at run time.
Represents a desktop container that can host floating windows.
Displays collapsible set of AccordionPanel panels for presenting information in a limited amount of space.
Represents a panel in a Accordion control.
Represents a control that can host ASP.NET or MVC pages within a Wisej application.
Represents the HTML5 canvas element.
Represents a FlashPlayer control that can display flash applications.
Represents a panel that dynamically arranges its child controls.
Represents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML.
Represents a control that displays any HTML file in an IFrame element.
Represents a line control.
The TreeViewComboBox control represents a UserComboBox control with a ListView as the drop down panel.
Base implementation for media controls.
Represents a Video control that displays a video file.
Represents a Audio control that plays an audio file.
Represents a PdfViewer control that can display a pdf document in the browser either using the native pdf viewer, the pdf.js viewer, Google docs, or a custom viewer.
Represents a shape control. Displays an element a border in any of the four sides.
Displays child controls vertically or horizontally in a scrollable container.
Represents a spacer control. It can be used to add a space between controls in a layout panel. It is not rendered on the client.
Represents a split button control.
Represents a data field that displays a list of selectable and removable tags. The control recognizes tags as the user types and adds in front of the editable field.
Represents a spinner control that displays TimeSpan values.
The TreeViewComboBox control represents a UserComboBox control with a TreeView as the drop down panel.
Represents a text box control that allows the user to enter a typed value.
Represent an upload widget. Allows users to selected one or more files and upload them to the server.
The UserComboBox control represents a ComboBox control with a custom panel that drops down when the user clicks the down arrow.
Provides an popup container that can be attached to other controls.
Provides a generic widget that can use most third party javascript widgets.
Represents a list view control, which displays a collection of items that can be displayed using one of four different views.
Represents a menu bar component.
Provides a user interface for browsing the properties of an object.
Displays information to the user in a about the object being viewed, the object's components, or the object's operation.
Represents a toolbar component.
Displays a hierarchical collection of labeled items, each represented by a TreeNode.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
child
The Control to add.
controls
An array of Control objects to add to the collection.
dispose
Indicates whether the controls removed from the collection should be disposed.
control
The Control to locate in the collection.
key
The key to locate in the ControlCollection.
type
The type of the controls to locate in the ControlCollection.
searchAllChildren
true to search all child controls; otherwise, false.
key
The key to located in the ControlCollection.
searchAllChildren
true to search all child controls; otherwise, false.
child
The Control to search for in the control collection.
throwException
true to throw an exception if the Control specified in the child parameter is not a control in the ControlCollection; otherwise, false.
control
The Control to locate in the collection.
key
The name of the control to search for.
child
The Control to remove.
key
The name of the child control to remove.
child
The child control to search for.
newIndex
The new index value of the control.
Represents a collection of child controls in a table layout container.
sender
The source of the event.
e
A ResponsiveProfileChangedEventArgs that contains the event data.
Fired when the active responsive profile is changed.
Fired when the active responsive profile is changed.
sender
Current application context.
e
A RequestEventArgs instance with the data for the event handlers.
Fired at the beginning of every request.
Fired at the end of every request.
sender
The source of the event.
e
A ControlEventArgs that contains the event data.
Fired when a new control is added to the ControlCollection.
Fired when a control is removed from the ControlCollection.
Fired when a multiple-document interface (MDI) child form is added to the mdi parent.
Fired when a multiple-document interface (MDI) child form is removed from the mdi parent.
sender
The source of the event.
e
A DragEventArgs 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.
Fired when an object is dragged into the control's bounds.
Fired when a drag-and-drop operation is completed.
Fired when an object is dragged over the control's bounds.
dock
Indicates whether to arrange the Controls horizontally or vertically.
Spacing between the Controls.
When true (default), it will also use the Margin to arrange the controls.
dock
Indicates whether to arrange the Controls horizontally or vertically.
viewArea
Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle.
Spacing between the Controls.
When true (default), it will also use the Margin to arrange the controls.
controls
List of child controls to arrange. If null, all the children will be arranged.
dock
Indicates whether to arrange the Controls horizontally or vertically.
Spacing between the Controls.
When true (default), it will also use the Margin to arrange the controls.
controls
List of child controls to arrange. If null, all the children will be arranged.
dock
Indicates whether to arrange the Controls horizontally or vertically.
viewArea
Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle.
Spacing between the Controls.
When true (default), it will also use the Margin to arrange the controls.
direction
Indicates whether to arrange the Controls horizontally or vertically.
Spacing between the Controls.
When true (default), it will also use the Margin to arrange the controls.
Horizontal alignment when using direction = Vertical.
Vertical alignment when using direction = Horizontal.
direction
Indicates whether to arrange the Controls horizontally or vertically.
viewArea
Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle.
Spacing between the Controls.
When true (default), it will also use the Margin to arrange the controls.
Horizontal alignment when using direction = Vertical.
Vertical alignment when using direction = Horizontal.
controls
List of child controls to arrange. If null, all the children will be arranged.
direction
Indicates whether to arrange the controls horizontally or vertically.
Spacing between the controls .
When true (default), it will also use the Margin to arrange the controls.
Horizontal alignment when using direction = Vertical.
Vertical alignment when using direction = Horizontal.
controls
List of child controls to arrange. If null, all the children will be arranged.
direction
Indicates whether to arrange the controls horizontally or vertically.
viewArea
Rectangle limiting the area to arrange the controls in. If empty, it will use DisplayRectangle.
Spacing between the controls .
When true (default), it will also use the Margin to arrange the controls.
Horizontal alignment when using direction = Vertical.
Vertical alignment when using direction = Horizontal.
oldValue
Previous ClientProfile.
newValue
New active ClientProfile.
format
The format of the data to look for. See DataFormats for predefined formats.
allowedEffect
One of the DragDropEffects values.
effect
One of the DragDropEffects values.
data
The data associated with this event.
location
The Point that indicates the location of the drag event.
control
The Control to store in this event.
Represents the method that will handle the ControlAdded and ControlRemoved events of the Control class.
owner
The Control that owns this collection.
Wisej.Web.JavaScript ClientEventCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a collection of JavaScript events and their corresponding handler code.
Initializes a new instance of ClientEventCollection.
Int32: Returns the number of items in the collection.
ClientEvent: Returns the ClientEvent element at the specified index .
Adds the ClientEvent instance to the collection.
item
Removes all the ClientEvent items from the collection.
Checks whether the specified item exists in the collection.
item
Returns: Boolean. True of the collection contains the specified item .
Returns the position of the specified item in the collection.
item
Returns: Int32. The index of the specified item or -1 if not found.
Inserts the item into the collection at the specified index .
index
Position where to insert the item .
item
Removes the item from the collection.
item
Returns: Boolean. True of the specified item was found and removed from the collection.
Removes the ClientEvent item at the location index .
index
Position of the item to remove from the collection.
CollectionChangeEventHandler Fired when the collection has changed.
Wisej.Web.KeyEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the KeyDown or KeyUp event.
Initializes a new instance of the KeyEventArgs class.
keyData
Boolean: Returns whether the ALT key was pressed.
Boolean: Returns whether the CTRL key was pressed.
Boolean: Returns or sets whether the event was handled.
Keys: Returns the keyboard code..
Keys: Returns the key data.
Int32: Returns the keyboard value.
Keys: Returns the modifier flags indicating which combination of CTRL, SHIFT, and ALT keys was pressed.
Boolean: Returns a value indicating whether the SHIFT key was pressed.
Returns whether the Alt key is pressed.
Returns: Boolean.
Returns whether the Control key is pressed.
Returns: Boolean.
Returns whether the Shift key is pressed.
Returns: Boolean.
Wisej.Web.KeyEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the KeyUp or KeyDown event of a Control.
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.
Wisej.Web.HelpEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the HelpRequested event of a Control.
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.
Wisej.Web.LayoutEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the Layout event.
Initializes a new instance of the LayoutEventArgs class with the specified component and property affected.
affectedComponent
affectedProperty
The property affected by the layout change.
Initializes a new instance of the LayoutEventArgs class with the specified control and property affected.
affectedControl
affectedProperty
The property affected by the layout change.
IComponent: Returns the IComponent affected by the layout change.
Control: Returns the child control affected by the change.
String: Returns the property affected by the change.
Wisej.Web.LayoutEventHandler
Wisej.Web.KeyPressEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the KeyPress event.
Initializes a new instance of the KeyPressEventArgs class.
keyChar
The ASCII character corresponding to the key the user pressed.
Boolean: Returns or sets whether the KeyPress event was handled.
Char: Returns or sets the character corresponding to the key pressed.
Wisej.Web.KeyPressEventHandler
Wisej.Web.MouseEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the MouseUp, MouseDown, and MouseMove events.
Initializes a new instance of the MouseEventArgs class.
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.
Initializes a new instance of the MouseEventArgs class.
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.
MouseButtons: Returns which mouse button was pressed.
Int32: Returns the number of clicks or taps.
Int32: Returns the number of times the mouse wheel has rotated.
Point: Returns the location of the mouse or pointer event.
Control: Returns the original target Control when the pointer event has bubbled up because the original target was either not Enabled or Anonymous.
String: Returns the internal role assigned to the element that generated the pointer event: checkbox, button, ...
The value in the Role property is taken from the "role" attribute of the clicked element inside the widget. You can detect clicks on custom HTML content by adding the role attribute to the custom element.
Int32: Returns the x-coordinate of the mouse or touch event.
Int32: Returns the y-coordinate of the mouse or touch event.
Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.
Wisej.Web.JavaScript ClientEvent
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represent a JavaScript event and the corresponding code to execute on the client when the event is fired.
Initializes a new instance of ClientEvent.
String: Returns or sets the name of the event. Not all events are available to all controls, which events are fired depends on the widget that corresponds to the control. (Default: null
)
String: Returns or sets the JavaScript handler for the event. (Default: ""
)
Wisej.Web.PinchEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the Pinch 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.
Wisej.Web.PaintEventHandler
Wisej.Web.PaintEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the Paint event.
Initializes a new instance of the PaintEventArgs class with the specified graphics and clipping rectangle.
graphics
clipRect
Rectangle: Returns the rectangle in which to paint.
Graphics: Returns the graphics used to paint.
Wisej.Web.PreviewKeyDownEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the PreviewKeyDown event.
Initializes a new instance of the PreviewKeyDownEventArgs class with the specified key.
keyData
Boolean: Returns whether the ALT key was pressed.
Boolean: Returns whether the CTRL key was pressed.
Boolean: Returns whether a key is a regular input key.
Keys: Returns the keyboard code.
Keys: Returns the key data.
Int32: Returns the keyboard value.
Keys: Returns the modifier flags indicating which combination of CTRL, SHIFT, and ALT keys was pressed.
Boolean: Returns whether the SHIFT key was pressed.
Wisej.Web.MouseEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.
sender
The source of the event.
e
A that contains the event data.
Fired when the user clicks the control with the mouse.
Fired when the control is clicked by the mouse.
Fired when the control is double clicked by the mouse.
Fired when the mouse pointer is over the control and a mouse button is pressed.
Fired when the mouse pointer is moved over the control.
Fired when the mouse pointer is over the control and a mouse button is released.
Fired when the mouse wheel moves while the control has focus.
Wisej.Web.ResponsiveProfileChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the event.
Initializes a new instance of the class.
: The new active profile.
: The previously active profile.
Wisej.Web.QueryContinueDragEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
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.
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
spacing
useMargins
hAlign
vAlign
item to add to the collection.
items to find in the collection.
item to locate in the collection.
item to insert into the collection.
instance to remove from the collection.
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 or event of a .
The affected by the layout change.
The affected by the layout change.
Represents the method that will handle the event of a .
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 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.
Represents the method that will handle the event.
: Returns the current state of the SHIFT, CTRL, and ALT keys.
: Returns a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.
Represents the method that will handle the Application.ResponsiveProfileChanged event.
Represents the method that will handle the QueryContinueDrag event of a Control.
sender
The source of the event.
e
A ResponsiveProfileChangedEventArgs that contains the event data.
Fired when the active responsive profile is changed.
Fired when the active responsive profile is changed.
Down
Direction down.
Left
Direction left.
Right
Direction right.
Up
Direction up.
Returns the direction of the performed swipe in reference to the axis: X = Up / Down Y = Left / Right
sender
The source of the event.
e
A RotateEventArgs that contains the event data.
Fired when two finger moved around a single point. It contains the angle of the rotation.
sender
The source of the event.
e
A PreviewKeyDownEventArgs that contains the event data.
Fired before the KeyDown event when a key is pressed while focus is on this control.
X
X-axis.
Y
Y-axis
Returns whether the performed swipe was on the x or y axis.
Returns the Axis of the track event.
sender
The source of an event.
e
A QueryContinueDragEventArgs that contains the event data.
Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
oldValue
Previous ClientProfile.
newValue
New active ClientProfile.
Represents the method that will handle the Rotate event.
args
The arguments received from the client.
Wisej.Web.SwipeEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the Swipe event.
sender
The source of the event.
e
A that contains the event data.
Fired when a pointer swipes over the screen.
Wisej.Web.TouchEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for Swipe event.
Int64[]: Returns the unique identifiers for the touch items.
Boolean: Returns whether more than one touch is associated with the event target element.
Point[]: Returns the location of the touch items in screen coordinates.
Double: Returns the delta of the rotation since the start of the event, in degrees.
Double: Returns the distance between two fingers since the start of the event.
Wisej.Web.TrackEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for Track event.
SwipeAxis: Returns the Axis of the track event.
Point: Returns the X, Y delta for the track event.
Int32: Returns the X delta of the track event.
Int32: Returns Y delta of the track event.
Wisej.Web.WidgetEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that handles the WidgetEvent 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.
Wisej.Web.TrackEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the Track event.
sender
The source of the event.
e
A that contains the event data.
Fired when a pointer grabs an item and moves the pointer on it.
Wisej.Web.TouchEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the TouchStart, TouchEnd, TouchMove, TouchCancel events.
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.
Wisej.Web.Cursor
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the mouse pointer.
Creates a new cursor using the Image.
image
Creates a new cursor using an image source: can use a themed image or URL.
source
The name of a theme image or a URL to an image resource.
Creates a new cursor using the Image.
stream
Creates a new cursor using the Image.
image
x
x-coordinate of the hotspot location.
y
y-coordinate of the hotspot location.
Creates a new cursor using the Image.
stream
x
x-coordinate of the hotspot location.
y
y-coordinate of the hotspot location.
Creates a new cursor using an image source: can use a themed image or URL.
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.
String: Returns the name of the cursor.
Point: Returns or sets the pointer's position.
Wisej.Web.SwipeEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for Swipe event.
SwipeAxis: Returns whether the performed swipe was on the x or y axis.
SwipeDirection: Returns the direction of the performed swipe in reference to the axis: X = Up / Down Y = Left / Right
Int32: Returns the distance of the performed swipe.
Int32: Returns the duration the performed swipe took.
Int64: Returns the start time of the performed swipe.
Double: Returns the velocity of the performed swipe.
Wisej.Web.Screen
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the display on the client device.
Rectangle: Returns the size of the display of the client device, regardless of the orientation.
String: Returns the device name associated with a display.
Rectangle: Returns the working area of the browser. The working area is the desktop area of the browser, excluding taskbars, docked windows, and docked tool bars.
Wisej.Web.SessionReference<T>
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Keeps a WeakReference to an singleton instance of T stored in the current Application. Since 3.2.7
Use GetInstance to retrieve the session-singleton instance of your object of type T .
T
Type of the session-singleton object.
Initializes a new instance of SessionReference.
String: Id of the session holding the SessionReference.
WeakReference<T>: Singleton instance of T .
Wisej.Web.Cursors
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Defines a collection of predefined Cursor objects.
Cursor: Returns the "shortcut" cursor.
Cursor: Returns the "arrow" cursor.
Cursor: Returns "cell" cursor.
Cursor: Returns the clipboard "copy" cursor.
Cursor: Returns the "crosshair" cursor.
Cursor: Returns the "default" cursor, which is usually an arrow cursor.
Cursor: Returns the "grab" cursor.
Cursor: Returns the "hand" cursor, typically used when hovering over a Web link.
Cursor: Returns the "help" cursor, which is a combination of an arrow and a question mark.
Cursor: Returns the "row-resize" cursor that appears when the mouse is positioned over a horizontal splitter bar.
Cursor: Returns the "text" cursor, which is used to show where the text cursor appears when the mouse is clicked.
Cursor: Returns the "move" cursor, typically an cross shape.
Cursor: Returns the "not-allowed" cursor that indicates that a particular region is invalid for the current operation.
Cursor: Returns the "none" cursor.
Cursor: Returns the "not-allowed" cursor.
Cursor: Returns the "move" sizing cursor, which consists of four joined arrows that point north, south, east, and west.
Cursor: Returns the "ne-resize" diagonal (north/east) sizing cursor.
Cursor: Returns the "nesw-resize" diagonal (northeast/southwest) sizing cursor.
Cursor: Returns the "n-resize" vertical (north/south) sizing cursor.
Cursor: Returns the "nw-resize" diagonal (north/west) sizing cursor.
Cursor: Returns the "nwse-resize" diagonal (northwest/southeast) sizing cursor.
Cursor: Returns the "se-resize" diagonal (south/east) sizing cursor.
Cursor: Returns the "sw-resize" diagonal (south/west) sizing cursor.
Cursor: Returns the "w-resize" horizontal (west/east) sizing cursor.
Cursor: Returns the "text" cursor.
Cursor: Returns the "col-resize" cursor that appears when the mouse is positioned over a vertical splitter bar.
Cursor: Returns the "wait" cursor, typically an hourglass shape.
Cursor: Returns the "zoom-in" cursor.
Cursor: Returns the "zoom-out" cursor.
Wisej.Web.Padding
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents padding or margin information associated with a user interface (UI) element.
Initializes a new instance of the Padding class using a separate padding size for each edge.
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.
Initializes a new instance of the Padding class using the supplied padding size for all edges.
all
The number of pixels to be used for padding for all edges.
Int32: Returns or sets the padding value for all the edges.
Int32: Returns or sets the padding value for the bottom edge.
Int32: Returns the combined padding for the right and left edges.
Boolean: Returns if the padding is empty.
Int32: Returns or sets the padding value for the left edge.
Int32: Returns or sets the padding value for the right edge.
Size: Returns the padding information in the form of a Size.
Int32: Returns or sets the padding value for the top edge.
Int32: Returns the combined padding for the top and bottom edges.
Computes the sum of the two specified Padding values.
p1
p2
Returns: Padding. A Padding that contains the sum of the two specified Padding values.
Subtracts one specified Padding value from another.
p1
p2
Returns: Padding. A Padding that contains the result of the subtraction of one specified Padding value from another.
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 statusbar panel.
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.WidgetEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the WidgetEvent event.
Initializes a new instance of the WidgetEventArgs class.
type
The type (name) of event.
data
The data object received with the event.
Object: Returns the data object that was sent by the widget with the event.
String: Returns the type (name) of the event fired by the widget.
Wisej.Web.Button
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a button control.
Initializes a new instance of the Button class.
Initializes a new instance of the Button class with specific initial settings.
text
Initial text.
onClick
Initializes a new instance of the Button class with specific initial settings.
text
Initial text.
location
Initial location.
size
Initial size.
onClick
Optional click handler.
Initializes a new instance of the Button class with specific initial settings.
text
Initial text.
ImageSource
Image source.
location
Initial location.
size
Initial size.
onClick
Optional click handler.
AutoSizeMode: Returns or sets the mode by which the Button automatically resizes itself. (Default: GrowOnly
)
Boolean: Returns or sets whether a tooltip is displayed when the text extends beyond the size of the control. (Default: False
)
The auto tooltip is set on the browser using the title attribute managed by the browser, does not use the themed tooltip managed by Wisej.NET.
BorderStyle: Returns or sets the border style of the button control. (Default: Solid
)
DialogResult: Returns or sets a value that is returned to the parent form when the button is clicked. (Default: None
)
Display: Returns or sets the Display mode of the control to determine whether to display the icon, the text or both. (Default: Both
)
Nullable<Int32>: Returns or sets the distance in pixels between the image and the label inside the button. (Default: null
)
MenuItemCollection: Returns the collection of MenuItem objects associated with the button.
Boolean: 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. (Default: False
)
Shortcut: Returns or sets a value indicating the shortcut key associated with the button. (Default: None
)
Generates a Click event for a button.
MenuButtonItemClickedEventHandler Fired when the user clicks one of the drop down menu items.
EventHandler Fired when the button menu is closed. Since 3.5.5
EventHandler Fired after the button menu is displayed on the client. Since 3.5.5
Represents a split button control.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to common image properties across the controls that implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.DataObject
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Implements a basic data transfer mechanism.
Initializes a new instance of the DataObject class.
Initializes a new instance of the DataObject class and adds the specified object to it.
data
The data to store.
Initializes a new instance of the DataObject class and adds the specified object in the specified format.
format
data
The data to store.
Initializes a new instance of the DataObject class and adds the specified object in the specified format.
format
data
The data to store.
Indicates whether the data object contains data in the WaveAudio format.
Returns: Boolean. true if the data object contains audio data; otherwise, false.
Indicates whether the data object contains data that is in the FileDrop format or can be converted to that format.
Returns: Boolean. true if the data object contains a file drop list; otherwise, false.
Indicates whether the data object contains data that is in the Bitmap format or can be converted to that format.
Returns: Boolean. true if the data object contains image data; otherwise, false.
Indicates whether the data object contains data in the UnicodeText format.
Returns: Boolean. true if the data object contains text data; otherwise, false.
Indicates whether the data object contains text data in the format indicated by the specified TextDataFormat value.
format
Returns: Boolean. true if the data object contains text data in the specified format; otherwise, false.
Retrieves an audio stream from the data object.
Returns: Stream. A Stream containing audio data or null if the data object does not contain any data in the WaveAudio format.
Returns the data associated with the specified class type format.
format
Returns: Object. The data associated with the specified format, or null.
Returns the data associated with the specified data format.
format
Returns: Object. The data associated with the specified format, or null.
Returns the data associated with the specified data format, using an automated conversion parameter to determine whether to convert the data to the format.
format
autoConvert
true to the convert data to the specified format; otherwise, false.
Returns: Object. The data associated with the specified format, or null.
Determines whether data stored in this DataObject is associated with, or can be converted to, the specified format.
format
Returns: Boolean. true if data stored in this DataObject is associated with, or can be converted to, the specified format; otherwise, false.
Returns the data associated with the specified class type format.
format
Returns: Boolean. The data associated with the specified format, or null.
Determines whether this DataObject contains data in the specified format or, optionally, contains data that can be converted to the specified format.
format
autoConvert
Returns: Boolean. true if the data is in, or can be converted to, the specified format; otherwise, false.
Returns the list of file types from the data object.
Returns: String[]. A string array containing the file types in the data object.
Returns the HttpFileCollection of files uploaded by the client in a drag & drop operation.
Returns: HttpFileCollection. A string array containing the file types in the data object.
Returns a list of all formats that data stored in this DataObject is associated with or can be converted to.
Returns: String[]. An array of type String, containing a list of all formats that are supported by the data stored in this object.
Returns a list of all formats that data stored in this DataObject is associated with or can be converted to, using an automatic conversion parameter to determine whether to retrieve only native data formats or all formats that the data can be converted to.
autoConvert
Returns: String[]. An array of type String, containing a list of all formats that are supported by the data stored in this object.
Retrieves an image from the data object.
Returns: Image. An Image representing the image data in the data object or null if the data object does not contain any data that is in the Bitmap format or can be converted to that format.
Retrieves text data from the data object in the UnicodeText format.
Returns: String. The text data in the data object or Empty if the data object does not contain data in the UnicodeText format.
Retrieves text data from the data object in the format indicated by the specified TextDataFormat value.
format
Returns: String. The text data in the data object or Empty if the data object does not contain data in the specified format.
Adds a Byte array to the data object in the WaveAudio format after converting it to a Stream.
audioBytes
Throws:
ArgumentNullException audioBytes is null.
Adds a Stream to the data object in the WaveAudio format.
audioStream
Throws:
ArgumentNullException audioStream is null.
Adds the specified object to the DataObject using the object type as the data format.
data
The data to store.
Adds the specified object to the DataObject using the specified type as the format.
format
data
The data to store.
Adds the specified object to the DataObject using the specified format.
format
data
The data to store.
Adds the specified object to the DataObject using the specified format and indicating whether the data can be converted to another format.
format
autoConvert
true to allow the data to be converted to another format; otherwise, false.
data
The data to store.
Adds a url using DownloadURL format. The specified url is parsed to compose the DownloadURL as: "mime-type:file-name:url".
url
The url to the file to download.
fileName
The name of the file to download from the url.
Adds a collection of file names to the data object in the FileDrop format.
filePaths
Throws:
ArgumentNullException filePaths is null.
Adds a collection of file names to the data object in the FileDrop format.
filePaths
Throws:
ArgumentNullException filePaths is null.
Adds an Image to the data object in the Bitmap format.
image
Throws:
ArgumentNullException image is null.
Adds text data to the data object in the UnicodeText format.
textData
The text to add to the data object.
Throws:
ArgumentNullException textData is null or Empty.
Adds text data to the data object in the format indicated by the specified TextDataFormat value.
textData
The text to add to the data object.
format
Throws:
ArgumentNullException textData is null or Empty.
Provides a format-independent mechanism for transferring data.
Wisej.Web.RadioButton
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
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.
Initializes a new instance of the class with the specified settings.
Wisej.Web.MenuButtonItemClickedEventArgs
Wisej.Web.CheckBox
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a check box control.
Initializes a new instance of the class.
Initializes a new instance of the class.
Represents the method that will handle the , , , events.
Represents the method that will handle the event.
An to use for the cursor.
A to use for the cursor.
An to use for the cursor.
A to use for the cursor.
Represents the method that will handle the event.
A .
A .
A .
A .
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 the event.
Optional handler.
Allows a control to act like a button on a .
Defines an object that can invoke a .
All wisej controls derived from the class must implement this interface.
The format of the specified data. See for predefined formats.
A representing the format of the data.
One of the values.
A representing the format of the data to retrieve.
The format of the data to retrieve. See for predefined formats.
The format of the data to retrieve. See for predefined formats.
A representing the format to check for.
A representing the format of the data to retrieve.
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.
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.
One of the values.
A array containing the audio data.
A containing the audio data.
A representing the format associated with the data.
The format associated with the data. See for predefined formats.
The format associated with the data. See for predefined formats.
A containing the file names.
A containing the file names.
The to add to the data object.
One of the values.
Initializes a new instance of the class with specific initial settings.
: Returns or sets the value that determines the appearance of a control. (Default: Normal
)
: Returns or set a value indicating whether the or values and the 's appearance are automatically changed when the is clicked. (Default: True
)
: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: True
)
: Returns or sets whether a tooltip is displayed when the text extends beyond the size of the control. (Default: False
)
The auto tooltip is set on the browser using the attribute managed by the browser, does not use the themed tooltip managed by Wisej.NET.
: Returns or sets the horizontal and vertical alignment of the check mark on a control. (Default: MiddleLeft
)
: Gets or sets whether the control is checked. (Default: False
)
: Returns or sets the text color used when the is checked. (Default: Color [Empty]
)
: 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. (Default: ""
)
: Returns or sets whether the control is read-only. (Default: False
)
: Returns or sets whether the user can give the focus to this control using the TAB key and the property is set to true. (Default: False
)
: Returns or sets the alignment of the text on the control. (Default: MiddleLeft
)
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.
Initializes a new instance of the class.
: Returns or sets the value that determines the appearance of a control. (Default: Normal
)
: Returns or set a value indicating whether the or values and the 's appearance are automatically changed when the is clicked. (Default: True
)
: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: True
)
: Returns or sets whether a tooltip is displayed when the text extends beyond the size of the control. (Default: False
)
The auto tooltip is set on the browser using the attribute managed by the browser, does not use the themed tooltip managed by Wisej.NET.
: Returns or sets the horizontal and vertical alignment of the check mark on a control. (Default: MiddleLeft
)
: Returns or set a value indicating whether the is in the checked state. (Default: False
)
: Returns or sets the text color used when the is checked. (Default: Color [Empty]
)
: Returns or sets the state of the . (Default: Unchecked
)
: 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. (Default: ""
)
: Returns or sets whether the control is read-only. (Default: False
)
: Returns or sets the alignment of the text on the control. (Default: MiddleLeft
)
: Returns or sets whether the will allow three check states rather than two. (Default: False
)
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.
text
Initial text.
location
Initial location.
size
Initial size.
onCheckedChanged
Optional CheckedChanged handler.
Bindable components implement this interface.
Defines an object that can invoke a Command.
Controls that support drag & drop operations implement this interface.
Provides access to common image properties across the controls that implement this interface.
Provides access to the ReadOnly property for coontrols that support the read-only mode.
Provides access to the validation events and properties property for controls that support validation.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
text
Initial text.
location
Initial location.
size
Initial size.
onCheckedChanged
Optional CheckedChanged handler.
Bindable components implement this interface.
Defines an object that can invoke a Command.
Controls that support drag & drop operations implement this interface.
Provides access to common image properties across the controls that implement this interface.
Provides access to the ReadOnly property for coontrols that support the read-only mode.
Provides access to the validation events and properties property for controls that support validation.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
sender
The source of the event.
e
A MenuButtonItemClickedEventArgs that contains the event data.
Fired when the user clicks one of the drop down menu items.
Wisej.Web.SaveFileDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Prompts the user to select a location for saving a file on the server.
You can:
Override PromptFileNotFound. It's called when the specified file doesn't exist and the property CheckFileExists is true.
Override PromptFileCreate. It's called when the specified file doesn't exist and the property CreatePrompt is true.
Override PromptFileOverwrite. It's called when the specified file doesn't exist and the property OverwritePrompt is true.
Override CreateUI to create your custom Form when the method ShowDialog is called.
Set the DialogTemplate to a Form class that has a constructor that accepts FileDialog as the single argument to change the User Interface (UI) of the file dialog.
Override OnFileOk to provide your custom implementation of the actions to execute when the user presses the OK button.
You must add at least one IFileSystemProvider to the Roots collection before showing the dialog.
Initializes a new instance of SaveFileDialog.
Initializes a new instance of the SaveFileDialog extender with a specified container.
container
Boolean: 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. (Default: False
)
Boolean: Returns or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that already exists. (Default: True
)
Opens the file with read/write permission selected by the user.
Returns: Stream. A Stream that specifies the read/write file selected by the user.
Throws:
ArgumentNullException FileName is empty or null.
Receives the file names selected by the user and validates them according to the properties set in the FileDialog instance.
fileNames
Array containing the selected file paths.
Returns: Boolean. True if the files have been validated and the dialog can close; otherwise false to keep the dialog open.
Resets all dialog box options to their default values.
text
Initial text.
onCheckedChanged
Optional CheckedChanged handler.
item
The MenuItem that was clicked.
Represents the method that will handle the ItemClicked event of a Button control.
text
Initial text.
onCheckedChanged
Optional CheckedChanged handler.
Wisej.Web.SplitButton
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a split button control.
Initializes a new instance of the SplitButton class.
Initializes a new instance of the SplitButton class with specific initial settings.
text
Initial text.
onClick
Initializes a new instance of the SplitButton class with specific initial settings.
text
Initial text.
location
Initial location.
size
Initial size.
onClick
Optional click handler.
Initializes a new instance of the SplitButton class with specific initial settings.
text
Initial text.
ImageSource
Image source.
location
Initial location.
size
Initial size.
onClick
Optional click handler.
Orientation: Returns or sets a value indicating the layout of the SplitButton. When the value is set to Vertical the down arrow is places below the text, otherwise it's to the right of the text. (Default: Horizontal
)
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to common image properties across the controls that implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.CommonDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Specifies the base class used for displaying dialog boxes on the screen.
Initializes a new instance of CommonDialog.
Initializes a new instance of the CommonDialog extender with a specified container.
container
Type: Returns or sets the type of the common dialog UI control to show when calling the ShowDialog method. (Default: null
)
Object: Returns or sets an object that contains data about the control. (Default: null
)
String: Returns or sets the dialog box title. (Default: ""
)
FormWindowState: Returns or sets the initial WindowState of the common dialog. (Default: Normal
)
When overridden in a derived class, resets the properties of a common dialog box to their default values.
Runs a common dialog box with a default owner.
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with a default owner.
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with the specified owner.
owner
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with the specified owner.
owner
Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.
Runs a common dialog box with the specified owner asynchronously.
Returns: Task<DialogResult>. OK if the user clicks OK in the dialog box; otherwise, Cancel.
EventHandler Fired when the user clicks the Help button on a common dialog box.
Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.
Displays a dialog box from which the user can select a file.
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.FileDialogLoadPathEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents the method that will handle the LoadPath and LoadPath 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.
Wisej.Web.ColorDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.
Initializes a new instance of ColorDialog.
Initializes a new instance of the ColorDialog extender with a specified container.
container
Color: Returns or sets the color selected by the user. (Default: Color [Empty]
)
Color[]: Returns or sets the set of custom colors shown in the dialog box. (Default: null
)
Resets all properties to their default values.
Wisej.Web.FileDialogLoadPathEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the LoadPath event.
Allows an application to filter the files and folders loaded by the FileDialog and FolderBrowserDialog 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 ImageSource, CreationTime or LastWriteTime properties.
Constructs a new instance of FileDialogLoadPathEventArgs.
path
Path of the file or directory.
isDirectory
Indicates that the path is for a directory.
DateTime: Sets the creation DateTime of the file.
Int64: Sets the file size in bytes.
String: Sets the name or path of the icon to display next to the file.
Boolean: Returns true when the Path refers to a directory.
DateTime: Sets the last modified DateTime of the file.
String: Returns the full path of the file or folder being loaded.
Wisej.Web.ButtonBase
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Implements the basic functionality common to button controls.
Initializes a new instance of the ButtonBase class.
Boolean: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False
)
Newlines (CRLF) are converted to <BR/> when AllowHtml is false, or when AllowHtml is true and the text doesn't contain any HTML.
Boolean: Returns or sets whether the ellipsis character (...) appears at the right edge of the button, denoting that the text extends beyond the size of the button. (Default: False
)
Boolean: 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. (Default: False
)
AutoShowLoader blocks the entire browser as soon as the button is clicked since it's implemented on the client side, while ShowLoader blocks the specific widget when returning from the request.
Boolean: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False
)
CharacterCasing: Returns or sets the case of the text to display to the user. (Default: Normal
)
ICommand: Returns or sets the ICommand implementation to invoke. (Default: null
)
Image: Returns or sets the image that is displayed in a button control.
ContentAlignment: Returns or sets the alignment of the image in the button control. (Default: MiddleCenter
)
Int32: Returns or sets the image list index value of the image in the ImageList displayed in the button control. (Default: -1
)
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
String: Returns or sets the key accessor for the image in the ImageList displayed in the button control. (Default: ""
)
ImageList: Returns or sets the ImageList that contains the Image displayed in a button control. (Default: null
)
String: Returns or sets the theme name or URL for the image to display in the button control.
String: Returns or sets the text associated with this control. (Default: ""
)
Newlines (CRLF) are converted to <BR/> when AllowHtml is false, or when AllowHtml is true and the text doesn't contain any HTML.
ContentAlignment: Returns or sets the alignment of the text in the button control. (Default: MiddleCenter
)
TextImageRelation: Returns or sets the position of text and image relative to each other. (Default: ImageBeforeText
)
Boolean: Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control. (Default: True
)
Generates a Click event for a button.
EventHandler Fired when the Command property value changes.
Represents a button control.
Represents a check box control.
Represents a split button control.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to common image properties across the controls that implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.FileDialogRootCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represent a collection of the IFileSystemProvider root file systems shown by the FileDialog implementation.
Maps the virtual path to the corresponding physical path on the specific IFileSystemProvider implementation.
filePath
Virtual path to map to the corresponding physical path.
Returns: String. The physical path for the IFileSystemProvider implementation.
Wisej.Web.FileDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Displays a dialog box from which the user can select a file.
This class is abstract. The current implementations in Wisej are OpenFileDialog and SaveFileDialog. You can override this class or OpenFileDialog and SaveFileDialog to add your own custom behavior and localization. You can:
Override PromptFileNotFound. It's called when the specified file doesn't exist and the property CheckFileExists is true.
Override CreateUI to create your custom Form when the method ShowDialog is called.
Set the DialogTemplate to a Form class that has a constructor that accepts FileDialog as the single argument to change the User Interface (UI) of the file dialog.
Override OnFileOk to provide your custom implementation of the actions to execute when the user presses the OK button.
You must add at least one FileSystemProvider to the Roots collection before showing the dialog.
Initializes a new instance of FileDialog.
Initializes a new instance of FileDialog using the initial roots .
roots
Initializes a new instance of the FileDialog extender with a specified container.
container
Boolean: Returns or sets whether the dialog box automatically adds an extension to a file name if the user omits the extension. (Default: True
)
Boolean: Returns or sets whether the dialog box displays a warning if the user specifies a file name that does not exist. (Default: False
)
String: Returns or sets the default file name extension. (Default: ""
)
String: Returns or sets a string containing the file name selected in the file dialog box. (Default: ""
)
String[]: Returns the file names of all selected files in the dialog box.
IFileSystemProvider: Returns the IFileSystemProvider that contains the selected FileName.
String: 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. (Default: ""
)
Int32: Returns or sets the index of the filter currently selected in the file dialog box. (Default: 1
)
String: Returns or sets the initial directory displayed by the file dialog box. (Default: ""
)
FileDialogRootCollection: List of root IFileSystemProvider file systems displayed by the FileDialog.
The Roots collection and the IFileSystemProvider 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.
Boolean: Returns or sets whether the Help button is displayed in the file dialog box. (Default: False
)
String: Returns or sets the file dialog box title. (Default: ""
)
Returns the IFileSystemProvider that contains the specified path .
path
Returns: IFileSystemProvider. The IFileSystemProvider that contains the specified path or null if not found.
Maps the virtual path to the corresponding physical path on the specific IFileSystemProvider implementation.
filePath
Virtual path to map to the corresponding physical path.
Returns: String. The physical path for the IFileSystemProvider implementation.
Receives the file names selected by the user and validates them according to the properties set in the FileDialog instance.
fileNames
Array containing the selected file paths.
Returns: Boolean. True if the files have been validated and the dialog can close; otherwise false to keep the dialog open.
Resets all properties to their default values.
CancelEventHandler Fired when the user clicks on the Open or Save button on a file dialog box.
FileDialogLoadPathEventHandler Fired when the file dialog is loading a file or folder.
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.FileDialogUI
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
UI implementation for the FileDialog class.
Initializes a new instance of FileDialogUI.
Initializes a new instance of FileDialogUI.
fileDialog
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej top-level windows implement this interface.
Allows an object to serialize itself.
Wisej.Web.Accordion
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Displays collapsible set of AccordionPanel panels for presenting information in a limited amount of space.
Initializes a new instance of the Accordion class.
Initializes a new instance of the Accordion class with the specified settings.
panels
onSelectedIndexChanged
Initializes a new instance of the Accordion class with the specified settings.
location
The location of the panel on its parent control.
size
The size of the panel.
onSelectedIndexChanged
Initializes a new instance of the Accordion class with the specified settings.
location
The location of the panel on its parent control.
size
The size of the panel.
panels
onSelectedIndexChanged
BorderStyle: Returns or sets the type of border that is drawn around the Accordion panel. (Default: Solid
)
Boolean: Returns or sets a value indicating whether the Accordion control collapses when all the AccordionPanel children are collapsed. (Default: False
)
When this property is set to false (default) one panel is always expanded.
Rectangle: Returns the rectangle that represents the virtual display area of the control.
Int32: Returns or sets the size of the header. When the header is horizontal, the size if the height; when it's vertical, the size if the width. Set it to -1 to reset to the size set in the current theme.
ImageList: Returns or sets the images to display on the panel's title bar. (Default: null
)
Int32: Returns the number of panels in the container.
PanelCollection: Returns the collection of panels in the container.
Int32: Returns or sets the index of the currently selected panel. (Default: -1
)
Throws:
ArgumentOutOfRangeException The value is less than -1.
Boolean: Returns or sets a value indicating whether the selected panel is moved to the top of the Accordion container. (Default: False
)
AccordionPanel: Returns or sets the currently selected panel.
Boolean: Returns or sets whether a panel's ToolTip is shown when the mouse passes over the panel's title. (Default: True
)
Makes the AccordionPanel following the AccordionPanel with the specified index the current panel.
index
Throws:
ArgumentOutOfRangeException index is less than 0 or greater than the number of AccordionPanel controls in the Panels collection minus 1.
Makes the AccordionPanel following the specified AccordionPanel the current panel.
panel
Throws:
ArgumentNullException panel is null.
Makes the AccordionPanel following the AccordionPanel the specified name the current panel.
panelName
Throws:
ArgumentNullException panelName is null; or panelName does not match the Name property of any AccordionPanel in the Panels collection.
Returns the AccordionPanel panel at the specified location.
index
Returns: Control. The AccordionPanel at the specified location.
Throws:
ArgumentOutOfRangeException index is less than 0 or greater than the number of AccordionPanel controls in the Panels collection minus 1.
Makes the AccordionPanel with the specified index the current AccordionPanel.
index
Throws:
ArgumentOutOfRangeException index is less than 0 or greater than the number of AccordionPanel controls in the Panels collection minus 1.
Makes the specified AccordionPanel the current AccordionPanel.
panel
Throws:
ArgumentNullException panel is null.
Makes AccordionPanel with the specified name the current AccordionPanel.
panelName
Throws:
ArgumentNullException panelName is null; or panelName does not match the Name property of any AccordionPanel in the Panels collection.
AccordionEventHandler Fired when a panel is deselected.
AccordionCancelEventHandler Occurs before a panel is deselected, enabling a handler to cancel the panel change.
AccordionEventHandler Fired when a panel is selected.
EventHandler Fired when the SelectedIndex property has changed.
AccordionCancelEventHandler Occurs before a panel is selected, enabling a handler to cancel the panel change.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Wisej.Web.FolderBrowserDialogUI
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
UI implementation for the FolderDialog class.
Initializes a new instance of FolderBrowserDialogUI.
Initializes a new instance of FolderBrowserDialogUI.
folderDialog
Bindable components implement this interface.
Provides the functionality for a control to act as a parent for other controls.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej top-level windows implement this interface.
Allows an object to serialize itself.
Wisej.Web.OpenFileDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Prompts the user to open a file from the server.
You can:
Override PromptFileNotFound. It's called when the specified file doesn't exist and the property CheckFileExists is true.
Override CreateUI to create your custom Form when the method ShowDialog is called.
Set the DialogTemplate to a Form class that has a constructor that accepts FileDialog as the single argument to change the User Interface (UI) of the file dialog.
Override OnFileOk to provide your custom implementation of the actions to execute when the user presses the OK button.
You must add at least one IFileSystemProvider to the Roots collection before showing the dialog.
Initializes a new instance of OpenFileDialog.
Initializes a new instance of the OpenFileDialog extender with a specified container.
container
Boolean: Returns or sets a value indicating whether the dialog box displays a warning if the user specifies a file name that does not exist. (Default: True
)
Boolean: Returns or sets a value indicating whether the dialog box allows multiple files to be selected. (Default: False
)
String: Returns the file name and extension for the file selected in the dialog box. The file name does not include the path.
String[]: 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 FileName property.
Returns: Stream. A Stream that specifies the read-only file selected by the user.
Throws:
ArgumentNullException FileName is empty or null.
Resets all properties to their default values.
Wisej.Web.FolderBrowserDialog
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Allows the user to select a folder from one of the Roots.
Initializes a new instance of FolderBrowserDialog.
Initializes a new instance of FolderBrowserDialog using the initial roots .
roots
Initializes a new instance of the FolderBrowserDialog extender with a specified container.
container
String: Returns or sets the description splayed above the tree view control in the dialog box. (Default: ""
)
FileDialogRootCollection: List of root IFileSystemProvider file systems displayed by the FolderBrowserDialog.
The Roots collection and the IFileSystemProvider 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.
String: Returns sets the path selected by the user. (Default: ""
)
Boolean: Returns or sets whether the Help button is displayed in the file dialog box. (Default: False
)
String: Returns or sets the file dialog box title. (Default: ""
)
Returns the IFileSystemProvider that contains the specified path .
path
Returns: IFileSystemProvider. The IFileSystemProvider that contains the specified path or null if not found.
Maps the virtual path to the corresponding physical path on the specific IFileSystemProvider implementation.
folderPath
Virtual path to map to the corresponding physical path.
Returns: String. The physical path for the IFileSystemProvider implementation.
Resets all properties to their default values.
FileDialogLoadPathEventHandler Fired when the file dialog is loading a file or folder.
Wisej.Web.Accordion PanelCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Contains a collection of objects.
: Returns the number of panels in the collection.
: Returns or sets a in the collection at the specified index.
Throws:
index is less than zero or greater than the highest available index.
value is null.
: Returns the with the specified key from the collection.
Throws:
Throws:
Throws:
Throws:
Throws:
Throws:
Wisej.Web.AccordionCancelEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the and events of a control.
Initializes a new instance of the class.
: Returns a value indicating which event is occurring.
An that represents the container of the component.
Optional handler.
Allows a control to act like a button on a .
Defines an object that can invoke a .
All wisej controls derived from the class must implement this interface.
An that represents the container of the component.
onclose
Optional async handler for the close event; called when the form/dialog has been closed. It's the equivalent of handling the When the onclose event handler is specified, the modal dialog doesn't suspend the execution on the server but it's still shown as a modal dialog on the client.
A that represents the top-level window that owns the modal dialog box. It can be null.
A that represents the top-level window that owns the modal dialog box. It can be null.
onclose
Optional async handler for the close event; called when the form/dialog has been closed. It's the equivalent of handling the When the onclose event handler is specified, the modal dialog doesn't suspend the execution on the server but it's still shown as a modal dialog on the client.
owner
A that represents the top-level window that owns the modal dialog box. It can be null.
Allows the user to select a folder from one of the .
An that represents the container of the component.
Represents the method that will handle the and events.
Enables the user to select a single option from a group of choices when paired with other controls.
Defines an object that can invoke a .
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 .
All wisej controls derived from the class must implement this interface.
An array of objects to be added to the panel.
An Action delegate to handle the event.
An Action delegate to handle the event.
An array of objects to be added to the panel.
An Action delegate to handle the event.
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.
All wisej controls derived from the class must implement this interface.
An that represents the container of the component.
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 .
Adds a to the collection.
The specified panel is null.
Creates a with the specified text, and adds it to the collection.
Creates a with the specified key and text and adds it to the collection.
Creates a with the specified key, text, and image, and adds it to the collection.
Creates a with the specified key, text, and image, and adds it to the collection.
Adds a set of panels to the collection.
The value of panels is null.
Removes all the panels from the collection.
Removes and disposes all panels from the collection.
Determines whether a specified is in the collection.
Returns: . true if the specified is in the collection; otherwise, false.
The value of panel is null.
Determines whether the collection contains a with the specified key.
Returns: . true to indicate a with the specified key was found in the collection; otherwise, false.
Copies the panels in the collection to the specified array, starting at the specified index.
array is null.
array is less than zero.
array is multidimensional or the number of elements in the is greater than the available space from index to the end of array .
Returns the index of the in the collection.
Returns: . The zero-based index of the panel; -1 if it cannot be found.
The value of panel is null.
Returns the index of the first occurrence of the with the specified key.
Returns: . The zero-based index of the first occurrence of a with the specified key, if found; otherwise, -1.
Inserts an existing into the collection at the specified index.
Creates a new with the specified text and inserts it into the collection at the specified index.
Creates a new with the specified key and text, and inserts it into the collection at the specified index.
Creates a new with the specified key, text, and image, and inserts it into the collection at the specified index.
Creates a with the specified key, text, and image, and inserts it into the collection at the specified index.
Removes the from the collection.
The panel parameter is null.
Removes the at the specified index from the collection.
Removes the with the specified key from the collection.
: Returns the the event is occurring for.
: Returns the zero-based index of the in the collection.
panel
The AccordionPanel to add.
text
The text to display on the panel.
key
The name of the AccordionPanel.
text
The text to display on the title of AccordionPanel.
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
imageIndex
The index of the image to display on the title of the AccordionPanel.
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
imageKey
The key of the image to display on the title of the AccordionPanel.
panels
An array of type AccordionPanel that contains the panels to add.
dispose
Indicates whether to dispose the AccordionPanel panels removed from the collection.
panel
The AccordionPanel to locate in the collection.
key
The name of the AccordionPanel to search for.
array
The one-dimensional array that is the destination of the AccordionPanel panels copied from the collection. The array must have zero-based indexing.
index
The zero-based index in the array at which copying begins.
panel
The AccordionPanel to locate in the collection.
key
The name of the AccordionPanel to find in the collection.
index
The zero-based index location where the AccordionPanel is inserted.
panel
The AccordionPanel to insert in the collection.
index
The zero-based index location where the AccordionPanel is inserted.
text
The text to display in the AccordionPanel.
index
The zero-based index location where the AccordionPanel is inserted.
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
index
The zero-based index location where the AccordionPanel is inserted
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
imageIndex
The zero-based index of the image to display on the AccordionPanel.
index
The zero-based index location where the AccordionPanel is inserted.
key
The name of the AccordionPanel.
text
The text to display on the AccordionPanel.
imageKey
The key of the image to display on the AccordionPanel.
panel
The AccordionPanel to remove.
index
The zero-based index of the AccordionPanel to remove.
key
The name of the AccordionPanel to remove.
Represents the method that will handle the Selecting or Deselecting event of a Accordion control.
Deselected
Represents the Deselected event.
Deselecting
Represents the Deselecting event.
Selected
Represents the Selected event.
Selecting
Represents the Selecting event.
Returns a value indicating which event is occurring.
Returns a value indicating which event is occurring.
panel
The AccordionPanel the event is occurring for.
panelIndex
The zero-based index of panel in the Panels collection.
cancel
true to cancel the panel change by default; otherwise, false.
action
One of the AccordionAction values.
Wisej.Web.HelpEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the HelpRequested event.
Initializes a new instance of the HelpEventArgs class.
target
Boolean: Returns or sets a value indicating whether the help event was handled.
Control: Returns the Control that had the focus when the user pressed F1.
The that had the focus when the user pressed F1.
Represents the method that will handle the event of a .