arrow-left

Only this pageAll pages
gitbookPowered by GitBook
triangle-exclamation
Couldn't generate the PDF for 806 pages, generation stopped at 100.
Extend with 50 more pages.
1 of 100

v4.0

Loading...

Wisej.Web

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...

Loading...

Loading...

Loading...

General

Wisej.NET API

Welcome to the Wisej.NET API reference.

This book covers the full API for the Wisej.Framework assembly only. For an in-depth guide of Wisej.NET features, please refer to the Concepts arrow-up-rightbook. For the extensions API and concepts, please refer to the Extensions arrow-up-rightbook.

hashtag
Legend

Icon
Description

hashtag
Concepts & Reference

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.

hashtag
Skills

We assume that you have a good working knowledge of the following tools and technologies:

  • C# or VB.NET

  • .NET in general

  • Visual Studio

ClientPlatform

Wisej.Core.ClientPlatform

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.0.0.0)

Represents the client platform used to render the widgets.

hashtag

LoadConfigurationEventHandler

Wisej.Core.LoadConfigurationEventHandler

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.0.0.0)

Represents a method that handles the event.

Application.PageCollection

Wisej.Web.Application PageCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Holds the collection of all top-level application pages.

hashtag

HashChangedEventHandler

Wisej.Web.HashChangedEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the event.

Client

Wisej.Core.Client

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.0.0.0)

Represents a unique client using the application.

A browser instance is a single client, regardless of how many sessions are created by that client and how many browser tabs are open. Different browsers a represented as different clients.

Application.FormCollection

Wisej.Web.Application FormCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Holds the collection of all top-level application forms.

hashtag

RequestEventArgs

Wisej.Web.RequestEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

hashtag
Constructors

ClientCollection

Wisej.Core.ClientCollection

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.0.0.0)

List of s using the application.

LicenseErrorEventHandler

Wisej.Web.LicenseErrorEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the event.

ResponsiveProfileChangedEventHandler

Wisej.Web.ResponsiveProfileChangedEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the Application.ResponsiveProfileChanged event.

Application.RequestType

Wisej.Web.Application RequestType

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Type of incoming request. Since 3.5.5

hashtag

LayoutEventHandler

Wisej.Web.LayoutEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the event of a .

KeyPressEventHandler

Wisej.Web.KeyPressEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the event of a .

PlatformProvider

Wisej.Core.PlatformProvider

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.0.0.0)

Platforms supported by Wisej.

hashtag

Buttons

Common Dialogs

JavaScript

Instance method, or property, or event.

Static method or property or event.

Protected method or property or event.

Deprecated method or property or event.

Properties

hashtag
JavaScripts

String[]arrow-up-right: List of javascript files associated with the platform.

hashtag
Name

Stringarrow-up-right: The name of this platform configuration.

hashtag
Provider

PlatformProvider: The platform provider.

hashtag
StyleSheets

String[]arrow-up-right: List of style sheets associated with the platform.

hashtag
Version

Versionarrow-up-right: Returns the file version of the

Public Class ClientPlatform
public class ClientPlatform
hashtag
Parameters
Name
Type
Description

sender

The source of the event. Always null.

args

The event data.

hashtag
Fired By

Name
Description

Fired when the system needs to load a Wisej configuration file.

Public Delegate Sub LoadConfigurationEventHandler(ByVal sender As [Object], ByVal args As LoadConfigurationEventArgs)
LoadConfiguration
public delegate void LoadConfigurationEventHandler(Object sender, LoadConfigurationEventArgs args)
Properties

hashtag
Count

Int32arrow-up-right: Returns the total number of currently open pages.

hashtag
Item(index)

Page: Returns the page at the specified index.

hashtag
Item(name)

Page: Returns the first page with the specified name, the search is case insensitive.

hashtag
Methods

hashtag
GetEnumerator()

Returns an enumerator that iterates through the open pages.

Returns: IEnumeratorarrow-up-right.

Public Class PageCollection
    Inherits ICollection
    Implements IEnumerable
public class PageCollection : ICollection, IEnumerable
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

Fired when the hash part of the URL changes on the client side.

Public Delegate Sub HashChangedEventHandler(ByVal sender As [Object], ByVal e As HashChangedEventArgs)
HashChanged
public delegate void HashChangedEventHandler(Object sender, HashChangedEventArgs e)
hashtag
Properties

hashtag
Browsers

ClientBrowser[]: List of browser tabs (for the same browser) that are using the application at the client computer.

hashtag
ID

Stringarrow-up-right: Unique client ID.

hashtag
IPAddress

Stringarrow-up-right: IP Address of the client computer.

hashtag
SessionCount

Int32arrow-up-right: Returns the number of sessions used by this client computer.

Public Class Client
public class Client
Properties

hashtag
Count

Int32arrow-up-right: Returns the total number of currently open forms.

hashtag
Item(index)

Form: Returns the form at the specified index.

hashtag
Item(name)

Form: Returns the first form with the specified name, the search is case insensitive.

hashtag
Methods

hashtag
GetEnumerator()

Returns an enumerator that iterates through the open forms.

Returns: IEnumeratorarrow-up-right.

Public Class FormCollection
    Inherits ICollection
    Implements IEnumerable
public class FormCollection : ICollection, IEnumerable
hashtag
RequestEventArgs(type)

Initializes an RequestEventArgs for the RequestEventHandler delegate.

Name
Type
Description

type

Type of the incoming request.

hashtag
Properties

hashtag
Type

RequestType: Returns the RequestType.

hashtag
Used By

Name
Description

Represent a method that handles the , and events. Since 3.5.5

Public Class RequestEventArgs
    Inherits EventArgs
public class RequestEventArgs : EventArgs
hashtag
Constructors

hashtag
ClientCollection()

Initializes a new instance of ClientCollection.

hashtag
Properties

hashtag
Count

Int32arrow-up-right: Returns the total number of Client items in the collection.

hashtag
Item(index)

Client: Returns the Client at the specified index .

Public Class ClientCollection
    Inherits IList(Of Client)
    Implements ICollection(Of Client), IEnumerable(Of Client), IEnumerable
Client
public class ClientCollection : IList<Client>, ICollection<Client>, IEnumerable<Client>, IEnumerable
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

Fired when a license error occurs.

Public Delegate Sub LicenseErrorEventHandler(ByVal sender As [Object], ByVal e As LicenseErrorEventArgs)
LicenseError
public delegate void LicenseErrorEventHandler(Object sender, LicenseErrorEventArgs e)
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

Fired when the active responsive profile is changed.

Fired when the active responsive profile is changed.

Public Delegate Sub ResponsiveProfileChangedEventHandler(ByVal sender As [Object], ByVal e As ResponsiveProfileChangedEventArgs)
public delegate void ResponsiveProfileChangedEventHandler(Object sender, ResponsiveProfileChangedEventArgs e)
Fields
Name
Description

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

hashtag
Used By

Name
Description

Returns the .

Public Enum RequestType As [Enum]
public enum RequestType : Enum
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

Fired when a control should reposition its child controls.

Public Delegate Sub LayoutEventHandler(ByVal sender As [Object], ByVal e As LayoutEventArgs)
Layout
Control
public delegate void LayoutEventHandler(Object sender, LayoutEventArgs e)
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

Fired when a key is pressed while the control has focus.

Public Delegate Sub KeyPressEventHandler(ByVal sender As [Object], ByVal e As KeyPressEventArgs)
KeyPress
Control
public delegate void KeyPressEventHandler(Object sender, KeyPressEventArgs e)
Fields
Name
Description

QXDesktop

Desktop platform by qooxdoo.

hashtag
Used By

Name
Description

The platform provider.

Public Enum PlatformProvider As [Enum]
public enum PlatformProvider : Enum

ClientProfile

Wisej.Core.ClientProfile

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.0.0.0)

Definition of the client device.

public class ClientProfile
Public Class ClientProfile

hashtag
Fields

Name
Type
Description

hashtag
Properties

hashtag
Device

: Device type.

hashtag
Landscape

: Device landscape mode.

hashtag
MaxScreenWidth

: Maximum screen width.

hashtag
MaxWidth

: Maximum browser width.

hashtag
MinScreenWidth

: Minimum screen width.

hashtag
MinWidth

: Minimum browser width.

hashtag
Name

: Name of the profile.

hashtag
UserAgent

: User agent string.

LoadConfigurationEventArgs

Wisej.Core.LoadConfigurationEventArgs

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.0.0.0)

Specifies the event arguments for the LoadConfiguration event.

public class LoadConfigurationEventArgs : EventArgs
Public Class LoadConfigurationEventArgs
    Inherits EventArgs

hashtag
Properties

hashtag
FilePath

: The full file path to the configuration file to load. Since 3.2.7

Code handling the event may set the this property and return null to let Wisej.NET load the configuration from the new file.

hashtag
SuppressCache

: When set to true, suppresses the caching of the custom object returned by the custom handler for the event.

Configuration objects are cached and retrieved using the as the key.

hashtag
Uri

: The current representing the site being loaded. Since 3.2.7

hashtag
Used By

Name
Description

HashChangedEventArgs

Wisej.Web.HashChangedEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the HashChanged event.

public class HashChangedEventArgs : EventArgs
Public Class HashChangedEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
HashChangedEventArgs(value)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
Hash

: The hash string from the client.

hashtag
Used By

Name
Description

BackgroundWorker

Wisej.Web.BackgroundWorker

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Executes an operation on a background task.

public class BackgroundWorker : BackgroundWorker
Public Class BackgroundWorker
    Inherits BackgroundWorker

hashtag
Constructors

hashtag
BackgroundWorker()

Initialized a new instance of bound to the current session.

hashtag
Methods

hashtag
OnDoWork(e)

Raises the event.

Parameter
Type
Description

hashtag
OnProgressChanged(e)

Raises the event.

Parameter
Type
Description

hashtag
OnRunWorkerCompleted(e)

Raises the event.

Parameter
Type
Description

ControlEventArgs

Wisej.Web.ControlEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the ControlAdded and ControlRemoved events.

public class ControlEventArgs : EventArgs
Public Class ControlEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
ControlEventArgs(control)

Initializes a new instance of the class for the specified control.

Name
Type
Description

hashtag
Properties

hashtag
Control

: Returns the control object used by this event.

hashtag
Used By

Name
Description

ResponsiveProfileChangedEventArgs

Wisej.Web.ResponsiveProfileChangedEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the ResponsiveProfileChanged event.

public class ResponsiveProfileChangedEventArgs : EventArgs
Public Class ResponsiveProfileChangedEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
ResponsiveProfileChangedEventArgs(oldValue, newValue)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
CurrentProfile

: The new active profile.

hashtag
PreviousProfile

: The previously active profile.

hashtag
Used By

Name
Description

LicenseErrorEventArgs

Wisej.Web.LicenseErrorEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the LicenseError event.

public class LicenseErrorEventArgs : EventArgs
Public Class LicenseErrorEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
LicenseErrorEventArgs(error)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
Error

: Indicates the type of license error that has occurred.

hashtag
Used By

Name
Description

ControlEventHandler

Wisej.Web.ControlEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the ControlAdded and ControlRemoved events of the Control class.

public delegate void ControlEventHandler(Object sender, 
Public Delegate Sub ControlEventHandler(ByVal sender As [Object], ByVal e As ControlEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

KeyEventHandler

Wisej.Web.KeyEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the KeyUp or KeyDown event of a Control.

public delegate void KeyEventHandler(Object sender, 
Public Delegate Sub KeyEventHandler(ByVal sender As [Object], ByVal e As KeyEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

DragEventHandler

Wisej.Web.DragEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the DragDrop, DragEnter, or DragOver event of a Control.

public delegate void DragEventHandler(Object sender, 
Public Delegate Sub DragEventHandler(ByVal sender As [Object], ByVal e As DragEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

HelpEventArgs

Wisej.Web.HelpEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the HelpRequested event.

public class HelpEventArgs : EventArgs
Public Class HelpEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
HelpEventArgs(target)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
Handled

: Returns or sets a value indicating whether the help event was handled.

hashtag
Target

: Returns the that had the focus when the user pressed F1.

hashtag
Used By

Name
Description

KeyPressEventArgs

Wisej.Web.KeyPressEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the KeyPress event.

public class KeyPressEventArgs : EventArgs
Public Class KeyPressEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
KeyPressEventArgs(keyChar)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
Handled

: Returns or sets whether the event was handled.

hashtag
KeyChar

: Returns or sets the character corresponding to the key pressed.

hashtag
Used By

Name
Description

JavaScript.ClientEvent

Wisej.Web.JavaScript ClientEvent

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represent a JavaScript event and the corresponding code to execute on the client when the event is fired.

public class ClientEvent
Public Class ClientEvent

hashtag
Constructors

hashtag
ClientEvent()

Initializes a new instance of .

hashtag
Properties

hashtag
Event

: 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)

hashtag
JavaScript

: Returns or sets the JavaScript handler for the event. (Default: "")

PinchEventArgs

Wisej.Web.PinchEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for Pinch event.

public class PinchEventArgs : EventArgs
Public Class PinchEventArgs
    Inherits EventArgs

hashtag
Properties

hashtag
Scale

: Returns the calculated scale factor.

hashtag
Used By

Name
Description

PinchEventHandler

Wisej.Web.PinchEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the Pinch event.

public delegate void PinchEventHandler(Object sender, 
Public Delegate Sub PinchEventHandler(ByVal sender As [Object], ByVal e As PinchEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

HelpEventHandler

Wisej.Web.HelpEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the HelpRequested event of a Control.

public delegate void HelpEventHandler(Object sender, 
Public Delegate Sub HelpEventHandler(ByVal sender As [Object], ByVal hlpevent As HelpEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

RotateEventHandler

Wisej.Web.RotateEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the Rotate event.

public delegate void RotateEventHandler(Object sender, 
Public Delegate Sub RotateEventHandler(ByVal sender As [Object], ByVal e As RotateEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

QueryContinueDragEventHandler

Wisej.Web.QueryContinueDragEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the QueryContinueDrag event of a Control.

public delegate void QueryContinueDragEventHandler(Object sender, 
Public Delegate Sub QueryContinueDragEventHandler(ByVal sender As [Object], ByVal e As QueryContinueDragEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

ResponsiveProfileChangedEventHandler

Wisej.Web.ResponsiveProfileChangedEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the Application.ResponsiveProfileChanged event.

public delegate void ResponsiveProfileChangedEventHandler(Object sender, 
Public Delegate Sub ResponsiveProfileChangedEventHandler(ByVal sender As [Object], ByVal e As ResponsiveProfileChangedEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

PreviewKeyDownEventHandler

Wisej.Web.PreviewKeyDownEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the PreviewKeyDown event.

public delegate void PreviewKeyDownEventHandler(Object sender, 
Public Delegate Sub PreviewKeyDownEventHandler(ByVal sender As [Object], ByVal e As PreviewKeyDownEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

PaintEventHandler

Wisej.Web.PaintEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the Paint event of a Control.

public delegate void PaintEventHandler(Object sender, 
Public Delegate Sub PaintEventHandler(ByVal sender As [Object], ByVal e As PaintEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

TrackEventHandler

Wisej.Web.TrackEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the Track event.

public delegate void TrackEventHandler(Object sender, 
Public Delegate Sub TrackEventHandler(ByVal sender As [Object], ByVal e As TrackEventArgs)

hashtag
Parameters

Name
Type
Description

hashtag
Fired By

Name
Description

WebEventHandler

Wisej.Web.WebEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents a method that handles the ControlUpdated and ControlRendered events. Since 4.0.0

public delegate void WebEventHandler(Object sender, 
Public Delegate Sub WebEventHandler(ByVal sender As [Object], ByVal e As WebEventArgs)

hashtag
Parameters

Name
Type
Description

PaintEventArgs

Wisej.Web.PaintEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the event.

FocusEventArgs

Wisej.Web.FocusEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the and events.Since 3.5.18

hashtag

TouchEventHandler

Wisej.Web.TouchEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the , , , events.

SwipeEventArgs

Wisej.Web.SwipeEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for event.

MouseEventHandler

Wisej.Web.MouseEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.

SwipeAxis

Wisej.Web.SwipeAxis

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Indicates the axis of the swipe gesture.

hashtag

RotateEventArgs

Wisej.Web.RotateEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for event.

SwipeEventHandler

Wisej.Web.SwipeEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the event.

FocusEventHandler

Wisej.Web.FocusEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that handles these events: and .Since 3.5.18

This delegate is not used in Wisej.NET. The and events are to preserve compatibility with existing code. Developers handling these events can simply check whether the parameter e is of type and retrieve the value by casting the event data argument.

SwipeDirection

Wisej.Web.SwipeDirection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Indicates the direction of the swipe gesture.

hashtag

WebEventArgs

Wisej.Web.WebEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the and events.

hashtag

RequestEventHandler

Wisej.Web.RequestEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represent a method that handles the , and events. Since 3.5.5

hashtag

WidgetEventHandler

Wisej.Web.WidgetEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that handles the event.

FileDialogRootCollection

Wisej.Web.FileDialogRootCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represent a collection of the root file systems shown by the implementation.

Screen

Wisej.Web.Screen

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the display on the client device.

hashtag

FileDialogLoadPathEventHandler

Wisej.Web.FileDialogLoadPathEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the event.

MenuButtonItemClickedEventHandler

Wisej.Web.MenuButtonItemClickedEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the method that will handle the event of a control.

KeyEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

KeyEventArgs

A KeyEventArgs that contains the event data.

Control.KeyDown

Fired when a key is pressed while the control has focus.

Control.KeyUp

Fired when a key is released while the control has focus.

PinchEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

PinchEventArgs

A PinchEventArgs that contains the event data.

Control.Pinch

Fired when two finger moved towards or away from each other. It contains the scaling factor of the pinch.

HelpEventArgs
hlpevent
)

sender

Objectarrow-up-right

The source of the event.

hlpevent

HelpEventArgs

A HelpEventArgs object that contains the event data.

Control.HelpRequested

Fired when the user requests help for a control by pressing F1.

RotateEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

RotateEventArgs

A RotateEventArgs that contains the event data.

Control.Rotate

Fired when two finger moved around a single point. It contains the angle of the rotation.

QueryContinueDragEventArgs
e
)

sender

Objectarrow-up-right

The source of an event.

e

QueryContinueDragEventArgs

A QueryContinueDragEventArgs that contains the event data.

Control.QueryContinueDrag

Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.

ResponsiveProfileChangedEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

ResponsiveProfileChangedEventArgs

A ResponsiveProfileChangedEventArgs that contains the event data.

Control.ResponsiveProfileChanged

Fired when the active responsive profile is changed.

Application.ResponsiveProfileChanged

Fired when the active responsive profile is changed.

PreviewKeyDownEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

PreviewKeyDownEventArgs

A PreviewKeyDownEventArgs that contains the event data.

Control.PreviewKeyDown

Fired before the KeyDown event when a key is pressed while focus is on this control.

PaintEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

PaintEventArgs

A PaintEventArgs that contains the event data.

Control.Paint

Fired when a UserPaint control needs to redraw itself.

TrackEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

TrackEventArgs

A TrackEventArgs that contains the event data.

Control.Track

Fired when a pointer grabs an item and moves the pointer on it.

WebEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

WebEventArgs

A WebEventArgs that contains the event data.

Objectarrow-up-right
LoadConfigurationEventArgs
Configuration.LoadConfiguration
Objectarrow-up-right
HashChangedEventArgs
HashChangedEventArgs
Application.HashChanged
Objectarrow-up-right
LicenseErrorEventArgs
LicenseErrorEventArgs
Application.LicenseError
Objectarrow-up-right
ResponsiveProfileChangedEventArgs
ResponsiveProfileChangedEventArgs
Control.ResponsiveProfileChanged
Application.ResponsiveProfileChanged

The application session is being loaded for the first time. See also ApplicationStart.

Reload

The application session is being reloaded. See also ApplicationRefresh.

Service

Service (or postback) request to the be processed by a IWisejHandler implementation.

RequestEventArgs.Type
RequestType
Objectarrow-up-right
LayoutEventArgs
LayoutEventArgs
Control.Layout
Objectarrow-up-right
KeyPressEventArgs
KeyPressEventArgs
Control.KeyPress
ClientPlatform.Provider

Default

ClientProfile

Returns the default ClientProfile singleton.

Stringarrow-up-right
Nullable<Boolean>arrow-up-right
Int32arrow-up-right
Int32arrow-up-right
Int32arrow-up-right
Int32arrow-up-right
Stringarrow-up-right
Stringarrow-up-right

LoadConfigurationEventHandler

Represents a method that handles the LoadConfiguration event.

Stringarrow-up-right
LoadConfiguration
Booleanarrow-up-right
Configuration
LoadConfiguration
FilePath
Uriarrow-up-right
Uri

value

Stringarrow-up-right

Initial hash value.

HashChangedEventHandler

Represents the method that will handle the HashChanged event.

HashChangedEventArgs
Stringarrow-up-right

e

DoWorkEventArgsarrow-up-right

Event data.

e

ProgressChangedEventArgsarrow-up-right

Event data.

e

RunWorkerCompletedEventArgsarrow-up-right

Event data.

BackgroundWorker
DoWorkarrow-up-right
ProgressChangedarrow-up-right
RunWorkerCompletedarrow-up-right

control

Control

The Control to store in this event.

ControlEventHandler

Represents the method that will handle the ControlAdded and ControlRemoved events of the Control class.

ControlEventArgs
Control

oldValue

ClientProfile

Previous ClientProfile.

newValue

ClientProfile

New active ClientProfile.

ResponsiveProfileChangedEventHandler

Represents the method that will handle the Application.ResponsiveProfileChanged event.

ResponsiveProfileChangedEventArgs
ClientProfile
ClientProfile

error

Stringarrow-up-right

License error.

LicenseErrorEventHandler

Represents the method that will handle the LicenseError event.

LicenseErrorEventArgs
Stringarrow-up-right

target

Control

The Control that had the focus when the user pressed F1.

HelpEventHandler

Represents the method that will handle the HelpRequested event of a Control.

HelpEventArgs
Booleanarrow-up-right
Control
Control

keyChar

Chararrow-up-right

The ASCII character corresponding to the key the user pressed.

KeyPressEventHandler

Represents the method that will handle the KeyPress event of a Control.

KeyPressEventArgs
Booleanarrow-up-right
KeyPress
Chararrow-up-right
ClientEvent
Stringarrow-up-right
Stringarrow-up-right

PinchEventHandler

Represents the method that will handle the Pinch event.

Doublearrow-up-right
RequestType
RequestEventHandler
BeginRequest
EndRequest
ControlEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

ControlEventArgs

A ControlEventArgs that contains the event data.

Control.ControlAdded

Fired when a new control is added to the ControlCollection.

Control.ControlRemoved

Fired when a control is removed from the ControlCollection.

Form.MdiChildAdded

Fired when a multiple-document interface (MDI) child form is added to the mdi parent.

Form.MdiChildRemoved

Fired when a multiple-document interface (MDI) child form is removed from the mdi parent.

Containers

Fired when a drag-and-drop operation is completed.

Fired when an object is dragged over the control's bounds.

DragEventArgs
e
)

sender

Objectarrow-up-right

The source of the event.

e

DragEventArgs

A DragEventArgs that contains the event data.

Control.DragDrop

Fired when a drag-and-drop operation is completed.

Control.DragEnter

Fired when an object is dragged into the control's bounds.

Control.DragOver

Fired when an object is dragged over the control's bounds.

IDropTarget.DragEnter

Fired when an object is dragged into the control's bounds.

hashtag
Constructors

hashtag
PaintEventArgs(graphics, clipRect)

Initializes a new instance of the PaintEventArgs class with the specified graphics and clipping rectangle.

Name
Type
Description

graphics

The used to paint the item.

clipRect

The that represents the rectangle in which to paint.

hashtag
Properties

hashtag
ClipRectangle

Rectanglearrow-up-right: Returns the rectangle in which to paint.

hashtag
Graphics

Graphicsarrow-up-right: Returns the graphics used to paint.

hashtag
Used By

Name
Description

Represents the method that will handle the event of a .

Public Class PaintEventArgs
    Inherits EventArgs
Paint
public class PaintEventArgs : EventArgs
Constructors

hashtag
FocusEventArgs(oldFocus, newFocus)

Initializes a new instance of FocusEventArgs.

Name
Type
Description

oldFocus

Control that lost the focus.

newFocus

Control that received the focus.

hashtag
Properties

hashtag
NewFocus

Control: Returns the controls that received the focus.

hashtag
OldFocus

Control: Returns the controls that lost the focus.

hashtag
Used By

Name
Description

Represents the method that handles these events: and . Since 3.5.18

Public Class FocusEventArgs
    Inherits EventArgs
GotFocus
LostFocus
public class FocusEventArgs : EventArgs
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

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).

Public Delegate Sub TouchEventHandler(ByVal sender As [Object], ByVal e As TouchEventArgs)
TouchStart
TouchEnd
TouchMove
TouchCancel
public delegate void TouchEventHandler(Object sender, TouchEventArgs e)
hashtag
Properties

hashtag
Axis

SwipeAxis: Returns whether the performed swipe was on the x or y axis.

hashtag
Direction

SwipeDirection: Returns the direction of the performed swipe in reference to the axis: X = Up / Down Y = Left / Right

hashtag
Distance

Int32arrow-up-right: Returns the distance of the performed swipe.

hashtag
Duration

Int32arrow-up-right: Returns the duration the performed swipe took.

hashtag
StartTime

Int64arrow-up-right: Returns the start time of the performed swipe.

hashtag
Velocity

Doublearrow-up-right: Returns the velocity of the performed swipe.

hashtag
Used By

Name
Description

Represents the method that will handle the event.

Public Class SwipeEventArgs
    Inherits EventArgs
Swipe
public class SwipeEventArgs : EventArgs
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

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.

Public Delegate Sub MouseEventHandler(ByVal sender As [Object], ByVal e As MouseEventArgs)
public delegate void MouseEventHandler(Object sender, MouseEventArgs e)
Fields
Name
Description

X

X-axis.

Y

Y-axis

hashtag
Used By

Name
Description

Returns whether the performed swipe was on the x or y axis.

Returns the Axis of the track event.

Public Enum SwipeAxis As [Enum]
public enum SwipeAxis : Enum
hashtag
Properties

hashtag
Angle

Doublearrow-up-right: Returns a number with the current calculated angle between the primary and secondary active pointers.

hashtag
Used By

Name
Description

Represents the method that will handle the event.

Public Class RotateEventArgs
    Inherits EventArgs
Rotate
public class RotateEventArgs : EventArgs
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

Fired when a pointer swipes over the screen.

Public Delegate Sub SwipeEventHandler(ByVal sender As [Object], ByVal e As SwipeEventArgs)
Swipe
public delegate void SwipeEventHandler(Object sender, SwipeEventArgs e)

hashtag
Parameters

Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Public Delegate Sub FocusEventHandler(ByVal sender As [Object], ByVal e As FocusEventArgs)
GotFocus
LostFocus
GotFocus
LostFocus
EventHandlerarrow-up-right
FocusEventArgs
public delegate void FocusEventHandler(Object sender, FocusEventArgs e)
Fields
Name
Description

Down

Direction down.

Left

Direction left.

Right

Direction right.

Up

hashtag
Used By

Name
Description

Returns the direction of the performed swipe in reference to the axis: X = Up / Down Y = Left / Right

Public Enum SwipeDirection As [Enum]
public enum SwipeDirection : Enum
Properties

hashtag
Config

Objectarrow-up-right: Returns the dynamic data object either received from the browser for the ControlUpdated event or being sent to the browser for the ControlRendered event.

hashtag
Used By

Name
Description

Represents a method that handles the and events. Since 4.0.0

Public Class WebEventArgs
    Inherits EventArgs
ControlUpdated
ControlRendered
public class WebEventArgs : EventArgs
Parameters
Name
Type
Description

sender

application context.

e

A instance with the data for the event handlers.

hashtag
Fired By

Name
Description

Fired at the beginning of every request.

Fired at the end of every request.

Public Delegate Sub RequestEventHandler(ByVal sender As [Object], ByVal e As RequestEventArgs)
BeginRequest
EndRequest
public delegate void RequestEventHandler(Object sender, RequestEventArgs e)
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

Fired when the control receives a custom event from the client.

Public Delegate Sub WidgetEventHandler(ByVal sender As [Object], ByVal e As WidgetEventArgs)
WidgetEvent
public delegate void WidgetEventHandler(Object sender, WidgetEventArgs e)
hashtag
Methods

hashtag
MapPath(filePath)

Maps the virtual path to the corresponding physical path on the specific IFileSystemProvider implementation.

Parameter
Type
Description

filePath

Virtual path to map to the corresponding physical path.

Returns: Stringarrow-up-right. The physical path for the IFileSystemProvider implementation.

Public Class FileDialogRootCollection
    Inherits List(Of )
IFileSystemProvider
FileDialog
public class FileDialogRootCollection : List<>
Properties

hashtag
Bounds

Rectanglearrow-up-right: Returns the size of the display of the client device, regardless of the orientation.

hashtag
DeviceName

Stringarrow-up-right: Returns the device name associated with a display.

hashtag
WorkingArea

Rectanglearrow-up-right: 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.

Public Class Screen
public class Screen
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

Fired when the file dialog is loading a file or folder.

Fired when the file dialog is loading a file or folder.

Public Delegate Sub FileDialogLoadPathEventHandler(ByVal sender As [Object], ByVal e As FileDialogLoadPathEventArgs)
LoadPath
public delegate void FileDialogLoadPathEventHandler(Object sender, FileDialogLoadPathEventArgs e)
hashtag
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

hashtag
Fired By

Name
Description

Fired when the user clicks one of the drop down menu items.

Public Delegate Sub MenuButtonItemClickedEventHandler(ByVal sender As [Object], ByVal e As MenuButtonItemClickedEventArgs)
ItemClicked
Button
public delegate void MenuButtonItemClickedEventHandler(Object sender, MenuButtonItemClickedEventArgs e)

LayoutEventArgs

Wisej.Web.LayoutEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the Layout event.

public class LayoutEventArgs : EventArgs
Public Class LayoutEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
LayoutEventArgs(affectedComponent, affectedProperty)

Initializes a new instance of the class with the specified control and property affected.

Name
Type
Description

hashtag
LayoutEventArgs(affectedControl, affectedProperty)

Initializes a new instance of the class with the specified control and property affected.

Name
Type
Description

hashtag
Properties

hashtag
AffectedComponent

: Returns the affected by the layout change.

hashtag
AffectedControl

: Returns the child control affected by the change.

hashtag
AffectedProperty

: Returns the property affected by the change.

hashtag
Used By

Name
Description

WidgetEventArgs

Wisej.Web.WidgetEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the WidgetEvent event.

public class WidgetEventArgs : EventArgs
Public Class WidgetEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
WidgetEventArgs(type, data)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
Data

: Returns the data object that was sent by the widget with the event.

hashtag
Type

: Returns the type (name) of the event fired by the widget.

hashtag
Used By

Name
Description

QueryContinueDragEventArgs

Wisej.Web.QueryContinueDragEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the QueryContinueDrag event.

public class QueryContinueDragEventArgs : EventArgs
Public Class QueryContinueDragEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
QueryContinueDragEventArgs(args)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
Action

: Returns or sets the status of a drag-and-drop operation.

hashtag
EscapePressed

: Returns if the user pressed the ESC key.

hashtag
KeyState

: Returns the current state of the SHIFT, CTRL, and ALT keys.

hashtag
Modifiers

: Returns a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.

hashtag
Used By

Name
Description

ResponsiveProfileChangedEventArgs

Wisej.Web.ResponsiveProfileChangedEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the ResponsiveProfileChanged event.

public class ResponsiveProfileChangedEventArgs : EventArgs
Public Class ResponsiveProfileChangedEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
ResponsiveProfileChangedEventArgs(oldValue, newValue)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
CurrentProfile

: The new active profile.

hashtag
PreviousProfile

: The previously active profile.

hashtag
Used By

Name
Description

SessionReference<T>

Wisej.Web.SessionReference<T>

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Keeps a WeakReferencearrow-up-right to an singleton instance of T stored in the current Application. Since 3.2.7

public class SessionReference<T>
Public Class SessionReference(Of T)

Use GetInstance to retrieve the session-singleton instance of your object of type T .

hashtag
Parameters

Name
Description

hashtag
Constructors

hashtag
SessionReference()

Initializes a new instance of .

hashtag
Properties

hashtag
Id

: Id of the session holding the .

hashtag
Instance

: Singleton instance of T .

MenuButtonItemClickedEventArgs

Wisej.Web.MenuButtonItemClickedEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the ItemClicked event.

public class MenuButtonItemClickedEventArgs : EventArgs
Public Class MenuButtonItemClickedEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
MenuButtonItemClickedEventArgs(item)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
Item

: Returns the clicked menu item.

hashtag
Used By

Name
Description

TouchEventArgs

Wisej.Web.TouchEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for Swipe event.

public class TouchEventArgs : EventArgs
Public Class TouchEventArgs
    Inherits EventArgs

hashtag
Properties

hashtag
Identifiers

: Returns the unique identifiers for the touch items.

hashtag
IsMultiTouch

: Returns whether more than one touch is associated with the event target element.

hashtag
Locations

: Returns the location of the touch items in screen coordinates.

hashtag
Rotation

: Returns the delta of the rotation since the start of the event, in degrees.

hashtag
Scale

: Returns the distance between two fingers since the start of the event.

hashtag
Used By

Name
Description

TrackEventArgs

Wisej.Web.TrackEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for Track event.

public class TrackEventArgs : EventArgs
Public Class TrackEventArgs
    Inherits EventArgs

hashtag
Properties

hashtag
Axis

: Returns the Axis of the track event.

hashtag
Location

: Returns the X, Y delta for the track event.

hashtag
X

: Returns the X delta of the track event.

hashtag
Y

: Returns Y delta of the track event.

hashtag
Used By

Name
Description

ColorDialog

Wisej.Web.ColorDialog

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • CommonDialog

Represents a common dialog box that displays available colors along with controls that enable the user to define custom colors.

hashtag
Constructors

hashtag
ColorDialog()

Initializes a new instance of .

hashtag
ColorDialog(container)

Initializes a new instance of the extender with a specified container.

Name
Type
Description

hashtag
Properties

hashtag
Color

: Returns or sets the color selected by the user. (Default: Color [Empty])

hashtag
CustomColors

: Returns or sets the set of custom colors shown in the dialog box. (Default: null)

hashtag
Methods

hashtag
CreateUI()

Returns: .

hashtag
Reset()

Resets all properties to their default values.

PreviewKeyDownEventArgs

Wisej.Web.PreviewKeyDownEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the event.

IDropTarget.DragDrop
IDropTarget.DragOver

Fired when a touch point is moved along the touch surface.

Objectarrow-up-right
TouchEventArgs
TouchEventArgs
Control.TouchStart
Control.TouchEnd
Control.TouchCancel
Control.TouchMove

Fired when the mouse pointer is over the control and a mouse button is pressed.

Control.MouseMove

Fired when the mouse pointer is moved over the control.

Control.MouseUp

Fired when the mouse pointer is over the control and a mouse button is released.

Control.MouseWheel

Fired when the mouse wheel moves while the control has focus.

Objectarrow-up-right
MouseEventArgs
MouseEventArgs
CheckedListBox.MouseClick
CheckedListBox
Control.MouseClick
Control.MouseDoubleClick
Control.MouseDown
SwipeEventArgs.Axis
TrackEventArgs.Axis
Objectarrow-up-right
SwipeEventArgs
SwipeEventArgs
Control.Swipe
Objectarrow-up-right
FocusEventArgs
FocusEventArgs

Direction up.

SwipeEventArgs.Direction
Objectarrow-up-right
Current
RequestEventArgs
RequestEventArgs
Application.BeginRequest
Application.EndRequest
Objectarrow-up-right
WidgetEventArgs
WidgetEventArgs
Control.WidgetEvent
Objectarrow-up-right
FileDialogLoadPathEventArgs
FileDialogLoadPathEventArgs
FileDialog.LoadPath
FolderBrowserDialog.LoadPath
Objectarrow-up-right
MenuButtonItemClickedEventArgs
MenuButtonItemClickedEventArgs
Button.ItemClicked

affectedComponent

IComponentarrow-up-right

affectedProperty

Stringarrow-up-right

The property affected by the layout change.

affectedControl

Control

The Control affected by the layout change.

affectedProperty

Stringarrow-up-right

The property affected by the layout change.

LayoutEventHandler

Represents the method that will handle the Layout event of a Control.

LayoutEventArgs
LayoutEventArgs
IComponentarrow-up-right
IComponentarrow-up-right
Control
Stringarrow-up-right

type

Stringarrow-up-right

The type (name) of event.

data

Objectarrow-up-right

The data object received with the event.

WidgetEventHandler

Represents the method that handles the WidgetEvent event.

WidgetEventArgs
Objectarrow-up-right
Stringarrow-up-right

args

WisejEventArgs

The arguments received from the client.

QueryContinueDragEventHandler

Represents the method that will handle the QueryContinueDrag event of a Control.

QueryContinueDragEventArgs
DragAction
Booleanarrow-up-right
Int32arrow-up-right
Keys

oldValue

ClientProfile

Previous ClientProfile.

newValue

ClientProfile

New active ClientProfile.

ResponsiveProfileChangedEventHandler

Represents the method that will handle the Application.ResponsiveProfileChanged event.

ResponsiveProfileChangedEventArgs
ClientProfile
ClientProfile

T

Type of the session-singleton object.

SessionReferencearrow-up-right
Stringarrow-up-right
SessionReferencearrow-up-right
WeakReference<T>arrow-up-right

item

MenuItem

The MenuItem that was clicked.

MenuButtonItemClickedEventHandler

Represents the method that will handle the ItemClicked event of a Button control.

MenuButtonItemClickedEventArgs
MenuItem

TouchEventHandler

Represents the method that will handle the TouchStart, TouchEnd, TouchMove, TouchCancel events.

Int64[]arrow-up-right
Booleanarrow-up-right
Point[]arrow-up-right
Doublearrow-up-right
Doublearrow-up-right

TrackEventHandler

Represents the method that will handle the Track event.

SwipeAxis
Pointarrow-up-right
Int32arrow-up-right
Int32arrow-up-right
Graphicsarrow-up-right
Graphicsarrow-up-right
Rectanglearrow-up-right
Rectanglearrow-up-right
PaintEventHandler
Paint
Control
Control
Control
FocusEventHandler
GotFocus
LostFocus
SwipeEventHandler
Swipe
RotateEventHandler
Rotate
WebEventHandler
ControlUpdated
ControlRendered
Stringarrow-up-right

container

IContainerarrow-up-right

An IContainerarrow-up-right that represents the container of the ColorDialog component.

Public Class ColorDialog
    Inherits CommonDialog
ColorDialog
ColorDialog
ColorDialog
Colorarrow-up-right
Color[]arrow-up-right
Form
public class ColorDialog : CommonDialog
hashtag
Constructors

hashtag
PreviewKeyDownEventArgs(keyData)

Initializes a new instance of the PreviewKeyDownEventArgs class with the specified key.

Name
Type
Description

keyData

One of the values.

hashtag
Properties

hashtag
Alt

Booleanarrow-up-right: Returns whether the ALT key was pressed.

hashtag
Control

Booleanarrow-up-right: Returns whether the CTRL key was pressed.

hashtag
IsInputKey

Booleanarrow-up-right: Returns whether a key is a regular input key.

hashtag
KeyCode

Keys: Returns the keyboard code.

hashtag
KeyData

Keys: Returns the key data.

hashtag
KeyValue

Int32arrow-up-right: Returns the keyboard value.

hashtag
Modifiers

Keys: Returns the modifier flags indicating which combination of CTRL, SHIFT, and ALT keys was pressed.

hashtag
Shift

Booleanarrow-up-right: Returns whether the SHIFT key was pressed.

hashtag
Used By

Name
Description

Represents the method that will handle the event.

Public Class PreviewKeyDownEventArgs
    Inherits EventArgs
PreviewKeyDown
public class PreviewKeyDownEventArgs : EventArgs

KeyEventArgs

Wisej.Web.KeyEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the KeyDown or KeyUp event.

public class KeyEventArgs : EventArgs
Public Class KeyEventArgs
    Inherits EventArgs

hashtag
Constructors

hashtag
KeyEventArgs(keyData)

Initializes a new instance of the class.

Name
Type
Description

hashtag
Properties

hashtag
Alt

: Returns whether the ALT key was pressed.

hashtag
Control

: Returns whether the CTRL key was pressed.

hashtag
Handled

: Returns or sets whether the event was handled.

hashtag
KeyCode

: Returns the keyboard code..

hashtag
KeyData

: Returns the key data.

hashtag
KeyValue

: Returns the keyboard value.

hashtag
Modifiers

: Returns the modifier flags indicating which combination of CTRL, SHIFT, and ALT keys was pressed.

hashtag
Shift

: Returns a value indicating whether the SHIFT key was pressed.

hashtag
Methods

hashtag
IsAltPressed()

Returns whether the Alt key is pressed.

Returns: .

hashtag
IsCtrlPressed()

Returns whether the Control key is pressed.

Returns: .

hashtag
IsShiftPressed()

Returns whether the Shift key is pressed.

Returns: .

hashtag
Used By

Name
Description

FileDialogLoadPathEventArgs

Wisej.Web.FileDialogLoadPathEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the LoadPath event.

public class FileDialogLoadPathEventArgs : CancelEventArgs
Public Class FileDialogLoadPathEventArgs
    Inherits CancelEventArgs

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.

hashtag
Constructors

hashtag
FileDialogLoadPathEventArgs(path, isDirectory)

Constructs a new instance of .

Name
Type
Description

hashtag
Properties

hashtag
CreationTime

: Sets the creation DateTime of the file.

hashtag
FileSize

: Sets the file size in bytes.

hashtag
ImageSource

: Sets the name or path of the icon to display next to the file.

hashtag
IsDirectory

: Returns true when the refers to a directory.

hashtag
LastWriteTime

: Sets the last modified DateTime of the file.

hashtag
Path

: Returns the full path of the file or folder being loaded.

hashtag
Used By

Name
Description

BindableComponent

Wisej.Web.BindableComponent

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

JavaScript.ClientEventCollection

Wisej.Web.JavaScript ClientEventCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents a collection of JavaScript events and their corresponding handler code.

MouseEventArgs

Wisej.Web.MouseEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the , , and events.

Cursor

Wisej.Web.Cursor

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents the mouse pointer.

hashtag

FolderBrowserDialogUI

Wisej.Web.FolderBrowserDialogUI

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

keyData

Keys

A Keys 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 Keys enumeration.

KeyEventHandler

Represents the method that will handle the KeyUp or KeyDown event of a Control.

KeyEventArgs
Booleanarrow-up-right
Booleanarrow-up-right
Booleanarrow-up-right
Keys
Keys
Int32arrow-up-right
Keys
Booleanarrow-up-right
Booleanarrow-up-right
Booleanarrow-up-right
Booleanarrow-up-right

path

Stringarrow-up-right

Path of the file or directory.

isDirectory

Booleanarrow-up-right

Indicates that the path is for a directory.

FileDialogLoadPathEventHandler

Represents the method that will handle the LoadPath event.

FileDialogLoadPathEventArgs
DateTimearrow-up-right
Int64arrow-up-right
Stringarrow-up-right
Booleanarrow-up-right
Path
DateTimearrow-up-right
Stringarrow-up-right
Keys
Keys
PreviewKeyDownEventHandler
PreviewKeyDown
Component
  • BindableComponent

Extends Component and enables the component to participated if data binding operations and have their own DataBindings.

public class BindableComponent : Component, IBindableComponent,
Public Class BindableComponent
    Inherits Component
    Implements IBindableComponent, IBindableComponent

hashtag
Constructors

hashtag
BindableComponent()

Initializes a new instance of BindableComponent.

hashtag
Properties

hashtag
BindingContext

BindingContext: Returns or sets the BindingContext for the component.

hashtag
DataBindings

ControlBindingsCollection: Returns the data bindings for the component.

hashtag
Methods

hashtag
OnBindingContextChanged(e)

Fires the BindingContextChanged event.

Parameter
Type
Description

e

An that contains the event data.

hashtag
OnParentBindingContextChanged(e)

Fires the BindingContextChanged event when the BindingContext property value of the component's container changes.

Parameter
Type
Description

e

An that contains the event data.

hashtag
Events

hashtag
BindingContextChanged

EventHandlerarrow-up-right Occurs when the value of the BindingContext property changes.

hashtag
Inherited By

Name
Description

Represents an individual menu item that is displayed within a or and always shows a checkbox next to the label.

Represents a context menu associated to a .

Represents an individual menu item that is displayed within a or rendered using the <a> link element to let the browser process the specified URL.

hashtag
Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

Bindable components implement this interface.

All wisej components implement this interface.

Component
hashtag
Constructors

hashtag
ClientEventCollection()

Initializes a new instance of ClientEventCollection.

hashtag
Properties

hashtag
Count

Int32arrow-up-right: Returns the number of items in the collection.

hashtag
Item(index)

ClientEvent: Returns the ClientEvent element at the specified index .

hashtag
Methods

hashtag
Add(item)

Adds the ClientEvent instance to the collection.

Parameter
Type
Description

item

item to add to the collection.

hashtag
Clear()

Removes all the ClientEvent items from the collection.

hashtag
Contains(item)

Checks whether the specified item exists in the collection.

Parameter
Type
Description

item

items to find in the collection.

Returns: Booleanarrow-up-right. True of the collection contains the specified item .

hashtag
IndexOf(item)

Returns the position of the specified item in the collection.

Parameter
Type
Description

item

item to locate in the collection.

Returns: Int32arrow-up-right. The index of the specified item or -1 if not found.

hashtag
Insert(index, item)

Inserts the item into the collection at the specified index .

Parameter
Type
Description

index

Position where to insert the item .

item

item to insert into the collection.

hashtag
Remove(item)

Removes the item from the collection.

Parameter
Type
Description

item

instance to remove from the collection.

Returns: Booleanarrow-up-right. True of the specified item was found and removed from the collection.

hashtag
RemoveAt(index)

Removes the ClientEvent item at the location index .

Parameter
Type
Description

index

Position of the item to remove from the collection.

hashtag
Events

hashtag
CollectionChanged

CollectionChangeEventHandlerarrow-up-right Fired when the collection has changed.

Public Class ClientEventCollection
    Inherits IList
    Implements ICollection, IEnumerable, IList(Of ClientEvent), ICollection(Of ClientEvent), IEnumerable(Of ClientEvent)
public class ClientEventCollection : IList, ICollection, IEnumerable, IList<ClientEvent>, ICollection<ClientEvent>, IEnumerable<ClientEvent>
hashtag
Constructors

hashtag
MouseEventArgs(button, clicks, x, y, delta)

Initializes a new instance of the MouseEventArgs class.

Name
Type
Description

button

One of the values that indicate which mouse button was pressed.

clicks

The number of times a mouse button was pressed.

hashtag
MouseEventArgs(button, clicks, x, y, delta, role)

Initializes a new instance of the MouseEventArgs class.

Name
Type
Description

button

One of the values that indicate which mouse button was pressed.

clicks

The number of times a mouse button was pressed.

hashtag
Properties

hashtag
Button

MouseButtons: Returns which mouse button was pressed.

hashtag
Clicks

Int32arrow-up-right: Returns the number of clicks or taps.

hashtag
Delta

Int32arrow-up-right: Returns the number of times the mouse wheel has rotated.

hashtag
Location

Pointarrow-up-right: Returns the location of the mouse or pointer event.

hashtag
OriginalTarget

Control: Returns the original target Control when the pointer event has bubbled up because the original target was either not Enabled or Anonymous.

hashtag
Role

Stringarrow-up-right: 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.

hashtag
X

Int32arrow-up-right: Returns the x-coordinate of the mouse or touch event.

hashtag
Y

Int32arrow-up-right: Returns the y-coordinate of the mouse or touch event.

hashtag
Used By

Name
Description

Represents the method that will handle the MouseDown, MouseUp, or MouseMove event of a form, control, or other component.

Public Class MouseEventArgs
    Inherits EventArgs
MouseUp
MouseDown
MouseMove
public class MouseEventArgs : EventArgs
Constructors

hashtag
Cursor(image)

Creates a new cursor using an image source: can use a themed image or URL.

Name
Type
Description

image

hashtag
Cursor(source)

Creates a new cursor using the Imagearrow-up-right.

Name
Type
Description

source

hashtag
Cursor(stream)

Creates a new cursor using the Imagearrow-up-right.

Name
Type
Description

stream

hashtag
Cursor(image, x, y)

Creates a new cursor using the Imagearrow-up-right.

Name
Type
Description

image

x

x-coordinate of the hotspot location.

hashtag
Cursor(stream, x, y)

Creates a new cursor using an image source: can use a themed image or URL.

Name
Type
Description

stream

x

x-coordinate of the hotspot location.

hashtag
Cursor(source, x, y)

Creates a new cursor using an image source: can use a themed image or URL.

Name
Type
Description

source

The name of a theme image or a URL to an image resource.

x

x-coordinate of the hotspot location.

hashtag
Properties

hashtag
Name

Stringarrow-up-right: Returns the name of the cursor.

hashtag
Position

Pointarrow-up-right: Returns or sets the pointer's position.

Public Class Cursor
public class Cursor
ScrollableControl
  • ContainerControl

    • Form

      • FolderBrowserDialogUI

UI implementation for the FolderDialog class.

public class FolderBrowserDialogUI : Form
Public Class FolderBrowserDialogUI
    Inherits Form

hashtag
Constructors

hashtag
FolderBrowserDialogUI()

Initializes a new instance of FolderBrowserDialogUI.

hashtag
FolderBrowserDialogUI(folderDialog)

Initializes a new instance of FolderBrowserDialogUI.

Name
Type
Description

folderDialog

hashtag
Methods

hashtag
Dispose(disposing)

Clean up any resources being used.

Parameter
Type
Description

disposing

true if managed resources should be disposed; otherwise, false.

hashtag
GetDirectories(root, path)

Returns the directories in the specified path within the root file system.

Parameter
Type
Description

root

The that represents the root file system.

path

Full path containing the directories to enumerate.

Returns: String[]arrow-up-right. A string array with the path of the directories.

hashtag
OnLoad(e)

Parameter
Type
Description

e

hashtag
Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

Bindable components implement this interface.

Provides the functionality for a control to act as a parent for other controls.

Control

Cursors

Wisej.Web.Cursors

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Defines a collection of predefined Cursor objects.

public class Cursors
Public Class Cursors

hashtag
Properties

hashtag
Alias

: Returns the "shortcut" cursor.

hashtag
Arrow

: Returns the "arrow" cursor.

hashtag
Cell

: Returns "cell" cursor.

hashtag
Copy

: Returns the clipboard "copy" cursor.

hashtag
Cross

: Returns the "crosshair" cursor.

hashtag
Default

: Returns the "default" cursor, which is usually an arrow cursor.

hashtag
Grab

: Returns the "grab" cursor.

hashtag
Hand

: Returns the "hand" cursor, typically used when hovering over a Web link.

hashtag
Help

: Returns the "help" cursor, which is a combination of an arrow and a question mark.

hashtag
HSplit

: Returns the "row-resize" cursor that appears when the mouse is positioned over a horizontal splitter bar.

hashtag
IBeam

: Returns the "text" cursor, which is used to show where the text cursor appears when the mouse is clicked.

hashtag
Move

: Returns the "move" cursor, typically an cross shape.

hashtag
No

: Returns the "not-allowed" cursor that indicates that a particular region is invalid for the current operation.

hashtag
None

: Returns the "none" cursor.

hashtag
NotAllowed

: Returns the "not-allowed" cursor.

hashtag
SizeAll

: Returns the "move" sizing cursor, which consists of four joined arrows that point north, south, east, and west.

hashtag
SizeNE

: Returns the "ne-resize" diagonal (north/east) sizing cursor.

hashtag
SizeNESW

: Returns the "nesw-resize" diagonal (northeast/southwest) sizing cursor.

hashtag
SizeNS

: Returns the "n-resize" vertical (north/south) sizing cursor.

hashtag
SizeNW

: Returns the "nw-resize" diagonal (north/west) sizing cursor.

hashtag
SizeNWSE

: Returns the "nwse-resize" diagonal (northwest/southeast) sizing cursor.

hashtag
SizeSE

: Returns the "se-resize" diagonal (south/east) sizing cursor.

hashtag
SizeSW

: Returns the "sw-resize" diagonal (south/west) sizing cursor.

hashtag
SizeWE

: Returns the "w-resize" horizontal (west/east) sizing cursor.

hashtag
Text

: Returns the "text" cursor.

hashtag
VSplit

: Returns the "col-resize" cursor that appears when the mouse is positioned over a vertical splitter bar.

hashtag
WaitCursor

: Returns the "wait" cursor, typically an hourglass shape.

hashtag
ZoomIn

: Returns the "zoom-in" cursor.

hashtag
ZoomOut

: Returns the "zoom-out" cursor.

ClientBrowser

Wisej.Core.ClientBrowser

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.0.0.0)

Properties of the client browser currently interacting with the application.

hashtag

DragEventArgs

Wisej.Web.DragEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Provides data for the , , or event.

Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
Cursor
IBindableComponent

Represents the main menu in a Form.

Menu

Represents the base functionality for all menus.

MenuItem

Represents an individual item that is displayed within a MainMenu or ContextMenu.

StatusBarControl

Represents a panel in a StatusBar control that can host any Control.

StatusBarPanel

Represents a panel in a StatusBar control.

ToolBarButton

Represents an item in the ToolBar.

Allows an object to serialize itself.

EventArgsarrow-up-right
EventArgsarrow-up-right
EventArgsarrow-up-right
EventArgsarrow-up-right
CheckedMenuItem
MainMenu
ContextMenu
ContextMenu
Control
LinkMenuItem
MainMenu
ContextMenu
HRef
MainMenu
IUserData
IBindableComponent
IWisejComponent
IWisejSerializable
ClientEvent
ClientEvent
ClientEvent
ClientEvent
ClientEvent
ClientEvent
Int32arrow-up-right
ClientEvent
ClientEvent
ClientEvent
ClientEvent
Int32arrow-up-right

x

Int32arrow-up-right

The x-coordinate of a pointer click, in pixels.

y

Int32arrow-up-right

The y-coordinate of a pointer click, in pixels.

delta

Int32arrow-up-right

A signed count of the number of dents the wheel has rotated.

x

Int32arrow-up-right

The x-coordinate of a pointer click, in pixels.

y

Int32arrow-up-right

The y-coordinate of a pointer click, in pixels.

delta

Int32arrow-up-right

A signed count of the number of dents the wheel has rotated.

role

Stringarrow-up-right

The internal role assigned to the element that generated the pointer event.

MouseButtons
MouseButtons
Int32arrow-up-right
MouseButtons
MouseButtons
Int32arrow-up-right
MouseEventHandler

y

Int32arrow-up-right

y-coordinate of the hotspot location.

y

Int32arrow-up-right

y-coordinate of the hotspot location.

y

Int32arrow-up-right

y-coordinate of the hotspot location.

Imagearrow-up-right
Stringarrow-up-right
Streamarrow-up-right
Imagearrow-up-right
Int32arrow-up-right
Streamarrow-up-right
Int32arrow-up-right
Stringarrow-up-right
Int32arrow-up-right

Controls that support drag & drop operations implement this interface.

IWisejComponent

All wisej components implement this interface.

IWisejControl

All wisej controls derived from the Control class must implement this interface.

IWisejWindow

All wisej top-level windows implement this interface.

IWisejSerializable

Allows an object to serialize itself.

FolderBrowserDialog
Booleanarrow-up-right
IFileSystemProvider
IFileSystemProvider
Stringarrow-up-right
EventArgsarrow-up-right
IUserData
IBindableComponent
IContainerControl
IDropTarget
Fields
Name
Type
Description

CookieStorage

Returns an instance of the class that represents the "cookies" storage in the browser.

LocalStorage

Returns an instance of the class that represents the "localStorage" object in the browser.

hashtag
Properties

hashtag
CultureInfo

CultureInfoarrow-up-right: Returns the locale declared in the application configuration file or detected from the client browser.

hashtag
Device

Stringarrow-up-right: Device type. Can be one of "Mobile", "Tablet" or "Desktop".

hashtag
Features

Objectarrow-up-right: Returns the set of features supported/not-supported by the browser. Currently we detect: geolocation, webSocket, fullScreen, speechSynthesis, speechRecognition, notification, fullScreen, browserStorage.

hashtag
IPAddress

Stringarrow-up-right: IP Address of the client computer.

hashtag
IsDarkMode

Booleanarrow-up-right: Returns true if the browser is using dark mode.Since 3.0.10

hashtag
IsFullScreen

Booleanarrow-up-right: Returns true if the browser is in full screen mode.

hashtag
IsSecure

Booleanarrow-up-right: Returns true if the connection is secure.

hashtag
Language

Stringarrow-up-right: Client language.

hashtag
OS

Stringarrow-up-right: Client OS. Can be one of "iOS", "Android", "WebOS", "BlackBerry", "MacOS", "Linux", "Windows", "Unix", "Other".

hashtag
PixelRatio

Doublearrow-up-right: Returns the ratio of the resolution in physical pixels to the resolution in CSS pixels for the current display device.

hashtag
Profiles

ClientProfile[]:

hashtag
ScreenSize

Sizearrow-up-right: Screen size.

hashtag
SessionId

Stringarrow-up-right: Returns the session ID associated with this ClientBrowser.

hashtag
Size

Sizearrow-up-right: Browser size. This is the window size, which can be different from the device (or screen) size.

hashtag
TabId

Stringarrow-up-right: Identifies the browser tab associated with with this ClientBrowser instance.

hashtag
TimezoneId

Stringarrow-up-right: Returns the current IANA time zone name. See timezonearrow-up-right.Since 3.5.12

hashtag
TimezoneInfo

TimeZoneInfoarrow-up-right: Returns an instance of TimeZoneInfoarrow-up-right for the current TimezoneId. May be null when the IANA time zone id cannot be resolved on the server.Since 3.5.12

hashtag
TimezoneOffset

Int32arrow-up-right: Returns the time difference between UTC time and local time, in minutes.

hashtag
Type

Stringarrow-up-right: Browser type. Can be one of "IE", "Edge", "Chrome", "Opera", "Firefox", "Safari", "Other".

hashtag
UserAgent

Stringarrow-up-right: Returns the raw user agent string of the client browser.

hashtag
UserData

Objectarrow-up-right: 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.

hashtag
Version

Int32arrow-up-right: Browser version.

hashtag
Implements

Name
Description

Provides access to the UserData and Tag properties associated to the component implementing this interface.

Public Class ClientBrowser
    Inherits IUserData
public class ClientBrowser : IUserData
hashtag
Constructors

hashtag
DragEventArgs(allowedEffect, effect, data, location)

Initializes a new instance of the DragEventArgs class.

Name
Type
Description

allowedEffect

One of the values.

effect

One of the values.

hashtag
Properties

hashtag
AllowedEffect

DragDropEffects: Returns which drag-and-drop operations are allowed by the originator (or source) of the drag event.

hashtag
AllowedFileTypes

Stringarrow-up-right: 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 IANA Media Typesarrow-up-right for a complete list of standard media types.

hashtag
Data

IDataObject: Returns the IDataObject that contains the data associated with this event.

hashtag
DragSource

Control: Returns the component that started the drag operation by calling DoDragDrop.Since 2.5.32

hashtag
DropTarget

Objectarrow-up-right: Returns the original target of the drag operation.

hashtag
Effect

DragDropEffects: Returns or sets the target drop effect in a drag-and-drop operation.

hashtag
Files

HttpFileCollection: Returns the HttpFileCollection containing the files that have been dropped on the target, or null.

hashtag
Image

Imagearrow-up-right: Returns or sets the custom image displayed on the client to represent the drag action.

hashtag
ImageSize

Sizearrow-up-right: Returns or sets the size in pixels of the custom image displayed on the client to represent the drag action.

hashtag
ImageSource

Stringarrow-up-right: Returns or sets the custom image source displayed on the client to represent the drag action.

hashtag
KeyState

Int32arrow-up-right: Returns the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.

hashtag
Location

Pointarrow-up-right: Returns the location of the mouse or pointer event, in screen coordinates.

hashtag
Modifiers

Keys: Returns a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.

hashtag
X

Int32arrow-up-right: Returns the x-coordinate of the mouse or pointer, in screen coordinates.

hashtag
Y

Int32arrow-up-right: Returns the y-coordinate of the mouse or pointer, in screen coordinates.

hashtag
Used By

Name
Description

Represents the method that will handle the , , or event of a .

Public Class DragEventArgs
    Inherits EventArgs
DragDrop
DragEnter
DragOver
public class DragEventArgs : EventArgs

Component

Wisej.Web.Component

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • Component

Extends and enables the components to appear on the designer surface.

hashtag
Constructors

hashtag
Component()

Default constructor

hashtag
Properties

hashtag
DesignMode

: Returns a value that indicates whether the is currently in design mode.

hashtag
Events

: Returns the list of event handlers that are attached to this .

hashtag
Methods

hashtag
Dispose(disposing)

Disposes the component and removes it from the design container.

Parameter
Type
Description

hashtag
Update()

Updates the component on the client.

hashtag
Inherited By

Name
Description

hashtag
Implements

Name
Description

FolderBrowserDialog

Wisej.Web.FolderBrowserDialog

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • CommonDialog

Allows the user to select a folder from one of the .

hashtag
Constructors

hashtag
FolderBrowserDialog()

Initializes a new instance of .

hashtag
FolderBrowserDialog(roots)

Initializes a new instance of using the initial roots .

Name
Type
Description

hashtag
FolderBrowserDialog(container)

Initializes a new instance of the extender with a specified container.

Name
Type
Description

hashtag
Properties

hashtag
Description

: Returns or sets the description splayed above the tree view control in the dialog box. (Default: "")

hashtag
Roots

: List of root file systems displayed by the FolderBrowserDialog.

The Roots collection and the implementations allow the application to use arbitrary names mapped to a specific path. For example, the app may add a root object named "Documents" to "c:\users[logged-user-id]\files\documents". Each user will see "Documents" as the root, but will also see only the files in the [logged-user-id] directory. The deafult value is an empty

hashtag
SelectedPath

: Returns sets the path selected by the user. (Default: "")

hashtag
ShowHelp

: Returns or sets whether the Help button is displayed in the file dialog box. (Default: False)

hashtag
Title

: Returns or sets the file dialog box title. (Default: "")

hashtag
Methods

hashtag
CreateUI()

Returns: .

hashtag
GetRoot(path)

Returns the that contains the specified path .

Parameter
Type
Description

Returns: . The that contains the specified path or null if not found.

hashtag
MapPath(folderPath)

Maps the virtual path to the corresponding physical path on the specific implementation.

Parameter
Type
Description

Returns: . The physical path for the implementation.

hashtag
OnLoadPath(e)

Fires the event.

Parameter
Type
Description

hashtag
Reset()

Resets all properties to their default values.

hashtag
Events

hashtag
LoadPath

Fired when the file dialog is loading a file or folder.

SplitButton

Wisej.Web.SplitButton

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • Control

Represents a split button control.

hashtag
Constructors

hashtag
SplitButton()

Initializes a new instance of the class.

hashtag
SplitButton(text, onClick)

Initializes a new instance of the class with specific initial settings.

Name
Type
Description

hashtag
SplitButton(text, location, size, onClick)

Initializes a new instance of the class with specific initial settings.

Name
Type
Description

hashtag
SplitButton(text, ImageSource, location, size, onClick)

Initializes a new instance of the class with specific initial settings.

Name
Type
Description

hashtag
Properties

hashtag
Orientation

: Returns or sets a value indicating the layout of the . When the value is set to the down arrow is places below the text, otherwise it's to the right of the text. (Default: Horizontal)

hashtag
Methods

hashtag
OnWebRender(config)

Renders the client component.

Parameter
Type
Description

hashtag
Implements

Name
Description

FileDialogUI

Wisej.Web.FileDialogUI

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • Control

UI implementation for the FileDialog class.

hashtag
Constructors

hashtag
FileDialogUI()

Initializes a new instance of .

hashtag
FileDialogUI(fileDialog)

Initializes a new instance of .

Name
Type
Description

hashtag
Methods

hashtag
Dispose(disposing)

Clean up any resources being used.

Parameter
Type
Description

hashtag
GetDirectories(root, path)

Returns the directories in the specified path within the root file system.

Parameter
Type
Description

Returns: . A string array with the path of the directories.

hashtag
GetFileIcon(path)

Returns the a or a that corresponds to the icon of the file specified in path .

Parameter
Type
Description

Returns: . An or a representing the file's icon.

hashtag
GetFiles(root, path, pattern)

Returns the list of files in the path that match the pattern within the specified root file system.

Parameter
Type
Description

Returns: . A string array with the full path of the files that qualify the specified criteria.

hashtag
OnFormClosed(e)

Parameter
Type
Description

hashtag
OnLoad(e)

Parameter
Type
Description

hashtag
Implements

Name
Description

OpenFileDialog

Wisej.Web.OpenFileDialog

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

  • CommonDialog

Prompts the user to open a file from the server.

You can:

  • Override . It's called when the specified file doesn't exist and the property is true.

  • Override to create your custom when the method is called.

  • Set the to a class that has a constructor that accepts

You must add at least one to the collection before showing the dialog.

hashtag
Constructors

hashtag
OpenFileDialog()

Initializes a new instance of .

hashtag
OpenFileDialog(container)

Initializes a new instance of the extender with a specified container.

Name
Type
Description

hashtag
Properties

hashtag
CheckFileExists

: 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)

hashtag
Multiselect

: Returns or sets a value indicating whether the dialog box allows multiple files to be selected. (Default: False)

hashtag
SafeFileName

: Returns the file name and extension for the file selected in the dialog box. The file name does not include the path. (Default: "")

hashtag
SafeFileNames

: 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.

Default value is an empty array of strings- string[0]

hashtag
Methods

hashtag
OpenFile()

Opens the file selected by the user, with read-only permission. The file is specified by the property.

Returns: . A that specifies the read-only file selected by the user.

Throws:

  • is empty or null.

hashtag
Reset()

Resets all properties to their default values.


<script>
Wisej.userData = {
value1: 100,
someName: "test"
};
</script>


int value1 = Application.Browser.UserData.value1;
string value2 = Application.Browser.UserData.someName;

SessionStorage

SessionStorage

Returns an instance of the SessionStorage class that represents the "sessionStorage" object in the browser.

CookieStorage
CookieStorage
LocalStorage
LocalStorage
IUserData

data

Objectarrow-up-right

The data associated with this event.

location

Pointarrow-up-right

The Pointarrow-up-right that indicates the location of the drag event.

DragDropEffects
DragDropEffects
DragDropEffects
DragDropEffects
DragEventHandler
DragDrop
DragEnter
DragOver
Control

roots

IFileSystemProvider[]

Initial file systems to load in the FolderBrowserDialog.

container

IContainerarrow-up-right

An IContainerarrow-up-right that represents the container of the FolderBrowserDialog component.

path

Stringarrow-up-right

Full path of the file to locate in on of the Roots.

folderPath

Stringarrow-up-right

Virtual path to map to the corresponding physical path.

e

FileDialogLoadPathEventArgs

A FileDialogLoadPathEventArgs object that provides the event data.

Public Class FolderBrowserDialog
    Inherits CommonDialog
FolderBrowserDialog
Roots
FolderBrowserDialog
FolderBrowserDialog
FolderBrowserDialog
Stringarrow-up-right
FileDialogRootCollection
IFileSystemProvider
IFileSystemProvider
FileDialogRootCollection
Stringarrow-up-right
Booleanarrow-up-right
Stringarrow-up-right
Form
IFileSystemProvider
IFileSystemProvider
IFileSystemProvider
IFileSystemProvider
Stringarrow-up-right
IFileSystemProvider
LoadPath
FileDialogLoadPathEventHandler
public class FolderBrowserDialog : CommonDialog
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.

  • container

    IContainerarrow-up-right

    An IContainerarrow-up-right that represents the container of the OpenFileDialog component.

    Public Class OpenFileDialog
        Inherits FileDialog
    FileDialog
    OpenFileDialog
    PromptFileNotFound
    CheckFileExists
    CreateUI
    Form
    ShowDialog
    DialogTemplate
    Form
    FileDialog
    IFileSystemProvider
    Roots
    OpenFileDialog
    OpenFileDialog
    Booleanarrow-up-right
    Booleanarrow-up-right
    Stringarrow-up-right
    String[]arrow-up-right
    FileName
    Streamarrow-up-right
    Streamarrow-up-right
    ArgumentNullExceptionarrow-up-right
    FileName
    public class OpenFileDialog : FileDialog

    Represents a DateTime component in the 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 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 objects. This class cannot be inherited.

    Displays a standard column header in a control.

    Displays an image column header in a control.

    Represents an individual menu item that is displayed within a or and always shows a checkbox next to the label.

    Represents a context menu associated to a .

    Represents an individual menu item that is displayed within a or rendered using the <a> link element to let the browser process the specified URL.

    Represents the main menu in a .

    Represents the base functionality for all menus.

    Represents an individual item that is displayed within a or .

    Represents a panel in a control that can host any .

    Represents a panel in a control.

    Represents an item in the .

    disposing

    Booleanarrow-up-right

    true when this method is called by the application rather than a finalizer.

    BindableComponent

    Extends Component and enables the component to participated if data binding operations and have their own DataBindings.

    Timer

    Implements a timer that raises an event at user-defined intervals.

    DesktopTaskBarItem

    Represents a component in the Desktop control's taskbar.

    DesktopTaskBarItemControl

    IUserData

    Provides access to the UserData and Tag properties associated to the component implementing this interface.

    IWisejComponent

    All wisej components implement this interface.

    IWisejSerializable

    Allows an object to serialize itself.

    Public Class Component
        Inherits Component
        Implements IComponent
    Component
    Component
    Booleanarrow-up-right
    IComponentarrow-up-right
    EventHandlerListarrow-up-right
    Componentarrow-up-right
    public class Component : Component, IComponent

    Represents a component in the control's taskbar that can host any .

    Initial size.

    onClick

    Optional click handler.

    Initial location.

    size

    Initial size.

    onClick

    Optional click handler.

    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.

    All wisej controls derived from the class must implement this interface.

    Allows an object to serialize itself.

    text

    Stringarrow-up-right

    Initial text.

    onClick

    Action<Object, EventArgs>arrow-up-right

    Optional Click handler.

    text

    Stringarrow-up-right

    Initial text.

    location

    Pointarrow-up-right

    Initial location.

    text

    Stringarrow-up-right

    Initial text.

    ImageSource

    Stringarrow-up-right

    Image source.

    config

    Objectarrow-up-right

    Dynamic configuration object.

    IUserData

    Provides access to the UserData and Tag properties associated to the component implementing this interface.

    IBindableComponent

    Bindable components implement this interface.

    IButtonControl

    Allows a control to act like a button on a Form.

    ICommandSource

    Public Class SplitButton
        Inherits Button
    ButtonBase
    Button
    SplitButton
    SplitButton
    SplitButton
    SplitButton
    SplitButton
    Orientation
    SplitButton
    Vertical
    public class SplitButton : Button

    size

    location

    Defines an object that can invoke a .

    Wildcard pattern to qualify the files to return.

    All wisej components implement this interface.

    All wisej controls derived from the class must implement this interface.

    All wisej top-level windows implement this interface.

    Allows an object to serialize itself.

    fileDialog

    FileDialog

    disposing

    Booleanarrow-up-right

    true if managed resources should be disposed; otherwise, false.

    root

    IFileSystemProvider

    The IFileSystemProvider that represents the root file system.

    path

    Stringarrow-up-right

    Full path containing the directories to enumerate.

    path

    Stringarrow-up-right

    The path of the file for which to retrieve the icon.

    root

    IFileSystemProvider

    The IFileSystemProvider that contains the files.

    path

    Stringarrow-up-right

    Path where the files are located.

    e

    FormClosedEventArgs

    e

    EventArgsarrow-up-right

    IUserData

    Provides access to the UserData and Tag properties associated to the component implementing this interface.

    IBindableComponent

    Bindable components implement this interface.

    IContainerControl

    Provides the functionality for a control to act as a parent for other controls.

    IDropTarget

    Public Class FileDialogUI
        Inherits Form
    ScrollableControl
    ContainerControl
    Form
    FileDialogUI
    FileDialogUI
    FileDialogUI
    String[]arrow-up-right
    Imagearrow-up-right
    Stringarrow-up-right
    Objectarrow-up-right
    Imagearrow-up-right
    Stringarrow-up-right
    String[]arrow-up-right
    public class FileDialogUI : Form

    pattern

    Controls that support drag & drop operations implement this interface.

    Padding

    Wisej.Web.Padding

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    Represents padding or margin information associated with a user interface (UI) element.

    hashtag

    CommonDialog

    Wisej.Web.CommonDialog

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    Specifies the base class used for displaying dialog boxes on the screen.

    hashtag

    SaveFileDialog

    Wisej.Web.SaveFileDialog

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    Desktop
    Control
    DesktopTaskBarItemDateTime
    Desktop
    Animation
    ErrorProvider
    HelpTip
    JavaScript
    Rotation
    Control
    StyleSheet
    ToolTip
    ImageList
    Imagearrow-up-right
    ColumnHeader
    ListView
    ImageColumnHeader
    ListView
    CheckedMenuItem
    MainMenu
    ContextMenu
    ContextMenu
    Control
    LinkMenuItem
    MainMenu
    ContextMenu
    HRef
    MainMenu
    Form
    Menu
    MenuItem
    MainMenu
    ContextMenu
    StatusBarControl
    StatusBar
    Control
    StatusBarPanel
    StatusBar
    ToolBarButton
    ToolBar
    Sizearrow-up-right
    Action<Object, EventArgs>arrow-up-right
    Pointarrow-up-right
    Sizearrow-up-right
    Action<Object, EventArgs>arrow-up-right
    Command
    IDropTarget
    IImage
    IWisejComponent
    IWisejControl
    Control
    IWisejSerializable
    Stringarrow-up-right
    IWisejComponent
    IWisejControl
    Control
    IWisejWindow
    IWisejSerializable
    Constructors

    hashtag
    Padding(left, top, right, bottom)

    Initializes a new instance of the Padding class using a separate padding size for each edge.

    Name
    Type
    Description

    left

    The padding size, in pixels, for the left edge.

    top

    The padding size, in pixels, for the top edge.

    hashtag
    Padding(all)

    Initializes a new instance of the Padding class using the supplied padding size for all edges.

    Name
    Type
    Description

    all

    The number of pixels to be used for padding for all edges.

    hashtag
    Properties

    hashtag
    All

    Int32arrow-up-right: Returns or sets the padding value for all the edges.

    hashtag
    Bottom

    Int32arrow-up-right: Returns or sets the padding value for the bottom edge.

    hashtag
    Horizontal

    Int32arrow-up-right: Returns the combined padding for the right and left edges.

    hashtag
    IsEmpty

    Booleanarrow-up-right: Returns if the padding is empty.

    hashtag
    Left

    Int32arrow-up-right: Returns or sets the padding value for the left edge.

    hashtag
    Right

    Int32arrow-up-right: Returns or sets the padding value for the right edge.

    hashtag
    Size

    Sizearrow-up-right: Returns the padding information in the form of a Sizearrow-up-right.

    hashtag
    Top

    Int32arrow-up-right: Returns or sets the padding value for the top edge.

    hashtag
    Vertical

    Int32arrow-up-right: Returns the combined padding for the top and bottom edges.

    hashtag
    Methods

    hashtag
    Add(p1, p2)

    Computes the sum of the two specified Padding values.

    Parameter
    Type
    Description

    p1

    A .

    p2

    A .

    Returns: Padding. A Padding that contains the sum of the two specified Padding values.

    hashtag
    Subtract(p1, p2)

    Subtracts one specified Padding value from another.

    Parameter
    Type
    Description

    p1

    A .

    p2

    A .

    Returns: Padding. A Padding that contains the result of the subtraction of one specified Padding value from another.

    hashtag
    Used By

    Name
    Description

    Returns or sets padding within the control.

    Returns or sets the space between controls.

    Returns or sets the space between the edge of a and its content.

    Public Structure Padding
        Implements ValueType, IWisejSerializable
    public struct Padding : ValueType, IWisejSerializable
    Constructors

    hashtag
    CommonDialog()

    Initializes a new instance of CommonDialog.

    hashtag
    CommonDialog(container)

    Initializes a new instance of the CommonDialog extender with a specified container.

    Name
    Type
    Description

    container

    An that represents the container of the component.

    hashtag
    Properties

    hashtag
    DialogTemplate

    Typearrow-up-right: Returns or sets the type of the common dialog UI control to show when calling the ShowDialog method. (Default: null)

    hashtag
    Tag

    Objectarrow-up-right: Returns or sets an object that contains data about the control. (Default: null)

    hashtag
    Title

    Stringarrow-up-right: Returns or sets the dialog box title. (Default: "")

    hashtag
    WindowState

    FormWindowState: Returns or sets the initial WindowState of the common dialog. (Default: Normal)

    hashtag
    Methods

    hashtag
    CreateUI()

    Creates the UI for the CommonDialog.

    Returns: Form. An instance of Form.

    hashtag
    Dispose(disposing)

    Parameter
    Type
    Description

    disposing

    hashtag
    OnHelpRequested(e)

    Fires the HelpRequested event.

    Parameter
    Type
    Description

    e

    An that provides the event data.

    hashtag
    Reset()

    When overridden in a derived class, resets the properties of a common dialog box to their default values.

    hashtag
    ShowDialog()

    Runs a common dialog box with a default owner.

    Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.

    hashtag
    ShowDialog(onclose)

    Runs a common dialog box with a default owner.

    Parameter
    Type
    Description

    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.

    Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.

    hashtag
    ShowDialog(owner)

    Runs a common dialog box with the specified owner.

    Parameter
    Type
    Description

    owner

    A that represents the top-level window that owns the modal dialog box. It can be null.

    Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.

    hashtag
    ShowDialog(owner, onclose)

    Runs a common dialog box with the specified owner.

    Parameter
    Type
    Description

    owner

    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.

    Returns: DialogResult. OK if the user clicks OK in the dialog box; otherwise, Cancel.

    hashtag
    ShowDialogAsync(owner)

    Runs a common dialog box with the specified owner asynchronously.

    Parameter
    Type
    Description

    owner

    A that represents the top-level window that owns the modal dialog box. It can be null.

    Returns: Task<DialogResult>arrow-up-right. OK if the user clicks OK in the dialog box; otherwise, Cancel.

    hashtag
    Events

    hashtag
    HelpRequested

    EventHandlerarrow-up-right Fired when the user clicks the Help button on a common dialog box.

    hashtag
    Inherited By

    Name
    Description

    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.

    Allows the user to select a folder from one of the .

    Public Class CommonDialog
        Inherits Component
    public class CommonDialog : Component
    FileDialog
    • SaveFileDialog

    Prompts the user to select a location for saving a file on the server.

    public class SaveFileDialog : FileDialog
    Public Class SaveFileDialog
        Inherits FileDialog

    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 to create your custom when the method is called.

    • Set the to a class that has a constructor that accepts as the single argument to change the User Interface (UI) of the file dialog.

    • Override to provide your custom implementation of the actions to execute when the user presses the OK button.

    You must add at least one IFileSystemProvider to the Roots collection before showing the dialog.

    hashtag
    Constructors

    hashtag
    SaveFileDialog()

    Initializes a new instance of SaveFileDialog.

    hashtag
    SaveFileDialog(container)

    Initializes a new instance of the SaveFileDialog extender with a specified container.

    Name
    Type
    Description

    container

    An that represents the container of the component.

    hashtag
    Properties

    hashtag
    CreatePrompt

    Booleanarrow-up-right: 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)

    hashtag
    OverwritePrompt

    Booleanarrow-up-right: 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)

    hashtag
    Methods

    hashtag
    OpenFile()

    Opens the file with read/write permission selected by the user.

    Returns: Streamarrow-up-right. A Streamarrow-up-right that specifies the read/write file selected by the user.

    Throws:

    • ArgumentNullExceptionarrow-up-right FileName is empty or null.

    hashtag
    ProcessFileNames(fileNames)

    Receives the file names selected by the user and validates them according to the properties set in the FileDialog instance.

    Parameter
    Type
    Description

    fileNames

    Array containing the selected file paths.

    Returns: Booleanarrow-up-right. True if the files have been validated and the dialog can close; otherwise false to keep the dialog open.

    hashtag
    PromptFileCreate(fileName)

    Asks the user's permission to create the specified fileName .

    Parameter
    Type
    Description

    fileName

    File name to create.

    Returns: Booleanarrow-up-right. True if the user confirms to create the file.

    hashtag
    PromptFileOverwrite(fileName)

    Asks the user's permission to overwrite the specified fileName .

    Parameter
    Type
    Description

    fileName

    File name to overwrite.

    Returns: Booleanarrow-up-right. True if the user confirms to overwrite the file.

    hashtag
    Reset()

    Resets all dialog box options to their default values.

    CommonDialog

    Control.ControlCollection

    Wisej.Web.Control ControlCollection

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    Represents a collection of objects.

    right

    Int32arrow-up-right

    The padding size, in pixels, for the right edge.

    bottom

    Int32arrow-up-right

    The padding size, in pixels, for the bottom edge.

    Returns or sets the additional padding around the label. This property can be defined in the theme.

    UserPopup.Offset

    Returns or sets the offset in pixels from the calculated position of the popup.

    ListView.ItemPadding

    Returns or sets the padding inside ListViewItem objects in any View mode.

    StatusBarPanel.Padding

    Returns or sets padding within the statusbar panel.

    ToolBarButton.Padding

    Returns or sets padding within the toolbar button.

    ToolBarButton.Margin

    Returns or sets the space between toolbar buttons.

    Padding.Add

    Computes the sum of the two specified Padding values.

    ControlExtensions.Padding

    Sets the padding for the specified control.

    ControlExtensions.Margin

    Sets the margin for the specified control using a Padding object.

    ToolBarButtonExtensions.Padding

    Sets the padding of the ToolBarButton.

    ToolBarButtonExtensions.Margin

    Sets the margin of the ToolBarButton.

    ClientTheme.GetInsets

    Returns the size of the inset border and padding.

    Int32arrow-up-right
    Int32arrow-up-right
    Int32arrow-up-right
    Padding
    Padding
    Padding
    Padding
    Padding
    Padding
    Padding
    Padding
    Control.Padding
    Control.Margin
    DataGridViewCellStyle.Padding
    DataGridViewCell
    LabelWrapper.Padding

    Prompts the user to open a file from the server.

    SaveFileDialog

    Prompts the user to select a location for saving a file on the server.

    IContainerarrow-up-right
    IContainerarrow-up-right
    CommonDialog
    Booleanarrow-up-right
    EventArgsarrow-up-right
    HelpEventArgs
    Action<DialogResult>arrow-up-right
    event.
    Form
    Form
    Form
    Form
    Action<DialogResult>arrow-up-right
    event.
    Form
    Form
    ColorDialog
    FileDialog
    FolderBrowserDialog
    Roots
    OpenFileDialog
    CreateUI
    Form
    ShowDialog
    DialogTemplate
    Form
    FileDialog
    OnFileOk
    IContainerarrow-up-right
    IContainerarrow-up-right
    SaveFileDialog
    String[]arrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    hashtag
    Constructors

    hashtag
    ControlCollection(owner)

    Initializes a new instance of the ControlCollection class.

    Name
    Type
    Description

    owner

    The that owns this collection.

    hashtag
    Properties

    hashtag
    IsDisposed

    Booleanarrow-up-right: Returns whether the owner control has already been disposed.

    hashtag
    Item(index)

    Control: Returns the Control at the specified indexed location.

    hashtag
    Item(key)

    Control: Returns the Control with the specified key in the collection.

    hashtag
    Owner

    Control: Returns the control that owns this ControlCollection.

    hashtag
    Methods

    hashtag
    Add(child)

    Adds the specified control to the control collection.

    Parameter
    Type
    Description

    child

    The to add.

    hashtag
    AddRange(controls)

    Adds an array of control objects to the collection.

    Parameter
    Type
    Description

    controls

    An array of objects to add to the collection.

    hashtag
    Clear()

    Removes all controls from the collection.

    hashtag
    Clear(dispose)

    Removes and disposes all controls from the collection.

    Parameter
    Type
    Description

    dispose

    Indicates whether the controls removed from the collection should be disposed.

    hashtag
    Contains(control)

    Determines whether the specified control is a member of the collection.

    Parameter
    Type
    Description

    control

    The to locate in the collection.

    Returns: Booleanarrow-up-right. true if the Control is a member of the collection; otherwise, false.

    hashtag
    ContainsKey(key)

    Determines whether the ControlCollection contains an item with the specified key.

    Parameter
    Type
    Description

    key

    The key to locate in the .

    Returns: Booleanarrow-up-right. true if the ControlCollection contains an item with the specified key; otherwise, false.

    hashtag
    Find(type, searchAllChildren)

    Searches for controls by their type and builds an array of all the controls that match.

    Parameter
    Type
    Description

    type

    The type of the controls to locate in the .

    searchAllChildren

    true to search all child controls; otherwise, false.

    Returns: Control[]. Array of controls that are derived from the specified type .

    Throws:

    • ArgumentNullExceptionarrow-up-right type is null.

    hashtag
    Find(key, searchAllChildren)

    Searches for controls by their name and builds an array of all the controls that match.

    Parameter
    Type
    Description

    key

    The key to located in the .

    searchAllChildren

    true to search all child controls; otherwise, false.

    Returns: Control[]. Array of controls with the specified name.

    Throws:

    • ArgumentNullExceptionarrow-up-right The key parameter is null or an empty string ("").

    hashtag
    GetChildIndex(child, throwException)

    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.

    Parameter
    Type
    Description

    child

    The to search for in the control collection.

    throwException

    true to throw an exception if the specified in the child parameter is not a control in the ; otherwise, false.

    Returns: Int32arrow-up-right. A zero-based index value that represents the location of the specified child control within the control collection; otherwise -1 if the specified Control is not found in the ControlCollection.

    Throws:

    • ArgumentExceptionarrow-up-right The child Control is not in the ControlCollection, and the throwException parameter value is true.

    hashtag
    GetEnumerator()

    Retrieves a reference to an enumerator object that is used to iterate over a ControlCollection.

    Returns: IEnumeratorarrow-up-right. An IEnumeratorarrow-up-right.

    hashtag
    IndexOf(control)

    Retrieves the index of the specified control in the control collection.

    Parameter
    Type
    Description

    control

    The to locate in the collection.

    Returns: Int32arrow-up-right. A zero-based index value that represents the position of the specified Control in the ControlCollection.

    hashtag
    IndexOfKey(key)

    Retrieves the index of the first occurrence of the specified item within the collection.

    Parameter
    Type
    Description

    key

    The name of the control to search for.

    Returns: Int32arrow-up-right. The zero-based index of the first occurrence of the control with the specified name in the collection.

    hashtag
    Remove(child)

    Removes the specified control from the control collection.

    Parameter
    Type
    Description

    child

    The to remove.

    hashtag
    RemoveByKey(key)

    Removes the child control with the specified key.

    Parameter
    Type
    Description

    key

    The name of the child control to remove.

    hashtag
    SetChildIndex(child, newIndex)

    Sets the index of the specified child control in the collection.

    Parameter
    Type
    Description

    child

    The child control to search for.

    newIndex

    The new index value of the control.

    hashtag
    Inherited By

    Name
    Description

    Represents a collection of child controls in a table layout container.

    Public Class ControlCollection
        Inherits ControlCollection
        Implements IList(Of Control), ICollection(Of Control), IEnumerable(Of Control), IWisejSynchronized
    Control
    public class ControlCollection : ControlCollection, IList<Control>, ICollection<Control>, IEnumerable<Control>, IWisejSynchronized

    ButtonBase

    Wisej.Web.ButtonBase

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    • Control

    Implements the basic functionality common to button controls.

    hashtag
    Constructors

    hashtag
    ButtonBase()

    Initializes a new instance of the class.

    hashtag
    Properties

    hashtag
    AllowHtml

    : 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 is false, or when is true and the text doesn't contain any HTML.

    hashtag
    AllowMarkdown

    : Returns or sets a value indicating that the control can display markdown text as HTML in the Text property. (Default: False)

    hashtag
    AutoEllipsis

    : 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)

    hashtag
    AutoShowLoader

    : 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)

    blocks the entire browser as soon as the button is clicked since it's implemented on the client side, while blocks the specific widget when returning from the request.

    hashtag
    AutoSize

    : Returns or sets a value that indicates whether the control resizes based on its contents. (Default: False)

    hashtag
    CharacterCasing

    : Returns or sets the case of the text to display to the user. (Default: Normal)

    hashtag
    Command

    : Returns or sets the implementation to invoke. (Default: null)

    hashtag
    DefaultSize

    :

    hashtag
    Image

    : Returns or sets the image that is displayed in a button control.

    hashtag
    ImageAlign

    : Returns or sets the alignment of the image in the button control. (Default: MiddleCenter)

    hashtag
    ImageIndex

    : Returns or sets the image list index value of the image in the displayed in the button control. (Default: -1)

    Throws:

    • The specified index is less than -1.

    hashtag
    ImageKey

    : Returns or sets the key accessor for the image in the displayed in the button control. (Default: "")

    hashtag
    ImageList

    : Returns or sets the that contains the displayed in a button control. (Default: null)

    hashtag
    ImageSource

    : Returns or sets the theme name or URL for the image to display in the button control.

    hashtag
    IsDefault

    : Returns or sets whether the button control is the default button.

    hashtag
    Text

    : Returns or sets the text associated with this control. (Default: "")

    Newlines (CRLF) are converted to <BR/> when is false, or when is true and the text doesn't contain any HTML.

    hashtag
    TextAlign

    : Returns or sets the alignment of the text in the button control. (Default: MiddleCenter)

    hashtag
    TextImageRelation

    : Returns or sets the position of text and image relative to each other. (Default: ImageBeforeText)

    hashtag
    UseMnemonic

    : Returns or sets whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control. (Default: True)

    hashtag
    Methods

    hashtag
    OnClick(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnCommandChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnTextChanged(e)

    Parameter
    Type
    Description

    hashtag
    OnWebEvent(e)

    Processes the event from the client.

    Parameter
    Type
    Description

    hashtag
    OnWebRender(config)

    Renders the client component.

    Parameter
    Type
    Description

    hashtag
    PerformClick()

    Generates a event for a button.

    hashtag
    Events

    hashtag
    CommandChanged

    Fired when the property value changes.

    hashtag
    Inherited By

    Name
    Description

    hashtag
    Implements

    Name
    Description

    FileDialog

    Wisej.Web.FileDialog

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    • CommonDialog

    Displays a dialog box from which the user can select a file.

    This class is abstract. The current implementations in Wisej are and . You can override this class or and to add your own custom behavior and localization. You can:

    • Override . It's called when the specified file doesn't exist and the property is true.

    • Override to create your custom when the method is called.

    • Set the to a class that has a constructor that accepts

    You must add at least one to the collection before showing the dialog.

    hashtag
    Constructors

    hashtag
    FileDialog()

    Initializes a new instance of .

    hashtag
    FileDialog(roots)

    Initializes a new instance of using the initial roots .

    Name
    Type
    Description

    hashtag
    FileDialog(container)

    Initializes a new instance of the extender with a specified container.

    Name
    Type
    Description

    hashtag
    Properties

    hashtag
    AddExtension

    : Returns or sets whether the dialog box automatically adds an extension to a file name if the user omits the extension. (Default: True)

    hashtag
    CheckFileExists

    : Returns or sets whether the dialog box displays a warning if the user specifies a file name that does not exist. (Default: False)

    hashtag
    DefaultExtension

    : Returns or sets the default file name extension. (Default: "")

    hashtag
    FileName

    : Returns or sets a string containing the file name selected in the file dialog box. (Default: "")

    hashtag
    FileNames

    : Returns the file names of all selected files in the dialog box.

    hashtag
    FileSystem

    : Returns the that contains the selected .

    hashtag
    Filter

    : 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: "")

    hashtag
    FilterIndex

    : Returns or sets the index of the filter currently selected in the file dialog box. (Default: 1)

    hashtag
    InitialDirectory

    : Returns or sets the initial directory displayed by the file dialog box. (Default: "")

    hashtag
    Roots

    : List of root file systems displayed by the FileDialog.

    The Roots collection and the implementations allow the application to use arbitrary names mapped to a specific path. For example, the app may add a root object named "Documents" to "c:\users[logged-user-id]\files\documents". Each user will see "Documents" as the root, but will also see only the files in the [logged-user-id] directory.

    hashtag
    ShowHelp

    : Returns or sets whether the Help button is displayed in the file dialog box. (Default: False)

    hashtag
    Title

    : Returns or sets the file dialog box title. (Default: "")

    hashtag
    Methods

    hashtag
    CreateUI()

    Returns: .

    hashtag
    GetRoot(path)

    Returns the that contains the specified path .

    Parameter
    Type
    Description

    Returns: . The that contains the specified path or null if not found.

    hashtag
    MapPath(filePath)

    Maps the virtual path to the corresponding physical path on the specific implementation.

    Parameter
    Type
    Description

    Returns: . The physical path for the implementation.

    hashtag
    OnFileOk(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnLoadPath(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    ProcessFileNames(fileNames)

    Receives the file names selected by the user and validates them according to the properties set in the instance.

    Parameter
    Type
    Description

    Returns: . True if the files have been validated and the dialog can close; otherwise false to keep the dialog open.

    hashtag
    PromptFileNotFound(fileName)

    Informs the user that the file specified in fileName doesn't exist. You can override this method to provide your text and localization.

    Parameter
    Type
    Description

    hashtag
    Reset()

    Resets all properties to their default values.

    hashtag
    Events

    hashtag
    FileOk

    Fired when the user clicks on the Open or Save button on a file dialog box.

    hashtag
    LoadPath

    Fired when the file dialog is loading a file or folder.

    hashtag
    Inherited By

    Name
    Description

    Configuration

    Wisej.Core.Configuration

    Namespace: Wisej.Core

    Assembly: Wisej.Framework (4.0.0.0)

    Configuration settings.

    hashtag

    Clipboard

    Wisej.Web.Clipboard

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    Provides methods to place data on and retrieve data from the system Clipboard. This class cannot be inherited.

    Control
    Control
    Control
    Control
    Control[]
    Control
    Booleanarrow-up-right
    Control
    Control
    Stringarrow-up-right
    ControlCollection
    Typearrow-up-right
    ControlCollection
    Booleanarrow-up-right
    Stringarrow-up-right
    ControlCollection
    Booleanarrow-up-right
    Control
    Control
    Booleanarrow-up-right
    Control
    ControlCollection
    Control
    Control
    Stringarrow-up-right
    Control
    Control
    Stringarrow-up-right
    Control
    Int32arrow-up-right
    TableLayoutControlCollection
    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.

  • roots

    IFileSystemProvider[]

    Initial file systems to load in the FolderBrowserDialog.

    container

    IContainerarrow-up-right

    An IContainerarrow-up-right that represents the container of the FileDialog component.

    path

    Stringarrow-up-right

    Full path of the file to locate in on of the Roots.

    filePath

    Stringarrow-up-right

    Virtual path to map to the corresponding physical path.

    e

    CancelEventArgsarrow-up-right

    A CancelEventArgsarrow-up-right that contains the event data.

    e

    FileDialogLoadPathEventArgs

    A FileDialogLoadPathEventArgs object that provides the event data.

    fileNames

    String[]arrow-up-right

    Array containing the selected file paths.

    fileName

    Stringarrow-up-right

    Name of the file that doesn't exist.

    OpenFileDialog

    Prompts the user to open a file from the server.

    SaveFileDialog

    Prompts the user to select a location for saving a file on the server.

    Public Class FileDialog
        Inherits CommonDialog
    FileDialog
    OpenFileDialog
    SaveFileDialog
    OpenFileDialog
    SaveFileDialog
    PromptFileNotFound
    CheckFileExists
    CreateUI
    Form
    ShowDialog
    DialogTemplate
    Form
    FileDialog
    FileSystemProvider
    Roots
    FileDialog
    FileDialog
    FileDialog
    Booleanarrow-up-right
    Booleanarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    String[]arrow-up-right
    IFileSystemProvider
    IFileSystemProvider
    FileName
    Stringarrow-up-right
    Int32arrow-up-right
    Stringarrow-up-right
    FileDialogRootCollection
    IFileSystemProvider
    IFileSystemProvider
    Booleanarrow-up-right
    Stringarrow-up-right
    Form
    IFileSystemProvider
    IFileSystemProvider
    IFileSystemProvider
    IFileSystemProvider
    Stringarrow-up-right
    IFileSystemProvider
    FileOk
    LoadPath
    FileDialog
    Booleanarrow-up-right
    CancelEventHandlerarrow-up-right
    FileDialogLoadPathEventHandler
    public class FileDialog : CommonDialog

    Provides access to common image properties across the controls that implement this interface.

    All wisej components implement this interface.

    All wisej controls derived from the class must implement this interface.

    Allows an object to serialize itself.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    e

    WisejEventArgs

    Event arguments.

    config

    Objectarrow-up-right

    Dynamic configuration object.

    Button

    Represents a button control.

    CheckBox

    Represents a check box control.

    RadioButton

    Enables the user to select a single option from a group of choices when paired with other RadioButton controls.

    SplitButton

    IUserData

    Provides access to the UserData and Tag properties associated to the component implementing this interface.

    IBindableComponent

    Bindable components implement this interface.

    ICommandSource

    Defines an object that can invoke a Command.

    IDropTarget

    Public Class ButtonBase
        Inherits Control
        Implements IImage, ICommandSource
    ButtonBase
    ButtonBase
    Booleanarrow-up-right
    AllowHtml
    AllowHtml
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    AutoShowLoader
    ShowLoader
    Booleanarrow-up-right
    CharacterCasing
    ICommand
    ICommand
    Sizearrow-up-right
    Imagearrow-up-right
    ContentAlignmentarrow-up-right
    Int32arrow-up-right
    ImageList
    ArgumentOutOfRangeExceptionarrow-up-right
    Stringarrow-up-right
    ImageList
    ImageList
    ImageList
    Imagearrow-up-right
    Stringarrow-up-right
    Booleanarrow-up-right
    Stringarrow-up-right
    AllowHtml
    AllowHtml
    ContentAlignmentarrow-up-right
    TextImageRelation
    Booleanarrow-up-right
    Click
    CommandChanged
    Click
    EventHandlerarrow-up-right
    Command
    public class ButtonBase : Control, IImage, ICommandSource

    Represents a split button control.

    Controls that support drag & drop operations implement this interface.

    Constructors

    hashtag
    Configuration(json)

    Creates a new instance from the specified json string.

    Name
    Type
    Description

    json

    The json string that defines the configuration values.

    hashtag
    Properties

    hashtag
    AllowedRoutes

    String[]arrow-up-right: List of allowed Url routes separated by a semicolon. i.e.: "api;product;log/performance".

    hashtag
    AutoReload

    Booleanarrow-up-right: 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.

    hashtag
    BrowserCheck

    Stringarrow-up-right: The custom function used to validate the browser. If it returns false the browser is not supported and Wisej redirects to NotSupportedUrl.

    hashtag
    Culture

    Stringarrow-up-right: 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.

    hashtag
    Debug

    Booleanarrow-up-right: Enables/disables debug mode.

    hashtag
    DisableClientObjectModel

    Booleanarrow-up-right: 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.

    hashtag
    DisableMinification

    Booleanarrow-up-right: When true, dynamic minification is turned off also in release mode.

    hashtag
    DropDuplicateClicks

    Booleanarrow-up-right: When true, the client drops all "execute" events triggered while there is a pending request.

    hashtag
    EmbeddedResourcesCacheControl

    Stringarrow-up-right: Cache-Control for embedded resources. The default is "browser" to cache the embedded resources on the browser for 1 month. Other allowed values 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.

    hashtag
    EnablePWA

    Booleanarrow-up-right: Enables the PWA installation of the application.

    hashtag
    EnableWebSocket

    Booleanarrow-up-right: Enables/disables the WebSocket protocol.

    hashtag
    EnableWebSocketCompression

    Booleanarrow-up-right: Enables/disables gzip compression when using the WebSocket protocol.

    hashtag
    FilePath

    Stringarrow-up-right: The full path of the configuration file.

    hashtag
    Impersonate

    Booleanarrow-up-right: 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.

    hashtag
    InvalidSessionHttpCode

    Int32arrow-up-right: Determines the HTTP code that Wisej.NET returns to the browser when a request cannot be authenticated with a valid session. The default is 200 (OK). Set it to 401 (Not Authorized) in case a deployment requires it.

    hashtag
    KeepAliveInterval

    Int32arrow-up-right: The keep-alive interval in seconds.

    hashtag
    Loader

    Stringarrow-up-right: Name of the page loader resource to show at startup.

    hashtag
    LoaderTimeout

    Int32arrow-up-right: The ajax loader timeout in milliseconds.

    hashtag
    MainWindow

    Stringarrow-up-right: Full name of the first window created automatically at startup.

    hashtag
    MaxModalStack

    Int32arrow-up-right: Returns the maximum number of nested modal loops.

    hashtag
    MaxSessions

    Int32arrow-up-right: Returns the maximum number of active sessions before redirecting to NotAvailableUrl.

    hashtag
    MaxSessionsPerClient

    Int32arrow-up-right: Limits the number of sessions that can be associated with a client. The default is 50. Set it to 0 for unlimited. Use this configuration option to protect again potential DoS attacks. It's supported only on professional server editions or higher.

    hashtag
    NetworkCheckInterval

    Int32arrow-up-right: Network check interval in milliseconds. The default is 1000 (1 second). Wisej.NET will send a /healthcheck.wx request at the specified interval when the application goes offline.

    hashtag
    NotAvailableUrl

    Stringarrow-up-right: The URL of the page to load when the server cannot respond to the request.

    hashtag
    NotSupportedUrl

    Stringarrow-up-right: The URL of the page to load when the client browser is not supported.

    hashtag
    OfflineUrl

    Stringarrow-up-right: The URL of the page to load when the connection is lost.

    hashtag
    Options

    Objectarrow-up-right: Native client-side platform options.

    hashtag
    PollingInterval

    Int32arrow-up-right: 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.

    hashtag
    ResponseTimeout

    Int32arrow-up-right: The timeout for the server to respond to a Wisej request in seconds.

    hashtag
    RightToLeft

    Stringarrow-up-right: 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".

    hashtag
    Secure

    Booleanarrow-up-right: Forces the client to switch to a secure connection (HTTPS and WSS).

    hashtag
    SessionStorage

    Stringarrow-up-right: 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.

    hashtag
    SessionTimeout

    Int32arrow-up-right: The session timeout in seconds. The timeout is enforced on the client side.

    hashtag
    Settings

    Objectarrow-up-right: Application settings.

    hashtag
    ShowLoader

    Booleanarrow-up-right: Shows the loader animated gif while initializing the application.

    hashtag
    StartUp

    Stringarrow-up-right: The startup Main method.

    hashtag
    ThemeName

    Stringarrow-up-right: Theme name.

    hashtag
    ThreadPool

    Objectarrow-up-right: ThreadPool min/max configuration, null by default.

    hashtag
    Url

    Stringarrow-up-right: Url redirection.

    hashtag
    ValidateClient

    Booleanarrow-up-right: Verifies the client's unique id when retrieving a session. It prevents session hijacking over unsecured connections.

    hashtag
    ValidateResources

    Booleanarrow-up-right: Verifies that resource requests are received from the user's authorizes browser. Prevents reusing a resource URL from an unauthorized browser.

    hashtag
    WebSocketCompressionThreshold

    Int32arrow-up-right: Sets the response size that triggers the compression of the response over the WebSocket channel.

    hashtag
    Methods

    hashtag
    GetInstance(filePath, uri)

    Loads or retrieves the configuration file.

    Parameter
    Type
    Description

    filePath

    The full path to the .json file to load.

    uri

    The current representing the site being loaded.

    Returns: Configuration.

    hashtag
    Events

    hashtag
    LoadConfiguration

    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.

    Public Class Configuration
    public class Configuration
    hashtag
    Methods

    hashtag
    Clear()

    Removes all data from the Clipboard.

    hashtag
    ContainsAudio()

    Indicates whether there is data on the Clipboard in the WaveAudio format.

    Returns: Booleanarrow-up-right. true if there is audio data on the Clipboard; otherwise, false.

    hashtag
    ContainsData(format)

    Indicates whether there is data on the Clipboard that is in the specified format or can be converted to that format.

    Parameter
    Type
    Description

    format

    The format of the data to look for. See for predefined formats.

    Returns: Booleanarrow-up-right. true if there is data on the Clipboard that is in the specified format or can be converted to that format; otherwise, false.

    hashtag
    ContainsFileDropList()

    Indicates whether there is data on the Clipboard that is in the FileDrop format or can be converted to that format.

    Returns: Booleanarrow-up-right. true if there is a file drop list on the Clipboard; otherwise, false.

    hashtag
    ContainsImage()

    Indicates whether there is data on the Clipboard that is in the Bitmap format or can be converted to that format.

    Returns: Booleanarrow-up-right. true if there is image data on the Clipboard; otherwise, false.

    hashtag
    ContainsText()

    Indicates whether there is data on the Clipboard in the Text or UnicodeText format, depending on the operating system.

    Returns: Booleanarrow-up-right. true if there is text data on the Clipboard; otherwise, false.

    hashtag
    ContainsText(format)

    Indicates whether there is text data on the Clipboard in the format indicated by the specified TextDataFormat value.

    Parameter
    Type
    Description

    format

    One of the values.

    Returns: Booleanarrow-up-right. true if there is text data on the Clipboard in the value specified for format ; otherwise, false.

    hashtag
    GetAudioStream()

    Retrieves an audio stream from the Clipboard.

    Returns: Streamarrow-up-right. A Streamarrow-up-right containing audio data or null if the Clipboard does not contain any data in the WaveAudio format.

    hashtag
    GetData(format)

    Retrieves data from the Clipboard in the specified format.

    Parameter
    Type
    Description

    format

    The format of the data to retrieve. See for predefined formats.

    Returns: Objectarrow-up-right. An Objectarrow-up-right 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.

    hashtag
    GetDataObject()

    Retrieves the data that is currently on the system Clipboard.

    Returns: IDataObject. An IDataObject that represents the data currently on the Clipboard, or null if there is no data on the Clipboard.

    hashtag
    GetFileDropList()

    Retrieves a collection of file names from the Clipboard.

    Returns: StringCollectionarrow-up-right. A StringCollectionarrow-up-right containing file names or null if the Clipboard does not contain any data that is in the FileDrop format or can be converted to that format.

    hashtag
    GetImage()

    Retrieves an image from the Clipboard.

    Returns: Imagearrow-up-right. An Imagearrow-up-right representing the Clipboard image data or null if the Clipboard does not contain any data that is in the Bitmap format or can be converted to that format.

    hashtag
    GetText()

    Retrieves text data from the Clipboard in the Text or UnicodeText format, depending on the operating system.

    Returns: Stringarrow-up-right. The Clipboard text data or Emptyarrow-up-right if the Clipboard does not contain data in the Text or UnicodeText format, depending on the operating system.

    hashtag
    GetText(format)

    Retrieves text data from the Clipboard in the format indicated by the specified TextDataFormat value.

    Parameter
    Type
    Description

    format

    One of the values.

    Returns: Stringarrow-up-right. The Clipboard text data or Emptyarrow-up-right if the Clipboard does not contain data in the specified format.

    hashtag
    SetAudio(audioBytes)

    Saves the Bytearrow-up-right array in the WaveAudio format after converting it to a Streamarrow-up-right to the clipboard.

    Parameter
    Type
    Description

    audioBytes

    A array containing the audio data.

    Throws:

    • ArgumentNullExceptionarrow-up-right audioBytes is null.

    hashtag
    SetAudio(audioStream)

    Saves the Streamarrow-up-right in the WaveAudio format to the clipboard.

    Parameter
    Type
    Description

    audioStream

    A containing the audio data.

    Throws:

    • ArgumentNullExceptionarrow-up-right audioStream is null.

    hashtag
    SetClientText(text)

    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();

    Parameter
    Type
    Description

    text

    The text to save to the client's temporary clipboard.

    Throws:

    • ArgumentNullExceptionarrow-up-right text is null.

    hashtag
    SetData(format, data)

    Saves the specified data to the clipboard in the specified format.

    Parameter
    Type
    Description

    format

    The format of the data to set. See for predefined formats.

    data

    An representing the data to add.

    Throws:

    • ArgumentNullExceptionarrow-up-right data is null.

    hashtag
    SetDataObject(data)

    Saves the specified data to the clipboard.

    Parameter
    Type
    Description

    data

    The data to place on the Clipboard.

    Throws:

    • ArgumentNullExceptionarrow-up-right The value of data is null.

    hashtag
    SetFileDropList(filePaths)

    Saves the collection of file names in the FileDrop format to the clipboard.

    Parameter
    Type
    Description

    filePaths

    A containing the file names.

    Throws:

    • ArgumentNullExceptionarrow-up-right filePaths is null.

    • ArgumentExceptionarrow-up-right 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 InvalidPathCharsarrow-up-right, is null, contains a colon (:), or exceeds the system-defined maximum length. See the InnerExceptionarrow-up-right property of the ArgumentExceptionarrow-up-right for more information.

    hashtag
    SetImage(image)

    Saves the Imagearrow-up-right in the Bitmap format to the clipboard

    Parameter
    Type
    Description

    image

    The to add to the Clipboard.

    Throws:

    • ArgumentNullExceptionarrow-up-right image is null.

    hashtag
    SetText(text)

    Saves the text data in the UnicodeText format to the clipboard.

    Parameter
    Type
    Description

    text

    The text to add to the Clipboard.

    Throws:

    • ArgumentNullExceptionarrow-up-right text is null or Emptyarrow-up-right.

    hashtag
    SetText(text, format)

    Saves the text data in the format indicated by the specified TextDataFormat value to the clipboard.

    Parameter
    Type
    Description

    text

    The text to add to the Clipboard.

    format

    One of the values.

    Throws:

    • ArgumentNullExceptionarrow-up-right text is null.

    Public Class Clipboard
    public class Clipboard

    RadioButton

    Wisej.Web.RadioButton

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    • Control

    Enables the user to select a single option from a group of choices when paired with other controls.

    hashtag
    Constructors

    hashtag
    RadioButton()

    Initializes a new instance of the class.

    hashtag
    RadioButton(text, onCheckedChanged)

    Initializes a new instance of the class with the specified settings.

    Name
    Type
    Description

    hashtag
    RadioButton(text, location, size, onCheckedChanged)

    Initializes a new instance of the class with specific initial settings.

    Name
    Type
    Description

    hashtag
    Properties

    hashtag
    Appearance

    : Returns or sets the value that determines the appearance of a control. (Default: Normal)

    hashtag
    AutoCheck

    : Returns or set a value indicating whether the or values and the 's appearance are automatically changed when the is clicked. (Default: True)

    hashtag
    AutoSize

    : Returns or sets a value that indicates whether the control resizes based on its contents. (Default: True)

    hashtag
    AutoToolTip

    : 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.

    hashtag
    CheckAlign

    : Returns or sets the horizontal and vertical alignment of the check mark on a control. (Default: MiddleLeft)

    hashtag
    Checked

    : Gets or sets whether the control is checked. (Default: False)

    hashtag
    CheckedForeColor

    : Returns or sets the text color used when the is checked. (Default: Color [Empty])

    hashtag
    DefaultSize

    : Returns the default size of the control.

    hashtag
    Invalid

    : Returns or sets a value that indicates that the control is invalid. (Default: False)

    hashtag
    InvalidMessage

    : Returns or sets the invalid message that is shown in the invalid tooltip. (Default: "")

    hashtag
    ReadOnly

    : Returns or sets whether the control is read-only. (Default: False)

    hashtag
    TabStop

    : 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)

    hashtag
    TextAlign

    : Returns or sets the alignment of the text on the control. (Default: MiddleLeft)

    hashtag
    Methods

    hashtag
    OnAppearanceChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnCheckedChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnClick(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnForeColorChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnReadOnlyChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnValidating(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnWebRender(config)

    Renders the client component.

    Parameter
    Type
    Description

    hashtag
    PerformClick()

    Generates a event for a .

    hashtag
    Events

    hashtag
    AppearanceChanged

    Fired when the value of the property changes.

    hashtag
    CheckedChanged

    Fired when the value of the property changes.

    hashtag
    ReadOnlyChanged

    Fired when the value of the property has changed.

    hashtag
    Implements

    Name
    Description

    CheckBox

    Wisej.Web.CheckBox

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    Button

    Wisej.Web.Button

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    
      <script>
        Wisej.onExit = function() {
          // this is the default implementation
          // when AutoReload is set to true.
          location.reload();
        }
      </script>
    
    
    [assembly: PreApplicationStartMethod(typeof(ApplicationNameSpace.HttpModuleStartup), "Start")]
    
    namespace ApplicationNameSpace
    {
      public static class HttpModuleStartup
      {
        public static void Start()
        {
          Wisej.Core.Configuration.LoadConfiguration += (s, e) =>
          {
            // load json from a file, or build a json object.
            // you can also implement your own caching mechanism here.
            
            e.SuppressCache = true;
            
            return new Wisej.Core.Configuration(new
            {
              url = "Default.html",
              theme = "bootstrap-4",
              startup = "ApplicationNameSpace.Program.Main, Application"
              
            }.ToJSON());
          }
        }
      }
    }
    
    IImage
    IWisejComponent
    IWisejControl
    Control
    IWisejSerializable
    Stringarrow-up-right
    Stringarrow-up-right
    Uriarrow-up-right
    Uriarrow-up-right
    Stringarrow-up-right
    DataFormats
    TextDataFormat
    TextDataFormat
    Stringarrow-up-right
    DataFormats
    TextDataFormat
    TextDataFormat
    Byte[]arrow-up-right
    Bytearrow-up-right
    Streamarrow-up-right
    Streamarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    DataFormats
    Objectarrow-up-right
    Objectarrow-up-right
    Objectarrow-up-right
    StringCollectionarrow-up-right
    StringCollectionarrow-up-right
    Imagearrow-up-right
    Imagearrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    TextDataFormat
    TextDataFormat

    Initial size.

    onCheckedChanged

    Optional handler.

    Provides access to common image properties across the controls that implement this interface.

    Provides access to the 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 class must implement this interface.

    Allows an object to serialize itself.

    text

    Stringarrow-up-right

    Initial text.

    onCheckedChanged

    Action<Object, EventArgs>arrow-up-right

    Optional CheckedChanged handler.

    text

    Stringarrow-up-right

    Initial text.

    location

    Pointarrow-up-right

    Initial location.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    CancelEventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    config

    Objectarrow-up-right

    Dynamic configuration object.

    IUserData

    Provides access to the UserData and Tag properties associated to the component implementing this interface.

    IBindableComponent

    Bindable components implement this interface.

    ICommandSource

    Defines an object that can invoke a Command.

    IDropTarget

    Public Class RadioButton
        Inherits ButtonBase
        Implements IReadOnly, IValidation
    ButtonBase
    RadioButton
    RadioButton
    RadioButton
    RadioButton
    RadioButton
    Appearance
    CheckBox
    Booleanarrow-up-right
    Checked
    CheckState
    CheckBox
    CheckBox
    Booleanarrow-up-right
    Booleanarrow-up-right
    titlearrow-up-right
    ContentAlignmentarrow-up-right
    CheckBox
    Booleanarrow-up-right
    Colorarrow-up-right
    RadioButton
    Sizearrow-up-right
    Booleanarrow-up-right
    Stringarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Focusable
    ContentAlignmentarrow-up-right
    CheckBox
    AppearanceChanged
    CheckedChanged
    Click
    ForeColorChanged
    ReadOnlyChanged
    Validating
    Click
    RadioButton
    EventHandlerarrow-up-right
    Appearance
    EventHandlerarrow-up-right
    Checked
    EventHandlerarrow-up-right
    ReadOnly
    public class RadioButton : ButtonBase, IReadOnly, IValidation

    size

    Controls that support drag & drop operations implement this interface.

    ButtonBase
    • CheckBox

    Represents a check box control.

    public class CheckBox : ButtonBase, IReadOnly,
    Public Class CheckBox
        Inherits ButtonBase
        Implements IReadOnly, IValidation

    hashtag
    Constructors

    hashtag
    CheckBox()

    Initializes a new instance of the CheckBox class.

    hashtag
    CheckBox(text, onCheckedChanged)

    Initializes a new instance of the CheckBox class.

    Name
    Type
    Description

    text

    Initial text.

    onCheckedChanged

    Optional handler.

    hashtag
    CheckBox(text, location, size, onCheckedChanged)

    Initializes a new instance of the CheckBox class.

    Name
    Type
    Description

    text

    Initial text.

    location

    Initial location.

    hashtag
    Properties

    hashtag
    Appearance

    Appearance: Returns or sets the value that determines the appearance of a CheckBox control. (Default: Normal)

    hashtag
    AutoCheck

    Booleanarrow-up-right: Returns or set a value indicating whether the Checked or CheckState values and the CheckBox's appearance are automatically changed when the CheckBox is clicked. (Default: True)

    hashtag
    AutoSize

    Booleanarrow-up-right: Returns or sets a value that indicates whether the control resizes based on its contents. (Default: True)

    hashtag
    AutoToolTip

    Booleanarrow-up-right: 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 titlearrow-up-right attribute managed by the browser, does not use the themed tooltip managed by Wisej.NET.

    hashtag
    CheckAlign

    ContentAlignmentarrow-up-right: Returns or sets the horizontal and vertical alignment of the check mark on a CheckBox control. (Default: MiddleLeft)

    hashtag
    Checked

    Booleanarrow-up-right: Returns or set a value indicating whether the CheckBox is in the checked state. (Default: False)

    hashtag
    CheckedForeColor

    Colorarrow-up-right: Returns or sets the text color used when the CheckBox is checked. (Default: Color [Empty])

    hashtag
    CheckState

    CheckState: Returns or sets the state of the CheckBox. (Default: Unchecked)

    hashtag
    DefaultSize

    Sizearrow-up-right: Returns the default size of the control.

    hashtag
    Invalid

    Booleanarrow-up-right: Returns or sets a value that indicates that the control is invalid.

    hashtag
    InvalidMessage

    Stringarrow-up-right: Returns or sets the invalid message that is shown in the invalid tooltip. (Default: "")

    hashtag
    ReadOnly

    Booleanarrow-up-right: Returns or sets whether the control is read-only. (Default: False)

    hashtag
    TextAlign

    ContentAlignmentarrow-up-right: Returns or sets the alignment of the text on the CheckBox control. (Default: MiddleLeft)

    hashtag
    ThreeState

    Booleanarrow-up-right: Returns or sets whether the CheckBox will allow three check states rather than two. (Default: False)

    hashtag
    Methods

    hashtag
    OnAppearanceChanged(e)

    Fires the AppearanceChanged event.

    Parameter
    Type
    Description

    e

    A that contains the event data.

    hashtag
    OnCheckedChanged(e)

    Fires the CheckedChanged event.

    Parameter
    Type
    Description

    e

    A that contains the event data.

    hashtag
    OnCheckStateChanged(e)

    Fires the CheckStateChanged event.

    Parameter
    Type
    Description

    e

    A that contains the event data.

    hashtag
    OnClick(e)

    Fires the Click event.

    Parameter
    Type
    Description

    e

    A that contains the event data.

    hashtag
    OnForeColorChanged(e)

    Fires the ForeColorChanged event.

    Parameter
    Type
    Description

    e

    A that contains the event data.

    hashtag
    OnReadOnlyChanged(e)

    Fires the ReadOnlyChanged event.

    Parameter
    Type
    Description

    e

    An that contains the event data.

    hashtag
    OnValidating(e)

    Fires the Validating event.

    Parameter
    Type
    Description

    e

    A that contains the event data.

    hashtag
    OnWebRender(config)

    Renders the client component.

    Parameter
    Type
    Description

    config

    Dynamic configuration object.

    hashtag
    PerformClick()

    Generates a Click event for a CheckBox.

    hashtag
    Events

    hashtag
    AppearanceChanged

    EventHandlerarrow-up-right Fired when the value of the Appearance property changes.

    hashtag
    CheckedChanged

    EventHandlerarrow-up-right Fired when the value of the Checked property changes.

    hashtag
    CheckStateChanged

    EventHandlerarrow-up-right Fired when the value of the CheckState property changes.

    hashtag
    ReadOnlyChanged

    EventHandlerarrow-up-right Fired when the value of the ReadOnly property has changed.

    hashtag
    Implements

    Name
    Description

    Provides access to the UserData and Tag properties associated to the component implementing this interface.

    Bindable components implement this interface.

    Defines an object that can invoke a .

    Control
    ButtonBase
    • Button

    Represents a button control.

    public class Button : ButtonBase, IButtonControl
    Public Class Button
        Inherits ButtonBase
        Implements IButtonControl

    hashtag
    Constructors

    hashtag
    Button()

    Initializes a new instance of the Button class.

    hashtag
    Button(text, onClick)

    Initializes a new instance of the Button class with specific initial settings.

    Name
    Type
    Description

    text

    Initial text.

    onClick

    Optional handler.

    hashtag
    Button(text, location, size, onClick)

    Initializes a new instance of the Button class with specific initial settings.

    Name
    Type
    Description

    text

    Initial text.

    location

    Initial location.

    hashtag
    Button(text, ImageSource, location, size, onClick)

    Initializes a new instance of the Button class with specific initial settings.

    Name
    Type
    Description

    text

    Initial text.

    ImageSource

    Image source.

    hashtag
    Properties

    hashtag
    AutoSizeMode

    AutoSizeMode: Returns or sets the mode by which the Button automatically resizes itself. (Default: GrowOnly)

    hashtag
    AutoToolTip

    Booleanarrow-up-right: 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 titlearrow-up-right attribute managed by the browser, does not use the themed tooltip managed by Wisej.NET.

    hashtag
    BorderStyle

    BorderStyle: Returns or sets the border style of the button control. (Default: Solid)

    hashtag
    DialogResult

    DialogResult: Returns or sets a value that is returned to the parent form when the button is clicked. (Default: None)

    hashtag
    Display

    Display: Returns or sets the Display mode of the control to determine whether to display the icon, the text or both. (Default: Both)

    hashtag
    ImageSpacing

    Nullable<Int32>arrow-up-right: Returns or sets the distance in pixels between the image and the label inside the button. (Default: null)

    hashtag
    MenuItems

    MenuItemCollection: Returns the collection of MenuItem objects associated with the button.

    hashtag
    Repeat

    Booleanarrow-up-right: 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)

    hashtag
    Shortcut

    Shortcut: Returns or sets a value indicating the shortcut key associated with the button. (Default: None)

    hashtag
    Methods

    hashtag
    Dispose(disposing)

    Disposes the control.

    Parameter
    Type
    Description

    disposing

    true when this method is called by the application rather than a finalizer.

    hashtag
    OnAddReferences(items)

    Adds references components to the list. Referenced components can be added individually or as a reference to a collection.

    Parameter
    Type
    Description

    items

    Container for the referenced components or collections.

    hashtag
    OnBindingContextChanged(e)

    Fires the BindingContextChanged event.

    Parameter
    Type
    Description

    e

    An that contains the event data.

    hashtag
    OnClick(e)

    Fires the Click event.

    Parameter
    Type
    Description

    e

    An that contains the event data.

    hashtag
    OnItemClick(e)

    Fires the ItemClicked event.

    Parameter
    Type
    Description

    e

    A that contains the event data.

    hashtag
    OnMenuCollapse(e)

    Fires the MenuCollapse event.Since 3.5.5

    Parameter
    Type
    Description

    e

    A that contains the event data.

    hashtag
    OnMenuPopup(e)

    Fires the MenuPopup event.Since 3.5.5

    Parameter
    Type
    Description

    e

    A that contains the event data.

    hashtag
    OnWebRender(config)

    Renders the client component.

    Parameter
    Type
    Description

    config

    Dynamic configuration object.

    hashtag
    PerformClick()

    Generates a Click event for a button.

    hashtag
    Events

    hashtag
    ItemClicked

    MenuButtonItemClickedEventHandler Fired when the user clicks one of the drop down menu items.

    hashtag
    MenuCollapse

    EventHandlerarrow-up-right Fired when the button menu is closed.Since 3.5.5

    hashtag
    MenuPopup

    EventHandlerarrow-up-right Fired after the button menu is displayed on the client.Since 3.5.5

    hashtag
    Inherited By

    Name
    Description

    Represents a split button control.

    hashtag
    Implements

    Name
    Description

    Provides access to the UserData and Tag properties associated to the component implementing this interface.

    Bindable components implement this interface.

    Allows a control to act like a button on a .

    Control
    Sizearrow-up-right
    Action<Object, EventArgs>arrow-up-right
    CheckedChanged
    IImage
    IReadOnly
    ReadOnly
    IValidation
    IWisejComponent
    IWisejControl
    Control
    IWisejSerializable
    IValidation

    size

    Initial size.

    onCheckedChanged

    Optional handler.

    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 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 class must implement this interface.

    Allows an object to serialize itself.

    Stringarrow-up-right
    Action<Object, EventArgs>arrow-up-right
    CheckedChanged
    Stringarrow-up-right
    Pointarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    CancelEventArgsarrow-up-right
    EventArgsarrow-up-right
    Objectarrow-up-right
    IUserData
    IBindableComponent
    ICommandSource
    Command
    IDropTarget

    size

    Initial size.

    onClick

    Optional click handler.

    location

    Initial location.

    size

    Initial size.

    onClick

    Optional click handler.

    Defines an object that can invoke a .

    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.

    All wisej controls derived from the class must implement this interface.

    Allows an object to serialize itself.

    Stringarrow-up-right
    Action<Object, EventArgs>arrow-up-right
    Click
    Stringarrow-up-right
    Pointarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    Booleanarrow-up-right
    IListarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    MenuButtonItemClickedEventArgs
    MenuButtonItemClickedEventArgs
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    EventArgsarrow-up-right
    Objectarrow-up-right
    SplitButton
    IUserData
    IBindableComponent
    IButtonControl
    Form
    ICommandSource
    Sizearrow-up-right
    Action<Object, EventArgs>arrow-up-right
    CheckedChanged
    IImage
    IReadOnly
    ReadOnly
    IValidation
    IWisejComponent
    IWisejControl
    Control
    IWisejSerializable
    Sizearrow-up-right
    Action<Object, EventArgs>arrow-up-right
    Pointarrow-up-right
    Sizearrow-up-right
    Action<Object, EventArgs>arrow-up-right
    Command
    IDropTarget
    IImage
    IWisejComponent
    IWisejControl
    Control
    IWisejSerializable

    ClientTheme

    Wisej.Core.ClientTheme

    Namespace: Wisej.Core

    Assembly: Wisej.Framework (4.0.0.0)

    Represents a Wisej theme.

    public class ClientTheme : IWisejSerializable
    Public Class ClientTheme
        Inherits IWisejSerializable

    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: Colors, , , , , 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.

    hashtag
    Constructors

    hashtag
    ClientTheme(name)

    Default private constructor.

    Name
    Type
    Description

    hashtag
    ClientTheme(name, json)

    Constructs a new theme from the name and JSON definition.

    Name
    Type
    Description

    hashtag
    ClientTheme(name, baseTheme)

    Constructs a new theme from the base theme.

    Name
    Type
    Description

    hashtag
    Properties

    hashtag
    Appearances

    : Theme appearances.

    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.

    hashtag
    Colors

    : Theme colors.

    You can add or change any color in the current theme:

    hashtag
    Fonts

    : Theme fonts.

    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:

    hashtag
    Images

    : Theme images.

    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.

    hashtag
    Name

    : The name of the theme.

    hashtag
    Settings

    : Theme settings.

    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.

    hashtag
    Stylesheet

    : Stylesheet rules embedded in the theme.

    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.

    hashtag
    Methods

    hashtag
    GetColor(appearance, name, state)

    Returns the resolved color defined in the theme for the specified appearance, property or style name and optionally the state.

    Parameter
    Type
    Description

    Returns: . A representing the color in the theme.

    hashtag
    GetColor(name)

    Returns the resolved theme color from the color list.

    Parameter
    Type
    Description

    Returns: . A representing the color in the theme.

    hashtag
    GetFont(appearance, name, state)

    Returns the resolved font defined in the theme for the specified appearance, property name and optionally the state.

    Parameter
    Type
    Description

    Returns: . A representing the queried font or null if not found.

    hashtag
    GetFont(name)

    Returns the resolved font defined from the font list.

    Parameter
    Type
    Description

    Returns: . A representing the queried font or null if not found.

    hashtag
    GetImage(appearance, name, state)

    Returns the resolved image defined in the theme for the specified appearance, property or style name and optionally the state.

    Parameter
    Type
    Description

    Returns: . A representing the queried image or null if not found. SVG images at runtime always return null, they are resolved only at design time.

    hashtag
    GetImage(name)

    Returns the resolved image defined from the image list.

    Parameter
    Type
    Description

    Returns: . A representing the queried image or null if not found. SVG images at runtime always return null, they are resolved only at design time.

    hashtag
    GetInsets(appearance, state, includePadding)

    Returns the size of the inset border and padding.

    Parameter
    Type
    Description

    Returns: . Dimension of the border and optionally the padding as a value

    hashtag
    GetProperty<T>(appearance, name, state)

    Returns the property value for the specified name and state within the specified appearance key.

    Parameter
    Type
    Description

    Returns: . The typed value of the requested property, or default(T) if not found.

    hashtag
    GetStyle<T>(appearance, name, state)

    Returns the style value for the specified name and state within the specified appearance key.

    Parameter
    Type
    Description

    Returns: . The typed value of the requested style, or default(T) if not found.

    hashtag
    IsThemeColor(color)

    Returns true if the color is a theme color.

    Parameter
    Type
    Description

    Returns: . True if color is a theme color.

    Since the theme may also define , using on a system color returns false, but the rendering on the browser will use the color in the theme, if defined.

    hashtag
    IsThemeFont(font)

    Returns true if the font is a theme font.

    Parameter
    Type
    Description

    Returns: . True if font is a theme font.

    Theme fonts (font's with the starting with "@") are always rendered using the definition in the theme for their size and style. However, an application may use a theme font and change the size and style. In this case, the is the theme name without the "@". If the name of the font (which could be a system name like "Arial") matches a theme font, Wisej will use the theme font but it uses the size and style set by the application.

    hashtag
    TranslateColor(color)

    Returns the resolved with the proper RGB values. If the color specified in color is a theme color, the value is resolved from the current theme, otherwise the original color is returned.

    Parameter
    Type
    Description

    Returns: . A instance with the resolved RGB values.

    hashtag
    TranslateFont(font)

    Returns the resolved from the theme font. If the font is a theme font, the value is resolved from current theme.

    Parameter
    Type
    Description

    Returns: . A instance that can be used directly.

    hashtag
    Implements

    Name
    Description
    
    // create a new custom theme cloned from the current theme.
    var myTheme1 = new ClientTheme("MyTheme1", Application.Theme);
    
    // create a new custom theme from a JSON string.
    var myTheme2 = new ClientTheme("MyTheme2", json);
    

    The name of the state to query. It's optional. The default is "default".

    The name of the state to query. It's optional. The default is "default".

    The name of the state to query. It's optional. The default is "default".

    Whether to include padding in the insets dimension.

    The name of the property to retrieve.

    state

    The state that defines the property. It can omitted, the default state is "default".

    The name of the property to retrieve.

    state

    The state that defines the property. It can omitted, the default state is "default".

    name

    Stringarrow-up-right

    Unique name of the theme.

    name

    Stringarrow-up-right

    Unique name of the theme.

    json

    Stringarrow-up-right

    JSON definition of the theme.

    name

    Stringarrow-up-right

    Unique name of the theme.

    baseTheme

    ClientTheme

    Original theme to copy into the new theme.

    appearance

    Stringarrow-up-right

    The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar.

    name

    Stringarrow-up-right

    The name of the property or the style value to query.

    name

    Stringarrow-up-right

    The name of the color to resolve from the color list.

    appearance

    Stringarrow-up-right

    The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar.

    name

    Stringarrow-up-right

    The name of the property value to query.

    name

    Stringarrow-up-right

    appearance

    Stringarrow-up-right

    The appearance path that identifies the component in the theme. Nested appearances can be specified using a forward slash: i.e. window/captionbar.

    name

    Stringarrow-up-right

    The name of the property or the style value to query.

    name

    Stringarrow-up-right

    appearance

    Stringarrow-up-right

    The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon".

    state

    Stringarrow-up-right

    The state that defines the property. It can omitted, the default state is "default".

    T

    The Typearrow-up-right of the value to retrieve.

    appearance

    Stringarrow-up-right

    The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon".

    T

    The Typearrow-up-right of the value to retrieve.

    appearance

    Stringarrow-up-right

    The name of the appearance in the theme. Child component appearances can be specified using the forward slash, i.e. "button/icon".

    color

    Colorarrow-up-right

    Color to check.

    font

    Fontarrow-up-right

    Font to check.

    color

    Colorarrow-up-right

    The Colorarrow-up-right to resolve to a usable value.

    font

    Fontarrow-up-right

    The Fontarrow-up-right to resolve to a usable instance.

    IWisejSerializable

    Allows an object to serialize itself.

    Images
    Fonts
    Appearances
    Settings
    Stylesheet
    ToJSONarrow-up-right
    Objectarrow-up-right
    Objectarrow-up-right
    Objectarrow-up-right
    Objectarrow-up-right
    Stringarrow-up-right
    Objectarrow-up-right
    Objectarrow-up-right
    Colorarrow-up-right
    Colorarrow-up-right
    Colorarrow-up-right
    Colorarrow-up-right
    Fontarrow-up-right
    Fontarrow-up-right
    Fontarrow-up-right
    Fontarrow-up-right
    Imagearrow-up-right
    Imagearrow-up-right
    Imagearrow-up-right
    Imagearrow-up-right
    Padding
    Padding
    T
    T
    Booleanarrow-up-right
    SystemColorsarrow-up-right
    IsThemeColor
    Booleanarrow-up-right
    OriginalFontNamearrow-up-right
    OriginalFontNamearrow-up-right
    Colorarrow-up-right
    Colorarrow-up-right
    Colorarrow-up-right
    Fontarrow-up-right
    Fontarrow-up-right
    Fontarrow-up-right

    state

    state

    state

    includePadding

    name

    name

    
    // alter the border of buttons.
    // note that when there is a keyword clash you can use the @ prefix.
    Application.Theme.Appearances.button.states.@default.styles.width = 3;
    Application.Theme.Appearances.button.states.@default.styles.radius = 0;
    
    // additionally, you my use a string indexer to reach any property.
    Application.Theme.Appearances.button.states["default"].styles.radius = 0;
    
    
    
    // change existing color.
    Application.Theme.Colors.buttonFace = "red";
    
    // create a new color.
    Application.Theme.Colors.myCoolColor = "rgba(5,23,55,0.9)";
    
    // since the theme objects are all dynamic and use a special DynamicObject
    // class part of the Wisej Framework, you can also use a string indexer
    // to address any field.
    Application.Theme.Colors["buttonFace"] = "red";
    
    
    
    
    // make the window title bigger and bold.
    Application.Theme.Fonts.windowTitle.size = 18;
    Application.Theme.Fonts.windowTitle.bold = true;
    
    
    
    
    // create a custom css rules in the theme.
    Application.Theme.Stylesheet.rules = new []{
    
      "body: { background-color: red };",
      ".myClass: { background-color: red };"
    };
    
    
    Stringarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    Booleanarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right

    DataObject

    Wisej.Web.DataObject

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    Implements a basic data transfer mechanism.

    public class DataObject : IDataObject
    Public Class DataObject
        Inherits IDataObject

    hashtag
    Constructors

    hashtag
    DataObject()

    Initializes a new instance of the class.

    hashtag
    DataObject(data)

    Initializes a new instance of the class and adds the specified object to it.

    Name
    Type
    Description

    hashtag
    DataObject(format, data)

    Initializes a new instance of the class and adds the specified object in the specified format.

    Name
    Type
    Description

    hashtag
    DataObject(format, data)

    Initializes a new instance of the class and adds the specified object in the specified format.

    Name
    Type
    Description

    hashtag
    Methods

    hashtag
    ContainsAudio()

    Indicates whether the data object contains data in the format.

    Returns: . true if the data object contains audio data; otherwise, false.

    hashtag
    ContainsFileDropList()

    Indicates whether the data object contains data that is in the format or can be converted to that format.

    Returns: . true if the data object contains a file drop list; otherwise, false.

    hashtag
    ContainsImage()

    Indicates whether the data object contains data that is in the format or can be converted to that format.

    Returns: . true if the data object contains image data; otherwise, false.

    hashtag
    ContainsText()

    Indicates whether the data object contains data in the format.

    Returns: . true if the data object contains text data; otherwise, false.

    hashtag
    ContainsText(format)

    Indicates whether the data object contains text data in the format indicated by the specified value.

    Parameter
    Type
    Description

    Returns: . true if the data object contains text data in the specified format; otherwise, false.

    hashtag
    GetAudioStream()

    Retrieves an audio stream from the data object.

    Returns: . A containing audio data or null if the data object does not contain any data in the format.

    hashtag
    GetData(format)

    Returns the data associated with the specified class type format.

    Parameter
    Type
    Description

    Returns: . The data associated with the specified format, or null.

    hashtag
    GetData(format)

    Returns the data associated with the specified data format.

    Parameter
    Type
    Description

    Returns: . The data associated with the specified format, or null.

    hashtag
    GetData(format, autoConvert)

    Returns the data associated with the specified data format, using an automated conversion parameter to determine whether to convert the data to the format.

    Parameter
    Type
    Description

    Returns: . The data associated with the specified format, or null.

    hashtag
    GetDataPresent(format)

    Determines whether data stored in this is associated with, or can be converted to, the specified format.

    Parameter
    Type
    Description

    Returns: . true if data stored in this is associated with, or can be converted to, the specified format; otherwise, false.

    hashtag
    GetDataPresent(format)

    Returns the data associated with the specified class type format.

    Parameter
    Type
    Description

    Returns: . The data associated with the specified format, or null.

    hashtag
    GetDataPresent(format, autoConvert)

    Determines whether this contains data in the specified format or, optionally, contains data that can be converted to the specified format.

    Parameter
    Type
    Description

    Returns: . true if the data is in, or can be converted to, the specified format; otherwise, false.

    hashtag
    GetFileDropList()

    Returns the list of file types from the data object.

    Returns: . A string array containing the file types in the data object.

    hashtag
    GetFiles()

    Returns the of files uploaded by the client in a drag & drop operation.

    Returns: . A string array containing the file types in the data object.

    hashtag
    GetFormats()

    Returns a list of all formats that data stored in this is associated with or can be converted to.

    Returns: . An array of type , containing a list of all formats that are supported by the data stored in this object.

    hashtag
    GetFormats(autoConvert)

    Returns a list of all formats that data stored in this is associated with or can be converted to, using an automatic conversion parameter to determine whether to retrieve only native data formats or all formats that the data can be converted to.

    Parameter
    Type
    Description

    Returns: . An array of type , containing a list of all formats that are supported by the data stored in this object.

    hashtag
    GetImage()

    Retrieves an image from the data object.

    Returns: . An representing the image data in the data object or null if the data object does not contain any data that is in the format or can be converted to that format.

    hashtag
    GetText()

    Retrieves text data from the data object in the format.

    Returns: . The text data in the data object or if the data object does not contain data in the format.

    hashtag
    GetText(format)

    Retrieves text data from the data object in the format indicated by the specified value.

    Parameter
    Type
    Description

    Returns: . The text data in the data object or if the data object does not contain data in the specified format.

    hashtag
    SetAudio(audioBytes)

    Adds a array to the data object in the format after converting it to a .

    Parameter
    Type
    Description

    Throws:

    • audioBytes is null.

    hashtag
    SetAudio(audioStream)

    Adds a to the data object in the format.

    Parameter
    Type
    Description

    Throws:

    • audioStream is null.

    hashtag
    SetData(data)

    Adds the specified object to the using the object type as the data format.

    Parameter
    Type
    Description

    hashtag
    SetData(format, data)

    Adds the specified object to the using the specified type as the format.

    Parameter
    Type
    Description

    hashtag
    SetData(format, data)

    Adds the specified object to the using the specified format.

    Parameter
    Type
    Description

    hashtag
    SetData(format, autoConvert, data)

    Adds the specified object to the using the specified format and indicating whether the data can be converted to another format.

    Parameter
    Type
    Description

    hashtag
    SetDownloadURL(url, fileName)

    Adds a url using format. The specified url is parsed to compose the DownloadURL as: "mime-type:file-name:url".

    Parameter
    Type
    Description

    hashtag
    SetFileDropList(filePaths)

    Adds a collection of file names to the data object in the format.

    Parameter
    Type
    Description

    Throws:

    • filePaths is null.

    hashtag
    SetFileDropList(filePaths)

    Adds a collection of file names to the data object in the format.

    Parameter
    Type
    Description

    Throws:

    • filePaths is null.

    hashtag
    SetImage(image)

    Adds an to the data object in the format.

    Parameter
    Type
    Description

    Throws:

    • image is null.

    hashtag
    SetText(textData)

    Adds text data to the data object in the format.

    Parameter
    Type
    Description

    Throws:

    • textData is null or .

    hashtag
    SetText(textData, format)

    Adds text data to the data object in the format indicated by the specified value.

    Parameter
    Type
    Description

    Throws:

    • textData is null or .

    hashtag
    Implements

    Name
    Description

    The data to store.

    data

    Objectarrow-up-right

    The data to store.

    format

    Stringarrow-up-right

    The format of the specified data. See DataFormats for predefined formats.

    data

    Objectarrow-up-right

    The data to store.

    format

    Typearrow-up-right

    A Typearrow-up-right representing the format of the data.

    data

    Objectarrow-up-right

    The data to store.

    format

    TextDataFormat

    One of the TextDataFormat values.

    format

    Typearrow-up-right

    A Typearrow-up-right representing the format of the data to retrieve.

    format

    Stringarrow-up-right

    The format of the data to retrieve. See DataFormats for predefined formats.

    format

    Stringarrow-up-right

    The format of the data to retrieve. See DataFormats for predefined formats.

    autoConvert

    Booleanarrow-up-right

    true to the convert data to the specified format; otherwise, false.

    format

    Typearrow-up-right

    A Typearrow-up-right representing the format to check for.

    format

    Stringarrow-up-right

    A Typearrow-up-right representing the format of the data to retrieve.

    format

    Stringarrow-up-right

    The format to check for. See DataFormats for predefined formats.

    autoConvert

    Booleanarrow-up-right

    true to determine whether data stored in this DataObject can be converted to the specified format; false to check whether the data is in the specified format.

    autoConvert

    Booleanarrow-up-right

    true to retrieve all formats that data stored in this DataObject is associated with, or can be converted to; false to retrieve only native data formats.

    format

    TextDataFormat

    One of the TextDataFormat values.

    audioBytes

    Byte[]arrow-up-right

    A Bytearrow-up-right array containing the audio data.

    audioStream

    Streamarrow-up-right

    A Streamarrow-up-right containing the audio data.

    data

    Objectarrow-up-right

    The data to store.

    format

    Typearrow-up-right

    A Typearrow-up-right representing the format associated with the data.

    data

    Objectarrow-up-right

    The data to store.

    format

    Stringarrow-up-right

    The format associated with the data. See DataFormats for predefined formats.

    data

    Objectarrow-up-right

    The data to store.

    format

    Stringarrow-up-right

    The format associated with the data. See DataFormats for predefined formats.

    autoConvert

    Booleanarrow-up-right

    true to allow the data to be converted to another format; otherwise, false.

    url

    Stringarrow-up-right

    The url to the file to download.

    fileName

    Stringarrow-up-right

    The name of the file to download from the url.

    filePaths

    StringCollectionarrow-up-right

    A StringCollectionarrow-up-right containing the file names.

    filePaths

    String[]arrow-up-right

    A StringCollectionarrow-up-right containing the file names.

    image

    Imagearrow-up-right

    The Imagearrow-up-right to add to the data object.

    textData

    Stringarrow-up-right

    The text to add to the data object.

    textData

    Stringarrow-up-right

    The text to add to the data object.

    format

    TextDataFormat

    One of the TextDataFormat values.

    IDataObject

    Provides a format-independent mechanism for transferring data.

    DataObject
    DataObject
    DataObject
    DataObject
    WaveAudio
    Booleanarrow-up-right
    FileDrop
    Booleanarrow-up-right
    Bitmap
    Booleanarrow-up-right
    UnicodeText
    Booleanarrow-up-right
    TextDataFormat
    Booleanarrow-up-right
    Streamarrow-up-right
    Streamarrow-up-right
    WaveAudio
    Objectarrow-up-right
    Objectarrow-up-right
    Objectarrow-up-right
    DataObject
    Booleanarrow-up-right
    DataObject
    Booleanarrow-up-right
    DataObject
    Booleanarrow-up-right
    String[]arrow-up-right
    HttpFileCollection
    HttpFileCollection
    DataObject
    String[]arrow-up-right
    Stringarrow-up-right
    DataObject
    String[]arrow-up-right
    Stringarrow-up-right
    Imagearrow-up-right
    Imagearrow-up-right
    Bitmap
    UnicodeText
    Stringarrow-up-right
    Emptyarrow-up-right
    UnicodeText
    TextDataFormat
    Stringarrow-up-right
    Emptyarrow-up-right
    Bytearrow-up-right
    WaveAudio
    Streamarrow-up-right
    ArgumentNullExceptionarrow-up-right
    Streamarrow-up-right
    WaveAudio
    ArgumentNullExceptionarrow-up-right
    DataObject
    DataObject
    DataObject
    DataObject
    DownloadURL
    FileDrop
    ArgumentNullExceptionarrow-up-right
    FileDrop
    ArgumentNullExceptionarrow-up-right
    Imagearrow-up-right
    Bitmap
    ArgumentNullExceptionarrow-up-right
    UnicodeText
    ArgumentNullExceptionarrow-up-right
    Emptyarrow-up-right
    TextDataFormat
    ArgumentNullExceptionarrow-up-right
    Emptyarrow-up-right

    data

    Objectarrow-up-right

    Application

    Wisej.Web.Application

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    Represent a Wisej application session. Provides methods and events to manage the application in the context of the current session.

    public class Application : IWisejComponent, IDisposable,
    Public Class Application
        Inherits IWisejComponent
        Implements IDisposable, IWisejSynchronized

    This class provides several static methods, properties and events that allow the application to manage all sorts of features related to the current session:

    • Save and retrieve session variable. Use to store and retrieve session variable. The property is a dynamic object and a , therefore you can access its properties directly or through the indexer.

    • Manage cookies. Use to manage browser's cookies.

    • Read server variables. Use to retrieve all the data made available by the server. Some of the variables in the collection are also available directly: , , , etc.

    • Read the application's URL. Use ,

    There is a lot more exposed by the class. You can inspect all the properties and methods in Visual Studio through IntelliSense or online at .

    hashtag
    Properties

    hashtag
    ActiveProfile

    : 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.

    hashtag
    Browser

    : Returns or the client browser's information.

    hashtag
    ClientCertificate

    : 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

    hashtag
    ClientId

    : Returns the current unique client id.

    hashtag
    Clients

    : Returns a collection of all the unique client browsers using the application.

    hashtag
    CommandManager

    : Returns the current .

    hashtag
    CommonAppDataPath

    : Returns the path for the application data that is shared among all users.

    hashtag
    CommonAppDataRegistry

    : Returns the registry key for the application data that is shared among all users.

    hashtag
    CompanyName

    : Returns the company name associated with the application stored in the .

    hashtag
    Configuration

    : Returns the current .

    hashtag
    Cookies

    : Collection of cookies.

    hashtag
    Current

    : Returns the application component instance that an application can store and use later to restore the context when updating client widgets during an out-of-bound call using the method.

    Threads that are not started using don't have any knowledge of the current session and don't have a way to communicate with the client The property returns the instance of the class that is bound to the current session. It can be used just like any other component with the method or to restore the session for the current thread. The advantage of using instead of the instance of a control or a page is to avoid to keep a reference to a component that may be disposed by the application.

    hashtag
    CurrentCulture

    : Returns or sets the current for the session.

    hashtag
    Desktop

    : Returns or sets the current Desktop.

    hashtag
    EnableUnloadConfirmation

    : 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.

    hashtag
    ExecutablePath

    : Returns the path for the application's main assembly.

    hashtag
    FavIcon

    : Returns or sets the favicon to display in the browser.

    hashtag
    FavIconSource

    : Returns or sets the URL to the favicon to display in the browser.

    hashtag
    Hash

    : Returns or sets the hash part of the URL on the client.

    hashtag
    IsAuthenticated

    : Returns a value indicating whether the session has been authenticated.

    hashtag
    IsDisposed

    : Indicates that the current application instance, which corresponds to the session, has been terminated and disposed.

    hashtag
    IsExpired

    : Returns true when the current session has expired.

    hashtag
    IsSecure

    : Returns true if this session is running in secure mode (https:// and wss://)

    hashtag
    IsTerminated

    : Returns true when the current session has been terminated.

    hashtag
    IsWebSocket

    : Returns true if the current session is connected using WebSocket.

    hashtag
    LicenseInfo

    : 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 .

    • ProductName: Full name of the licensed product.

    Retrieve the values either using a dynamic object or a property indexer:

    hashtag
    LicenseKey

    : Returns or sets the runtime server license key.

    Setting the programmatically has to be done before the application is loaded. The best place is the static constructor for the Program static class, or the static constructor of the main window (if defined in Default.js).

    hashtag
    MainPage

    : Returns or sets the current full page window.

    hashtag
    OpenForms

    : Returns a collection of open forms owned by the application.

    hashtag
    OpenPages

    : Returns a collection of open pages owned by the application.

    hashtag
    Platform

    : The name of the currently loaded platform.

    hashtag
    ProductName

    : Returns the product name associated with this application.

    hashtag
    ProductVersion

    : Returns the product version associated with this application stored either in or .

    hashtag
    QueryString

    : Returns the parameters used to launch the application.

    hashtag
    Referrer

    : Returns the original URL from the first "HTTP_REFERER" header. Corresponds to the new custom server variable "ORIGINAL_REFERRER".

    This value is an empty string in most cases, since it contains the URL of the first non Wisej.NET page loaded in the browser, from which a user has clicked an hyperlink to navigate to the Wisej.NET application.

    hashtag
    RightToLeft

    : 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".

    hashtag
    RuntimeMode

    : Returns true when the application is running in not in design, debug or test mode.

    hashtag
    ServerName

    : Returns the server's host name, DNS alias, or IP address as it would appear in self-referencing URLs.

    hashtag
    ServerPort

    : Returns the port number to which the request was sent.

    hashtag
    ServerVariables

    : Returns the server variables.

    hashtag
    Services

    : Returns the implementation used by Wisej.NET to manage Dependency Injection across the application. Since 3.1

    hashtag
    Session

    : Provides a generic storage for session-based objects.

    hashtag
    SessionCount

    : Returns the total number of currently active sessions.

    hashtag
    SessionId

    : Returns the unique current session ID.

    hashtag
    ShowConsole

    : 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.

    hashtag
    ShowLoader

    : Returns or sets whether the browser is blocked by the Ajax loader.

    hashtag
    StartupPath

    : Returns the root path of the web application.

    hashtag
    StartupUri

    : Returns the URI used to start the application.

    hashtag
    StartupUrl

    : Returns the URL used to start the application.

    hashtag
    Theme

    : Returns or sets the current .

    You can create and modify a new custom theme using the class. The new theme can be based on an existing theme, can be empty, or can be initialized from a JSON string.

    You may also alter a global theme shared by all sessions.

    hashtag
    Title

    : Returns or sets the page title in the browser.

    hashtag
    Uri

    : Returns the current used either to launch or reload the application. It may be different from .

    hashtag
    Url

    : Returns the current URL used either to launch or reload the application. It may be different from .

    hashtag
    User

    : Returns the security information for the current request.

    hashtag
    UserAgent

    : Returns the raw user agent string of the client browser.

    hashtag
    UserHostAddress

    : Returns the IP host address of the remote client.

    hashtag
    UserHostName

    : Returns the DNS name of the remote client.

    hashtag
    UserIdentity

    : Returns the type for the current user.

    hashtag
    UserLanguages

    : Gets a sorted string array of client language preferences.

    hashtag
    Methods

    hashtag
    AddEventFilter(filter)

    Adds an event filter to monitor all the incoming events before they are routed to their respective component.

    Parameter
    Type
    Description

    hashtag
    AddTranslation(text, translation)

    Adds the text and corresponding translation to the default locale on the client.

    Parameter
    Type
    Description

    hashtag
    AlertAsync(message)

    Instructs the browser to display a dialog with an optional message, and to wait until the user dismisses the dialog.

    Parameter
    Type
    Description

    Returns: . An awaitable that represents the asynchronous operation.

    hashtag
    Call(function, args)

    Executes the JavaScript function on the client.

    Parameter
    Type
    Description

    hashtag
    Call(function, callback, args)

    Executes the JavaScript function on the client and receives the return value (or null) in the callback method.

    Parameter
    Type
    Description

    hashtag
    CallAsync(function, args)

    Asynchronously executes the JavaScript function on the client and returns an awaitable with the result of the remote call.

    Parameter
    Type
    Description

    Returns: . An awaitable that represents the asynchronous operation.

    hashtag
    CancelFullScreen()

    Cancels the fullscreen mode.

    hashtag
    ConfirmAsync(message)

    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.

    Parameter
    Type
    Description

    Returns: . An awaitable that represents the asynchronous operation.

    hashtag
    Dispose()

    hashtag
    Download(filePath, fileName, ondownload)

    Downloads the specified file on the client.

    Parameter
    Type
    Description

    hashtag
    Download(image, fileName, ondownload)

    Downloads the specified image to the client.

    Parameter
    Type
    Description

    hashtag
    Download(stream, fileName, ondownload)

    Downloads the bytes in the stream to the client.

    Parameter
    Type
    Description

    hashtag
    DownloadAndOpen(target, filePath, fileName, ondownload)

    Downloads the specified file on the client.

    Parameter
    Type
    Description

    hashtag
    DownloadAndOpen(target, image, fileName, ondownload)

    Downloads the specified image to the client.

    Parameter
    Type
    Description

    hashtag
    DownloadAndOpen(target, stream, fileName, ondownload)

    Downloads the bytes in the stream to the client.

    Parameter
    Type
    Description

    hashtag
    EndPolling()

    Stops the polling requests from the client.

    hashtag
    Eval(script)

    Executes the JavaScript script on the client.

    Parameter
    Type
    Description

    hashtag
    Eval(script, callback)

    Executes the JavaScript script on the client and receives the return value (or null) in the callback method.

    Parameter
    Type
    Description

    hashtag
    EvalAsync(script)

    Asynchronously executes the JavaScript script on the client and returns an awaitable with the result of the remote call.

    Parameter
    Type
    Description

    Returns: . An awaitable that represents the asynchronous operation.

    hashtag
    Exit()

    Terminates the application and the corresponding session.

    hashtag
    FindComponent(match)

    Find the first component that matches the conditions defined in the predicate function.

    Parameter
    Type
    Description

    Returns: . The first qualified by the match expression.

    This method lets an application find any live component in the current session.

    hashtag
    FindComponents(match)

    Finds all the components that match the conditions in the predicate function.

    Parameter
    Type
    Description

    Returns: . The list of instances qualified by the match expression.

    This method lets an application iterate through all the live components in the current session.

    hashtag
    GetInstance<T>(reference, builder)

    Returns a session-static instance of T . Since 3.2.7

    Parameter
    Type
    Description

    Returns: . 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 to manage session-static instances and, at the same time, improve the speed of the code that relies on the singleton objects. Using the 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:

    hashtag
    LoadAssembly(nameOrFile)

    Loads an assembly given the file name or path.

    Parameter
    Type
    Description

    Returns: . The loaded .

    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.

    hashtag
    LoadComponent(nameOrFile, className)

    Creates an instance of the specified component from the assembly.

    Parameter
    Type
    Description

    Returns: . An instance of a Wisej component implementing the interface.

    hashtag
    LoadPackages(packages, callback)

    Loads the JavaScript files indicated in the packages list.

    Parameter
    Type
    Description

    Scripts are cached using the name specified in the item and loaded only once.

    hashtag
    LoadPackagesAsync(packages)

    Loads the JavaScript files indicated in the packages list asynchronously.

    Parameter
    Type
    Description

    Returns: .

    Scripts are cached using the name specified in the item and loaded only once.

    hashtag
    LoadTheme(name, mixins)

    Changes the current theme.

    Parameter
    Type
    Description

    hashtag
    MapPath(path)

    Returns the full file path in relation to the application's project directory.

    Parameter
    Type
    Description

    Returns: . The full path relative to the current application's root directory.

    hashtag
    Navigate(url, target)

    Navigate to the specified URL.

    Parameter
    Type
    Description

    hashtag
    Navigate(url, target, onclose)

    Navigate to the specified URL in a new browser tab and receive an optional callback when the tab is closed.

    Parameter
    Type
    Description

    hashtag
    OpenWindow(url, target, windowFeatures, onclose)

    Opens the specified URL in a browser's popup window and receive an optional callback when the tab is closed.

    Parameter
    Type
    Description

    hashtag
    Play(type)

    Plays one of the built-in sounds

    Parameter
    Type
    Description

    hashtag
    Play(soundUrl)

    Plays a sound.

    Parameter
    Type
    Description

    hashtag
    Post(callback)

    Executes the callback method after all processing is completed and before updating the client.

    Parameter
    Type
    Description

    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.

    hashtag
    Print(control)

    Prints the specified control.

    Parameter
    Type
    Description

    The control is printed without the caption or the borders, if present.

    hashtag
    Print()

    Prints the entire browser window.

    hashtag
    PromptAsync(message, defaultValue)

    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.

    Parameter
    Type
    Description

    Returns: . An awaitable that represents the asynchronous operation.

    hashtag
    RefreshSessionId()

    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.

    hashtag
    Reload()

    Causes the application to reload on the browser.

    hashtag
    RemoveEventFilter(filter)

    Removes the filter from the list of registered event filters.

    Parameter
    Type
    Description

    hashtag
    RequestFullScreen()

    Requests the browser to enable fullscreen mode if supported.

    hashtag
    RunInContext(context, action)

    Executes the callback in context.

    Parameter
    Type
    Description

    hashtag
    SetInstance<T>(reference, instance)

    Replaces the object assigned to a session-static singleton. Since 3.5.2

    Parameter
    Type
    Description

    hashtag
    SetSessionTimeout(seconds)

    Sets the current session timeout in seconds.

    Parameter
    Type
    Description

    hashtag
    StartPolling(interval)

    Instructs the client to start polling the server for UI changes at the specified interval when a WebSocket connection is not available.

    Parameter
    Type
    Description

    Calling this method when is true has no effect. Use client side polling when you know that your code will start a background task that needs to update the client asynchronously (push updates) and your server or clients don't support WebSocket connections. Once the background tasks are completed call to reduce the incoming requests from the client.

    Throws:

    • The interval specified is less than 1.

    hashtag
    StartTask(action)

    Starts a new task within the current application context and returns immediately. See also .

    Parameter
    Type
    Description

    Returns: . An awaitable .

    The task runs in the background but it's still capable of updating the client asynchronously when working with WebSocket by calling the method to push the UI updates to the client browser. If you want to support background updates for clients or servers that can't use the WebSocket connection, you can either add a component to the parent container to force period requests to the server, or you can use the and methods.

    hashtag
    StartTask<T>(action)

    Starts a new task with a return value within the current application context and returns immediately. See also .

    Parameter
    Type
    Description

    Returns: .

    The task runs in the background but it's still capable of updating the client asynchronously when working with WebSocket by calling the method to push the UI updates to the client browser. The generics overload of allows the task to return a value. You can use this with the async/await pattern and asynchronously wait for the task to complete. If you want to support background updates for clients or servers that can't use the WebSocket connection, you can either add a component to the parent container to force period requests to the server, or you can use the and methods.

    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.

    hashtag
    StartTimer(dueTime, period, callback)

    Starts a bound to the current session context.

    Parameter
    Type
    Description

    Returns: . An instance of .

    You must save a reference to the returned or the Garbage Collector will stop and dispose the timer. To alter the invocation period user Timer.Changer(), or stop the timer simply use Timer.Dispose(). See .

    hashtag
    Update(context, action)

    Executes the optional callback in context and pushes all the pending updates to the client when in WebSocket mode.

    Parameter
    Type
    Description

    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:

    hashtag
    Events

    hashtag
    ActiveWindowChanged

    Fired when the active window changes.

    hashtag
    ApplicationExit

    Fired when the application is about to shut down.

    hashtag
    ApplicationRefresh

    Fired when the application is reloaded in the browser because the user hit refresh or changed the URL.

    hashtag
    ApplicationStart

    Fired when the application is started, after the Main method is called.

    hashtag
    BeforeInstallPrompt

    Fired when the browser fires the "beforeinstallprompt" event. Corresponds to .

    hashtag
    BeginRequest

    Fired at the beginning of every request.

    hashtag
    BrowserSizeChanged

    Fired when the user resizes the browser.

    hashtag
    BrowserTabActivated

    Fired when the user activates the browser tab.

    hashtag
    BrowserTabDeactivated

    Fired when the user deactivates the browser tab.

    hashtag
    CultureChanged

    Fired when the changes.

    hashtag
    EndRequest

    Fired at the end of every request.

    hashtag
    FocusedControlChanged

    Fired when the focused control changes.

    hashtag
    HashChanged

    Fired when the hash part of the URL changes on the client side.

    hashtag
    Idle

    Fired when the current thread has completed processing all the events and before the response is sent back to the client.

    hashtag
    ImpersonationBegin

    Fired right after , only when 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.

    hashtag
    ImpersonationEnd

    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.

    hashtag
    LicenseError

    Fired when a license error occurs.

    hashtag
    ResponsiveProfileChanged

    Fired when the active responsive profile is changed.

    hashtag
    RightToLeftChanged

    Fired when the value changes.

    hashtag
    SessionTimeout

    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.

    hashtag
    ThemeChanged

    Fired when the current theme is changed.

    hashtag
    ThreadException

    Fired when a thread exception is thrown.

    hashtag
    Implements

    Name
    Description
    ,
    , and
    .
  • 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.

  • Retrieve browser related information. Use the Browser to read the client browser type, OS, version, capabilities, screen size, browser size, language, and state. The Browser object is updated automatically when the user resizes the browser or the page is reloaded.

  • Control the client browser. Start a Download, execute JavaScript functions or scriptlets using Call or Eval. Make the browser navigate to a different URL using Navigate or simply Reload the page.

  • Manage the main page or current desktop. MainPage lets you change the Page object that fills the browser and "navigate" from page to page. Desktop lets you change the active Desktop object on the client browser.

  • 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.

  • CustomerName: Name of the registered customer that owns the license.

  • ExpirationDate: Expiration date for the product free updates.

  • The arguments to pass to the function.

    Optional callback invoked when fileName is downloaded.

    Optional callback invoked when fileName is downloaded.

    Optional callback invoked when fileName is downloaded.

    The name of the file to save on the client.

    ondownload

    Optional callback invoked when fileName is downloaded.

    The name of the file to save on the client.

    ondownload

    Optional callback invoked when fileName is downloaded.

    The file name the client will use to save the stream.

    ondownload

    Optional callback invoked when fileName is downloaded.

    Optional method for the creation of an instance of T .

    Callback function invoked when the browser tab is closed. Can be null.

    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.

    New value to assign to the session-static storage.

    A callback method to invoke at the specified intervals.

    IWisejSynchronized

    filter

    IEventFilter

    An object that implements the IEventFilter interface to add to the filter list.

    text

    Stringarrow-up-right

    The text to translate.

    translation

    Stringarrow-up-right

    The translation override.

    message

    Stringarrow-up-right

    A string you want to display in the alert dialog.

    function

    Stringarrow-up-right

    The name of the function to execute.

    args

    Object[]arrow-up-right

    The arguments to pass to the function.

    function

    Stringarrow-up-right

    The name of the function to execute.

    callback

    Action<Object>arrow-up-right

    Asynchronous callback method that receives the return value.

    function

    Stringarrow-up-right

    The name of the function to execute.

    args

    Object[]arrow-up-right

    The arguments to pass to the function.

    message

    Stringarrow-up-right

    A string you want to display in the confirm dialog.

    filePath

    Stringarrow-up-right

    The file to download.

    fileName

    Stringarrow-up-right

    The name of the file to save on the client.

    image

    Imagearrow-up-right

    The image to download.

    fileName

    Stringarrow-up-right

    The name of the file to save on the client.

    stream

    Streamarrow-up-right

    The stream to send to the client.

    fileName

    Stringarrow-up-right

    The file name the client will use to save the stream.

    target

    Stringarrow-up-right

    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

    Stringarrow-up-right

    The file to download.

    target

    Stringarrow-up-right

    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

    Imagearrow-up-right

    The image to download.

    target

    Stringarrow-up-right

    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

    Streamarrow-up-right

    The stream to send to the client.

    script

    Stringarrow-up-right

    The script to evaluate.

    script

    Stringarrow-up-right

    The script to evaluate.

    callback

    Action<Object>arrow-up-right

    Asynchronous callback method that receives the return value.

    script

    Stringarrow-up-right

    The script to evaluate.

    match

    Predicate<IWisejComponent>arrow-up-right

    A custom Predicatearrow-up-right expression used to match the IWisejComponent to find.

    match

    Predicate<IWisejComponent>arrow-up-right

    A custom Predicatearrow-up-right expression used to match the list of IWisejComponent objects to find.

    T

    Type of the singleton object.

    reference

    SessionReference<T>

    Thread-static reference to the T singleton.

    nameOrFile

    Stringarrow-up-right

    The file name or full path for the assembly to load.

    nameOrFile

    Stringarrow-up-right

    The file name or full path for the assembly to load.

    className

    Stringarrow-up-right

    packages

    IEnumerable<Package>arrow-up-right

    List of the JavaScript files to load.

    callback

    Action<Boolean>arrow-up-right

    Optional callback returns whether all the scripts have been loaded successfully.

    packages

    IEnumerable<Package>arrow-up-right

    List of the JavaScript files to load.

    name

    Stringarrow-up-right

    Name of the theme resource. Use only the name without the path and without the extension.

    mixins

    String[]arrow-up-right

    Optional list of theme mixin file names. If null, the default theme mixins are always applied.

    path

    Stringarrow-up-right

    url

    Stringarrow-up-right

    URL to navigate to.

    target

    Stringarrow-up-right

    The target browser window: _self, _blank, etc.

    url

    Stringarrow-up-right

    URL to navigate to.

    target

    Stringarrow-up-right

    The target browser window, cannot be _self and cannot be empty.

    url

    Stringarrow-up-right

    URL to navigate to.

    target

    Stringarrow-up-right

    The target browser window, cannot be _self and cannot be empty.

    type

    MessageBoxIcon

    One of MessageBoxIcon value that identifies the sound to play.

    soundUrl

    Stringarrow-up-right

    A string representing either a sound file URL or a base64 data URL.

    callback

    Actionarrow-up-right

    Method to invoke after the request has completed but before sending the response to the server.

    control

    IWisejControl

    The control to print, can be a window, a page or a single control.

    message

    Stringarrow-up-right

    A string of text to display to the user.

    defaultValue

    Stringarrow-up-right

    An optoional string containing the default value displayed in the text input field.

    filter

    IEventFilter

    An object that implements the IEventFilter interface to remove from the filter list.

    context

    IWisejComponent

    The application context to update. It can be any Wisej component or the IWisejComponent returned by the property Current.

    action

    Actionarrow-up-right

    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.

    T

    Type of the session-static object.

    reference

    SessionReference<T>

    Thread-static reference to the T singleton.

    seconds

    Int32arrow-up-right

    interval

    Int32arrow-up-right

    Polling interval in milliseconds. The minimum is 1000ms.

    action

    Actionarrow-up-right

    Start method invoked by the new task when it starts up.

    T

    action

    Func<T>arrow-up-right

    Start method invoked by the new task when it starts up.

    dueTime

    Int32arrow-up-right

    The amount of time, in milliseconds, to delay before invoking the callback .

    period

    Int32arrow-up-right

    The time interval between invocations, in milliseconds.

    context

    IWisejComponent

    The application context to update. It can be any Wisej component or the IWisejComponent returned by the property Current.

    action

    Actionarrow-up-right

    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.

    IWisejComponent

    All wisej components implement this interface.

    Session
    Dictionaryarrow-up-right
    Cookies
    ServerVariables
    ServerPort
    ServerName
    UserAgent
    Uri
    Url
    Application
    docs.wisejarrow-up-right
    ClientProfile
    ClientBrowser
    X509Certificate2arrow-up-right
    Stringarrow-up-right
    ClientCollection
    CommandManager
    CommandManager
    Stringarrow-up-right
    RegistryKeyarrow-up-right
    Stringarrow-up-right
    AssemblyCompanyAttributearrow-up-right
    Configuration
    Configuration
    CookieCollection
    IWisejComponent
    Update
    StartTask
    Current
    Application
    Update
    RunInContext
    Current
    CultureInfoarrow-up-right
    CultureInfoarrow-up-right
    Desktop
    Booleanarrow-up-right
    Stringarrow-up-right
    Imagearrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Objectarrow-up-right
    LicenseKey
    Stringarrow-up-right
    LicenseKey
    Page
    FormCollection
    PageCollection
    ClientPlatform
    Stringarrow-up-right
    Stringarrow-up-right
    AssemblyInformationalVersionAttributearrow-up-right
    AssemblyFileVersionAttributearrow-up-right
    NameValueCollectionarrow-up-right
    Stringarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Stringarrow-up-right
    Int32arrow-up-right
    NameValueCollectionarrow-up-right
    ServiceProvider
    ServiceProvider
    Objectarrow-up-right
    Int32arrow-up-right
    Stringarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Stringarrow-up-right
    Uriarrow-up-right
    Stringarrow-up-right
    ClientTheme
    ClientTheme
    ClientTheme
    Stringarrow-up-right
    Uriarrow-up-right
    Uriarrow-up-right
    StartupUri
    Stringarrow-up-right
    StartupUrl
    IPrincipalarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    WindowsIdentityarrow-up-right
    WindowsIdentityarrow-up-right
    String[]arrow-up-right
    Taskarrow-up-right
    Taskarrow-up-right
    Taskarrow-up-right
    Task<Object>arrow-up-right
    Taskarrow-up-right
    Task<Boolean>arrow-up-right
    Taskarrow-up-right
    Taskarrow-up-right
    Task<Object>arrow-up-right
    Taskarrow-up-right
    IWisejComponent
    IWisejComponent
    IList<IWisejComponent>arrow-up-right
    IWisejComponent
    T
    ThreadStaticAttributearrow-up-right
    ThreadStaticAttributearrow-up-right
    Assemblyarrow-up-right
    Assemblyarrow-up-right
    IWisejComponent
    IWisejComponent
    Packagearrow-up-right
    Task<Boolean>arrow-up-right
    Packagearrow-up-right
    Stringarrow-up-right
    Task<String>arrow-up-right
    Taskarrow-up-right
    IsWebSocket
    EndPolling
    ArgumentOutOfRangeExceptionarrow-up-right
    background-tasksarrow-up-right
    Taskarrow-up-right
    Taskarrow-up-right
    Update
    Timer
    StartPolling
    EndPolling
    background-tasksarrow-up-right
    Task<T>arrow-up-right
    Update
    StartTask
    Timer
    StartPolling
    EndPolling
    Timerarrow-up-right
    Timerarrow-up-right
    Timerarrow-up-right
    Timerarrow-up-right
    system.threadingarrow-up-right
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    BeforeInstallPromptEventarrow-up-right
    RequestEventHandler
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    CurrentCulture
    RequestEventHandler
    EventHandlerarrow-up-right
    HashChangedEventHandler
    EventHandlerarrow-up-right
    HandledEventHandlerarrow-up-right
    ThreadBegin
    Impersonate
    HandledEventHandlerarrow-up-right
    LicenseErrorEventHandler
    ResponsiveProfileChangedEventHandler
    EventHandlerarrow-up-right
    RightToLeft
    HandledEventHandlerarrow-up-right
    EventHandlerarrow-up-right
    ThreadExceptionEventHandlerarrow-up-right

    args

    ondownload

    ondownload

    ondownload

    fileName

    fileName

    fileName

    builder

    onclose

    windowFeatures

    instance

    callback

    StartupUri
    StartupUrl
    
        Application.Session.myValue = 12;
        Application.Session["myValue"] = 12;
      
    
    var current = Application.Current;
    var thread = new Thread(() => {
      Application.Update(current, () => {
      
        // code here is running in context.
        
      });
    });
    
    
      string productName = Application.LicenseInfo.ProductName;
      string customerName = Application.LicenseInfo["CustomerName"];
    
    
    static class Program
    {
      static Program()
      {
        Application.LicenseKey = "...";
      }
    }
    
    
    // create a new custom theme cloned from the current theme.
    var myTheme = new ClientTheme("MyTheme", Application.Theme);
    
    // alter the buttonFace color.
    myTheme.Colors.buttonFace = "red";
    
    // update the current session using the new custom theme.
    Application.Theme = myTheme;
    
    
    
    // change the buttonFace color in the current theme.
    // if the theme is one of the global themes, i.e. it was loaded
    // using Application.LoadTheme(name), then the change is also global.
    Application.Theme.Colors.buttonFace = "red";
    
    // since the theme objects are all dynamic and use a special DynamicObject
    // class part of the Wisej Framework, you can also use a string indexer
    // to address any field.
    Application.Theme.Colors["buttonFace"] = "red";
    
    
    
      // Find the first component that is a Button with Text = "OK"
      var button = Application.FindComponent(c => c is Button && ((Button)c).Text == "OK");
    
    
      // List all text boxes that are read only in all forms.
      var list = Application.FindComponents(c => c is TextBox && ((TextBox)c).ReadOnly);
    
    
    
    public class MyStatics {
    
      // Thread-static singleton.
      [ThreadStatic] private static SessionReference<MyStatics> _instance;
      
      // Previously static fields (or properties).
      public int Counter;
    
      // Session singleton.
      public MyStatics Instance
        => Application.GetInstance(ref _instance);
        
      public static void DoSomething()
      {
        // was MyStatics.Counter++;
        MyStatics.Instance.Counter++;
      }
    }
    
    
    
    
    public class MyStatics {
    
      private MyStatics() { };
      
      // Thread-static singleton.
      [ThreadStatic] private static SessionReference<MyStatics> _instance;
      
      // Previously static fields (or properties).
      public int Counter;
    
      // Session singleton.
      public MyStatics Instance
        => Application.GetInstance(ref _instance, () => new MyStatics());
        
      public static void DoSomething()
      {
        // was MyStatics.Counter++;
        MyStatics.Instance.Counter++;
      }
    }
    
    
    
    void Test() {
    
      Application.Post(() => {
        this.listBox.Items.Add("1");
      });
      
      this.listBox.Items.Add("2");
      
      // The items will be added in this order: "2", "1".
    }
    
    
    
    
    // this has not effect when the client and server are connected using WebSocket.
    Application.StartPolling(1000);
    
    Application.StartTask(() => {
    
      for (int i = 0; i < 100; i++) {
        this.label1.Text = "Counting..." + i;
        Thread.Sleep(1000);
      }
      
      // this has not effect when the client and server are NOT connected using WebSocket.
      Application.Update(this);
    
      // this has not effect when the client and server are connected using WebSocket.
      Application.EndPolling();
    
    });
    
    
    Application.StartTask(() => {
    
      for (int i = 0; i < 100; i++) {
      
        this.label1.Text = "Counting..." + i;
        
        // just wait a bit or it's too fast.
        Thread.Sleep(1000);
        Application.Update(this);
      }
    });
    
    
    string text = await Application.StartTask(() => {
    
      string value = "";
      for (int i = 0; i < 100; i++) {
      
        value += i.ToString();
        
        // just wait a bit or it's too fast.
        Thread.Sleep(100);
      }
      return value;
    });
    
    this.label.Text = text;
    Application.Update(this);
    
    
    
    Application.StartTask(() => {
    
        for (int i = 0; i < 100; i++) {
        
          this.label1.Text = "Counting..." + i;
          
          // just wait a bit or it's too fast.
          Thread.Sleep(1000);
        }
        
        Application.Update(this);
    
    });
    
    
    Application.StartTask(() => {
    
        Application.Update(this, () => {
        
          for (int i = 0; i < 100; i++) {
        
            this.label1.Text = "Counting..." + i;
          
            // just wait a bit or it's too fast.
            Thread.Sleep(1000);
          }
        });
    
    });
    
    Object[]arrow-up-right
    Action<String>arrow-up-right
    Action<String>arrow-up-right
    Action<String>arrow-up-right
    Stringarrow-up-right
    Action<String>arrow-up-right
    Stringarrow-up-right
    Action<String>arrow-up-right
    Stringarrow-up-right
    Action<String>arrow-up-right
    Func<T>arrow-up-right
    Actionarrow-up-right
    Stringarrow-up-right
    Actionarrow-up-right
    T
    Actionarrow-up-right

    Control

    Wisej.Web.Control

    Namespace: Wisej.Web

    Assembly: Wisej.Framework (4.0.0.0)

    Base class for all Wisej controls.

    public class Control : IWisejControl, IWisejComponent,
    Public Class Control
        Inherits IWisejControl
        Implements IWisejComponent, IBindableComponent, IWisejSerializable, IHasPropertyStore, IHasResponsiveProfiles, IDropTarget, IUserData

    hashtag
    Constructors

    hashtag
    Control()

    Initializes a new instance of the class.

    hashtag
    Properties

    hashtag
    AccessibleDescription

    : 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)

    hashtag
    AccessibleName

    : 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)

    hashtag
    AccessibleRole

    : Returns or sets the accessible role of the control that will be reported to accessibility client applications. It is assigned to the "role" attribute of the browser element. (Default: Default)

    hashtag
    AllowDrag

    : Returns or sets whether the control can initiate a drag-drop operation. (Default: False)

    hashtag
    AllowDrop

    : Returns or sets whether the control can accept data that the user drags onto it. (Default: False)

    hashtag
    Anchor

    : 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)

    hashtag
    Anonymous

    : Returns or sets whether the control receives pointer events. Anonymous controls let pointer events bubble to their parents. (Default: False)

    hashtag
    AppearanceKey

    : Sets the appearance key for the theme engine. (Default: null)

    hashtag
    BackColor

    : Returns or sets the background color for the control.

    hashtag
    BackgroundImage

    : Returns or sets the background image displayed in the control. (Default: null)

    hashtag
    BackgroundImageLayout

    : Returns or sets the background image layout as defined in the enumeration. (Default: None)

    hashtag
    BackgroundImageSource

    : Returns or sets the background image displayed in the control. (Default: null)

    hashtag
    BecomingActiveControl

    : Returns a flag indicating that the control is becoming the active control.

    hashtag
    BindingContext

    : Returns or sets the for the control.

    hashtag
    Bottom

    : Returns the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.

    hashtag
    Bounds

    : Returns or sets the size and location of the control including its non-client area, in pixels and relative to the parent control.

    hashtag
    CanExecute

    : Determines whether the control can execute a command.

    hashtag
    CanFocus

    : Returns whether the control can receive focus.

    hashtag
    CanSelect

    : Returns whether the control can be selected.

    hashtag
    Capture

    : Returns or sets whether the control has captured the mouse.

    hashtag
    CausesValidation

    : 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)

    hashtag
    ClientEvents

    : Returns a collection of client events and JavaScript listeners. You may attach multiple listeners to same event.

    You can use this collection at design time or in code or through the listener methods:

    hashtag
    ClientRectangle

    : Returns the client rectangle of the control.

    hashtag
    ClientSize

    : Returns or sets the height and width of the client area.

    hashtag
    ContainsFocus

    : Indicates whether the control, or one of its child controls, has the input focus.

    hashtag
    ContextMenu

    : Returns or sets the shortcut menu associated with the control. (Default: null)

    hashtag
    Controls

    : Returns the collection of controls contained within the control.

    hashtag
    Created

    : Returns a value indicating whether the control has been created.

    hashtag
    CssClass

    : 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:

    hashtag
    CssStyle

    : Returns or sets the custom CSS styles to add to the widget.

    You can use any CSS style string.

    hashtag
    Cursor

    : Returns or sets the cursor that is displayed when the mouse pointer is over the control. (Default: null)

    hashtag
    DataBindings

    : Returns the data bindings for the control.

    hashtag
    DefaultBackColor

    : Returns the default background color of the control.

    hashtag
    DefaultCursor

    : Returns or sets the default cursor for the control.

    hashtag
    DefaultFont

    : Returns the default font of the control.

    hashtag
    DefaultForeColor

    : Returns the default background color of the control.

    hashtag
    DefaultMargin

    : Returns the default value for the property.

    hashtag
    DefaultMaximumSize

    : Returns the length and height, in pixels, that is specified as the default maximum size of a control.

    hashtag
    DefaultMinimumSize

    : Returns the length and height, in pixels, that is specified as the default minimum size of a control.

    hashtag
    DefaultPadding

    : Returns the internal spacing, in pixels, of the contents of a control.

    hashtag
    DefaultSize

    : Returns the default size of the control.

    hashtag
    DisplayRectangle

    : Returns the rectangle that represents the virtual display area of the control.

    hashtag
    Disposing

    : Returns whether the control is in the process of disposing itself and child controls.

    hashtag
    Dock

    : Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Default: None)

    hashtag
    Enabled

    : Returns or sets whether the control can respond to user interaction.

    hashtag
    EnableNativeContextMenu

    : Enables or disables the browser's context menu.

    hashtag
    Focusable

    : Returns or sets whether the control can gain the focus. (Default: True)

    hashtag
    Focused

    : Returns a value indicating whether the control has input focus.

    hashtag
    Font

    : Gets or sets the font of the text displayed by the control.

    hashtag
    FontHeight

    : Returns or sets the height of the font of the control.

    hashtag
    ForeColor

    : Returns or sets the text color of the control.

    hashtag
    Handle

    : Returns the unique server-side id (handle) for this component.

    hashtag
    HasChildren

    : Returns whether the control contains any child control.

    hashtag
    HasDataBindings

    : Returns whether the control specifies data bindings.

    hashtag
    HasResponsiveProfiles

    : Check if the control defines any responsive profile without forcing the creation of the collection.

    hashtag
    HasUserData

    : Checks if the dynamic object was created and has any value.

    hashtag
    Height

    : Returns or sets the height of the control.

    hashtag
    InitScript

    : 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:

    hashtag
    InvokeRequired

    : Returns true when this control belongs to a session different than the currently executing thread.

    hashtag
    IsDisposed

    : Returns whether the control has been disposed.

    hashtag
    IsHandleCreated

    : Returns if the control has a server-side component id (handle) associated with it.

    hashtag
    IsMirrored

    : Returns whether the control is mirrored.

    hashtag
    LayoutEngine

    : Returns the control's layout engine.

    hashtag
    Left

    : Returns or sets the distance, in pixels, between the left edge of the control and the left edge of its container's client area.

    hashtag
    Location

    : Returns or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.

    hashtag
    Margin

    : Returns or sets the space between controls.

    hashtag
    MaximumSize

    : Returns or sets the maximum size for the control.

    hashtag
    MinimumSize

    : Returns or sets the minimum size for the control.

    hashtag
    ModifierKeys

    : Returns a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state.

    hashtag
    MouseButtons

    : Returns a value indicating which of the mouse buttons is in a pressed state.

    hashtag
    MousePosition

    : Returns the position of the mouse cursor in screen coordinates.

    hashtag
    Movable

    : Returns or sets whether the control can be moved by dragging.

    hashtag
    Name

    : Gets or sets the name of the control.

    hashtag
    Padding

    : Returns or sets padding within the control.

    hashtag
    Parent

    : Returns or sets the parent container of the control.

    hashtag
    PreferredSize

    : Returns the preferred size in which the control can fit.

    hashtag
    ResizableEdges

    : Returns or sets the edges of the control that can be dragged to resize the control.

    hashtag
    ResponsiveProfiles

    : Returns the collection of responsive properties that have been set for this control.

    hashtag
    Right

    : Return the distance, in pixels, between the right edge of the control and the left edge of its container's client area.

    hashtag
    RightToLeft

    : 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.

    circle-info

    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.

    hashtag
    Selectable

    : 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.

    hashtag
    ShowLoader

    : Returns or sets whether the control is blocked by the ajax loader. (Default: False)

    hashtag
    Size

    : Returns or sets the height and width of the control.

    hashtag
    States

    : Returns or sets additional theme states to the client widget.

    Use this property to manage additional custom states that you may want to add to a widget. The state will update the visualization of the widget using the styles and properties set in the current theme and loaded theme mixins. You can also force the usage of built-in states. However, this property will not return the current states of the widget as updated by the client browser. It only returns the states set by the application.

    In addition to setting this property directly, you can also manage it using the related methods:

    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 .

    hashtag
    TabIndex

    : Returns or sets the tab order of the control within its container.

    hashtag
    TabStop

    : 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)

    hashtag
    Tag

    : Returns or sets the object that contains data about the control. (Default: null)

    hashtag
    Text

    : Returns or sets the text associated with this control. (Default: "")

    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/>".

    hashtag
    ToolTipText

    : 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.

    hashtag
    Top

    : Returns or sets the distance, in pixels, between the top edge of the control and the top edge of its container's client area.

    hashtag
    TopLevelControl

    : Returns the parent control that is not parented by another . Typically, this is the outermost that the control is contained in.

    hashtag
    UserData

    : Returns a dynamic object that can be used to store custom data in relation to this control.

    hashtag
    UseWaitCursor

    : Returns or sets whether to use the wait cursor for the current control and all child controls. (Default: False)

    hashtag
    ValidationCancelled

    : Returns a flag indicating that the validation has been canceled.

    hashtag
    Visible

    : Returns or sets whether the control and all its child controls are displayed.

    hashtag
    WheelDelta

    : Returns a value indicating the wheel delta from the last wheel event.

    hashtag
    Width

    : Returns or sets the width of the control.

    hashtag
    Methods

    hashtag
    AddClientEventListener(name, script)

    Adds a new listener script to the event name to the client widget.

    Parameter
    Type
    Description

    Returns: . An integer id that you can use to remove the listener from the event using or to retrieve the listener script code using .

    The script will execute in the browser when the event name occurs. You can attach multiple listeners to the same event.

    hashtag
    AddCssClass(name)

    Adds the CSS class name to the widget element. If the class already exists in the it's not added.

    Parameter
    Type
    Description

    Returns: . The new value of the property.

    hashtag
    AddState(state)

    Adds the specified theme state to the widget.

    Parameter
    Type
    Description

    Returns: . The new list of states stored in the property.

    You can also assign a new array of states to the property.

    hashtag
    AddState(state, forward)

    Adds the specified theme state to the widget and optionally propagates it to the child components when forward is true. Since 3.5.5

    Parameter
    Type
    Description

    Returns: . The new list of states stored in the property.

    You can also assign a new array of states to the property.

    hashtag
    BeginInvoke(method)

    Executes the specified delegate asynchronously, in the context of the session that owns the control.

    Parameter
    Type
    Description

    Returns: . An that represents the result of the operation.

    hashtag
    BeginInvoke(method, args)

    Executes the specified delegate asynchronously, in the context of the session that owns the control, with the specified list of arguments.

    Parameter
    Type
    Description

    Returns: . An that represents the result of the asynchronous call.

    hashtag
    BringToFront()

    Brings the control to the front of the z-order.

    Returns: .

    hashtag
    Call(function, args)

    Runs the JavaScript function within the component's context in the browser.

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    Call(function, callback, args)

    Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    CallAsync(function, args)

    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.

    Parameter
    Type
    Description

    Returns: . An awaitable that represents the asynchronous operation.

    hashtag
    CenterToParent()

    Centers the position of the control within the bounds of the parent.

    Returns: . this control

    hashtag
    CenterToParent(horizontal, vertical)

    Centers the position of the control within the bounds of the parent either horizontally, vertically or both.

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    Contains(control)

    Indicates whether the specified control is a child of this control.

    Parameter
    Type
    Description

    Returns: . true if the specified control is a child of the control; otherwise, false.

    hashtag
    CreateControl()

    Creates and register this control and all its children.

    Returns: .

    hashtag
    CreateControlsInstance()

    Creates a new instance of the control collection for the control.

    Returns: . An instance of .

    hashtag
    Dispose(disposing)

    Disposes the control.

    Parameter
    Type
    Description

    hashtag
    DoDragDrop(data, allowedEffects)

    Begins a drag-and-drop operation.

    Parameter
    Type
    Description

    Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.

    hashtag
    DoDragDrop(data, allowedEffects, imageSource)

    Begins a drag-and-drop operation.

    Parameter
    Type
    Description

    Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.

    hashtag
    DoDragDrop(data, allowedEffects, imageSource, imageSize)

    Begins a drag-and-drop operation.

    Parameter
    Type
    Description

    Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.

    hashtag
    DoDragDrop(data, allowedEffects, image)

    Begins a drag-and-drop operation.

    Parameter
    Type
    Description

    Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.

    hashtag
    DoDragDrop(data, allowedEffects, image, imageSize)

    Begins a drag-and-drop operation.

    Parameter
    Type
    Description

    Returns: . A value from the enumeration that represents the final effect that was performed during the drag-and-drop operation.

    hashtag
    EndInvoke(asyncResult)

    Retrieves the return value from the asynchronous operation represented by asyncResult .

    Parameter
    Type
    Description

    Returns: . The return value from the asynchronous operation.

    hashtag
    Eval(javaScript)

    Runs the javaScript code within the component's context in the browser.

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    Eval(javaScript, callback)

    Runs the javaScript code within the component's context in the browser and returns the value to the callback method.

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    EvalAsync(javaScript)

    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.

    Parameter
    Type
    Description

    Returns: . An awaitable that represents the asynchronous operation.

    hashtag
    FindForm()

    Retrieves the that contains the control.

    Returns: .

    hashtag
    FindPage()

    Retrieves the that contains the control.

    Returns: .

    hashtag
    Focus()

    Sets input focus to the control.

    Returns: . true if the input focus request was successful; otherwise, false.

    hashtag
    GetAutoSizeMode()

    Returns how a control will behave when its AutoSize property is enabled.

    Returns: . One of the values.

    hashtag
    GetChildAtPoint(pt, skipValue)

    Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.

    Parameter
    Type
    Description

    Returns: . The child at the specified coordinates.this control

    hashtag
    GetChildAtPoint(pt)

    Retrieves the child control that is located at the specified coordinates.

    Parameter
    Type
    Description

    Returns: . A that represents the control that is located at the specified point.

    hashtag
    GetClientEventListener(id)

    Returns the script associated to the listener identified by id .

    Parameter
    Type
    Description

    Returns: . JavaScript associated with the listener.

    hashtag
    GetClientEventListener(name)

    Returns the scripts for all the listeners attached to the event name .

    Parameter
    Type
    Description

    Returns: . String array containing the scripts for the listeners attached to the event.

    hashtag
    GetContainerControl()

    Returns the next up the control's chain of parents.

    Returns: . The parent .

    hashtag
    GetIconAlign(alignment)

    Converts ContentAlignment to the equivalent iconAlign value.

    Parameter
    Type
    Description

    Returns: .

    hashtag
    GetNextControl(control, forward)

    Retrieves the next control forward or back in the tab order of child controls.

    Parameter
    Type
    Description

    Returns: . The next in the tab order.

    hashtag
    GetStyle(flag)

    Retrieves the value of the specified control style bit for the control.

    Parameter
    Type
    Description

    Returns: . true if the specified control style bit is set to true; otherwise, false.

    hashtag
    GetTopLevel()

    Determines if the control is a top-level control.

    Returns: . true if the control is a top-level container: , , .

    hashtag
    HasClientEventListener(name)

    Checks whether the specified event name has any listener attached.

    Parameter
    Type
    Description

    Returns: . True if the event name has any listener attached.

    hashtag
    HasCssClass(name)

    Returns true if the property contains the specified class name .

    Parameter
    Type
    Description

    Returns: . True of the css class name is already included in .

    hashtag
    HasState(state)

    Checks whether the specified theme state is present in the property.

    Parameter
    Type
    Description

    Returns: . True if the widget already has the state .

    To check only if a propagated state is present, use HasState("state+");

    hashtag
    Hide()

    Conceals the control from the user.

    Returns: .

    hashtag
    Invalidate()

    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.

    hashtag
    Invalidate(invalidateChildren)

    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.

    Parameter
    Type
    Description

    hashtag
    Invoke(method)

    Executes the specified delegate, in the context of the session that owns the control.

    Parameter
    Type
    Description

    Returns: . The return value from the delegate being invoked, or null if the delegate has no return value.

    hashtag
    Invoke(method, args)

    Executes the specified delegate, in the context of the session that owns the control, with the specified list of arguments.

    Parameter
    Type
    Description

    Returns: . An that contains the return value from the delegate being invoked, or null if the delegate has no return value.

    hashtag
    InvokeOnClick(control, e)

    Raises the event for the specified control.

    Parameter
    Type
    Description

    hashtag
    IsInputChar(charCode)

    Determines whether a character is an input character.

    Parameter
    Type
    Description

    Returns: . true if the character is an input character; otherwise, false.

    hashtag
    IsInputKey(keyData)

    Determines whether the specified key is a regular input key.

    Parameter
    Type
    Description

    Returns: . true if the specified key is a regular input key; otherwise, false.

    hashtag
    IsMnemonic(charCode, text)

    Determines whether the specified character is the mnemonic character.

    Parameter
    Type
    Description

    Returns: . true if the charCode character is the mnemonic character; otherwise, false.

    hashtag
    LayoutChildren(dock, spacing, useMargins, hAlign, vAlign)

    Arranges all the child using the specified dock style, spaced by spacing pixels.

    Parameter
    Type
    Description

    hashtag
    LayoutChildren(dock, viewArea, spacing, useMargins, hAlign, vAlign)

    Arranges all the child using the specified dock style, spaced by spacing pixels.

    Parameter
    Type
    Description

    hashtag
    LayoutChildren(controls, dock, spacing, useMargins, hAlign, vAlign)

    Arranges all the child using the specified dock style, spaced by spacing pixels.

    Parameter
    Type
    Description

    hashtag
    LayoutChildren(controls, dock, viewArea, spacing, useMargins, hAlign, vAlign)

    Arranges all the child using the specified dock style, spaced by spacing pixels.

    Parameter
    Type
    Description

    hashtag
    LayoutChildren(direction, spacing, useMargins, hAlign, vAlign)

    Arranges all the child in the specified direction , spaced by spacing pixels.

    Parameter
    Type
    Description

    hashtag
    LayoutChildren(direction, viewArea, spacing, useMargins, hAlign, vAlign)

    Arranges all the child in the specified direction , spaced by spacing pixels, and constrained within the specified viewArea .

    Parameter
    Type
    Description

    hashtag
    LayoutChildren(controls, direction, spacing, useMargins, hAlign, vAlign)

    Arranges the specified child controls in the specified direction , spaced by spacing pixels.

    Parameter
    Type
    Description

    Throws:

    • One of the controls is not a child of this control.

    hashtag
    LayoutChildren(controls, direction, viewArea, spacing, useMargins, hAlign, vAlign)

    Arranges the specified child controls in the specified direction , spaced by spacing pixels, and constrained within the specified viewArea .

    Parameter
    Type
    Description

    Throws:

    • One of the controls is not a child of this control.

    hashtag
    OnAddReferences(items)

    Adds references components to the list. Referenced components can be added individually or as a reference to a collection.

    Parameter
    Type
    Description

    hashtag
    OnAppear(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnAutoSizeChanged(e)

    Raises the event.

    Parameter
    Type
    Description

    hashtag
    OnBackColorChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnBackgroundImageChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnBackgroundImageLayoutChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnBecomingActiveControlChanged(e)

    Raises the event.

    Parameter
    Type
    Description

    hashtag
    OnBindingContextChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnCausesValidationChanged(e)

    Raises the event.

    Parameter
    Type
    Description

    hashtag
    OnClick(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnClientSizeChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnContextMenuChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnControlAdded(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnControlCreated(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnControlRemoved(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnCursorChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnDisappear(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnDockChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnDoubleClick(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnDragDrop(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnDragEnd(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnDragEnter(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnDragLeave(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnDragOver(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnDragStart(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnEnabledChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnEndMove(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnEndResize(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnEnter(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnFontChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnForeColorChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnGotFocus(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnHelpRequested(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnImeModeChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnKeyDown(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnKeyPress(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnKeyUp(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnLayout(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnLeave(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnLocationChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnLongTap(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnLostFocus(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnMarginChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnMouseCaptureChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnMouseClick(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnMouseDoubleClick(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnMouseDown(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnMouseEnter(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnMouseHover(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnMouseLeave(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnMouseMove(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnMouseUp(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnMouseWheel(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnPaddingChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnParentBackColorChanged(e)

    Fires the event when the property value of the control's container changes.

    Parameter
    Type
    Description

    hashtag
    OnParentBackgroundImageChanged(e)

    Fires the event when the property value of the control's container changes.

    Parameter
    Type
    Description

    hashtag
    OnParentBindingContextChanged(e)

    Fires the event when the property value of the control's container changes.

    Parameter
    Type
    Description

    hashtag
    OnParentChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnParentCursorChanged(e)

    Fires the event when the property of the control's container changes.

    Parameter
    Type
    Description

    hashtag
    OnParentEnabledChanged(e)

    Fires the event when the property value of the control's container changes.

    Parameter
    Type
    Description

    hashtag
    OnParentFontChanged(e)

    Fires the event when the property value of the control's container changes.

    Parameter
    Type
    Description

    hashtag
    OnParentForeColorChanged(e)

    Fires the event when the property value of the control's container changes.

    Parameter
    Type
    Description

    hashtag
    OnParentRightToLeftChanged(e)

    Fires the event when the property value of the control's container changes.

    Parameter
    Type
    Description

    hashtag
    OnParentVisibleChanged(e)

    Fires the event when the property value of the control's container changes.

    Parameter
    Type
    Description

    hashtag
    OnPinch(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnPreviewKeyDown(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnResize(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnResponsiveProfileChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnRightToLeftChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnRotate(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnSizeChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnStartMove(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnStartResize(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnSwipe(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnTabIndexChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnTabStopChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnTap(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnTextChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnTouchCancel(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnTouchEnd(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnTouchMove(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnTouchStart(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnTrack(e)

    Fires the event.

    Parameter
    Type
    Description

    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.

    hashtag
    OnValidated(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnValidating(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnVisibleChanged(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    OnWebEvent(e)

    Processes the event from the client.

    Parameter
    Type
    Description

    hashtag
    OnWebPaint(g)

    Allows the control to paint itself.

    Parameter
    Type
    Description

    hashtag
    OnWebRender(config)

    Renders the client component.

    Parameter
    Type
    Description

    hashtag
    OnWebUpdate(state)

    Updates the client component using the state information.

    Parameter
    Type
    Description

    hashtag
    OnWidgetEvent(e)

    Fires the event.

    Parameter
    Type
    Description

    hashtag
    PerformLayout()

    Forces the control to apply layout logic to all its child controls.

    hashtag
    PerformLayout(affectedControl, affectedProperty)

    Forces the control to apply layout logic to all its child controls.

    Parameter
    Type
    Description

    hashtag
    PointToClient(point)

    Computes the location of the specified screen point into client coordinates.

    Parameter
    Type
    Description

    Returns: . A that represents the converted , point , in client coordinates.

    hashtag
    PointToScreen(point)

    Computes the location of the specified client point into screen coordinates.

    Parameter
    Type
    Description

    Returns: . A that represents the converted , point , in screen coordinates.

    hashtag
    ProcessCmdKey(keyData)

    Processes a command key.

    Parameter
    Type
    Description

    Returns: . true if the character was processed by the control; otherwise, false.

    hashtag
    ProcessDialogChar(charCode)

    Processes a dialog character.

    Parameter
    Type
    Description

    Returns: . true if the character was processed by the control; otherwise, false.

    hashtag
    ProcessDialogKey(keyData)

    Processes a dialog key.

    Parameter
    Type
    Description

    Returns: . true if the key was processed by the control; otherwise, false.

    hashtag
    ProcessKeyPreview(e)

    Processes a key event before the KeyDown and KeyUp events.

    Parameter
    Type
    Description

    Returns: . true if the key event was processed by the control; otherwise, false.

    hashtag
    RectangleToClient(rect)

    Computes the size and location of the specified screen rectangle in client coordinates.

    Parameter
    Type
    Description

    Returns: . A that represents the converted , rect , in client coordinates.

    hashtag
    RectangleToScreen(rect)

    Computes the size and location of the specified client rectangle in screen coordinates.

    Parameter
    Type
    Description

    Returns: . A that represents the converted , rect , in screen coordinates.

    hashtag
    Refresh()

    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.

    hashtag
    Refresh(refreshChildren)

    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.

    Parameter
    Type
    Description

    hashtag
    RemoveClientEventListener(id)

    Detaches and removes the listener identified by id .

    Parameter
    Type
    Description

    Returns: . True if the id specified a valid lister and it was removed; otherwise false if id is invalid.

    hashtag
    RemoveClientEventListener(name)

    Removes all the listeners attached to the event name .

    Parameter
    Type
    Description

    Returns: . True if the event name has any listener that was removed.

    hashtag
    RemoveCssClass(name)

    Removes the specified css class name from the control's property.

    Parameter
    Type
    Description

    Returns: . The new value of the property.

    hashtag
    RemoveState(state)

    Removes the specified theme state from the widget.

    Parameter
    Type
    Description

    Returns: . The new list of states stored in the property.

    You can also assign a new array of states to the property.

    hashtag
    RemoveState(state, forward)

    Removes the specified theme state from the widget. Since 3.5.5

    Parameter
    Type
    Description

    Returns: . The new list of states stored in the property.

    You can also assign a new array of states to the property.

    hashtag
    ResetBindings()

    Removes all the data bindings from the control.

    Returns: .

    hashtag
    ResolveColor(color)

    Resolves the named or themed color to an actual usable color value.

    Parameter
    Type
    Description

    Returns: .

    hashtag
    ResumeLayout()

    Resumes layout logic.

    hashtag
    ResumeLayout(performLayout)

    Resumes layout logic, optionally forcing an immediate layout of all pending layout requests.

    Parameter
    Type
    Description

    hashtag
    ScrollControlIntoView(alignX, alignY)

    Scrolls the control into view in the container using the specified alignX and alignY preferences.

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    ScrollControlIntoView(alignX, alignY, behavior)

    Scrolls the control into view in the container using the specified alignX and alignY preferences. Since 4.0.3

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    ScrollControlIntoView()

    Scrolls the child control into view.

    Returns: . this control

    hashtag
    ScrollControlIntoView(behavior)

    Scrolls the child control into view. Since 4.0.3

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    Select()

    Activates, including setting the focus, a control.

    Returns: .

    hashtag
    Select(directed, forward)

    Activates a child control. Optionally specifies the direction in the tab order to select the control from.

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    SelectNextControl(control, forward, tabStopOnly, nested, wrap)

    Activates the next control in the list according to the specified selection rules.

    Parameter
    Type
    Description

    Returns: . true if a control was activated; otherwise, false.

    hashtag
    SendToBack()

    Sends the control to the back of the z-order.

    Returns: .

    hashtag
    SetAutoSizeMode(mode)

    Sets a value indicating how a control will behave when its AutoSize property is enabled.

    Parameter
    Type
    Description

    hashtag
    SetBounds(x, y, width, height)

    Sets the bounds of the control to the specified location and size.

    Parameter
    Type
    Description

    Returns: .

    hashtag
    SetBounds(x, y, width, height, specified)

    Sets the specified bounds of the control to the specified location and size.

    Parameter
    Type
    Description

    Returns: . this control

    hashtag
    SetClientSizeCore(width, height)

    Sets the client size of the control.

    Parameter
    Type
    Description

    hashtag
    SetTopLevel(value)

    Sets the control as the top-level control.

    Parameter
    Type
    Description

    Returns: .

    Throws:

    • The property is not null and value is true.

    hashtag
    SetVisibleCore(value)

    Sets the control to the specified visible state.

    Parameter
    Type
    Description

    hashtag
    Show()

    Displays the control to the user.

    Returns: .

    hashtag
    SizeFromClientSize(clientSize)

    Converts the client size into the window size.

    Parameter
    Type
    Description

    Returns: .

    hashtag
    SuspendLayout()

    Suspends the layout logic for the control.

    hashtag
    Update()

    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.

    hashtag
    ValidateActiveControl(allowFocusChange, checkCausesValidation)

    Validates the current control.

    Parameter
    Type
    Description

    Returns: . true if the active control is validated.

    hashtag
    ValidateChildren()

    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.

    hashtag
    ValidateChildren(flags)

    Validates all the child controls in the container. Exactly which controls are validated and which controls are skipped is determined by flags .

    Parameter
    Type
    Description

    Returns: . true if all of the children validated successfully; otherwise, false. If called from the or event handlers, this method will always return false.

    hashtag
    Events

    hashtag
    Appear

    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.

    hashtag
    AutoSizeChanged

    Fired when the property value changes.

    hashtag
    BackColorChanged

    Fired when the value of the property changes.

    hashtag
    BackgroundImageChanged

    Fired when the value of the property changes.

    hashtag
    BackgroundImageLayoutChanged

    Fired when the property changes.

    hashtag
    BecomingActiveControlChanged

    Fired when the value of the property changes.

    hashtag
    BindingContextChanged

    Occurs when the value of the property changes.

    hashtag
    CausesValidationChanged

    Fired when the value of the property changes.

    hashtag
    Click

    Fired when the control is clicked.

    hashtag
    ClientSizeChanged

    Fired when the property value changes.

    hashtag
    ContextMenuChanged

    Fired when the value of the property changes.

    hashtag
    ControlAdded

    Fired when a new control is added to the .

    hashtag
    ControlCreated

    Fired when a control is made visible the first time, fully created and sent to the client.

    hashtag
    ControlRemoved

    Fired when a control is removed from the .

    hashtag
    CursorChanged

    Fired when the value of the property changes.

    hashtag
    Disappear

    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.

    hashtag
    Disposed

    Fired when the component is disposed.

    hashtag
    DockChanged

    Fired when the value of the property changes.

    hashtag
    DoubleClick

    Fired when the control is double-clicked.

    hashtag
    DragDrop

    Fired when a drag-and-drop operation is completed.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    DragEnd

    Fired when a drag-drop operation is terminated either by a drop or canceled.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    DragEnter

    Fired when an object is dragged into the control's bounds.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    DragLeave

    Fired when an object is dragged out of the control's bounds.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    DragOver

    Fired when an object is dragged over the control's bounds.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    DragStart

    Fired when a drag-drop operation is started by the user.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    EnabledChanged

    Fired when the property value has changed.

    hashtag
    EndMove

    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.

    hashtag
    EndResize

    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.

    hashtag
    Enter

    Fired when the control gains the input focus.

    hashtag
    FontChanged

    Fired when the property value changes.

    hashtag
    ForeColorChanged

    Fired when the property value changes.

    hashtag
    GotFocus

    Fired when the control gains the focus.

    Staring from version 3.5.18, the event parameter e is of type which carries additional information about the control that lost the focus and the one that received the focus. To use the new data check the type and cast to .

    hashtag
    HelpRequested

    Fired when the user requests help for a control by pressing F1.

    hashtag
    ImeModeChanged

    Fired when the ImeMode property has changed.

    hashtag
    KeyDown

    Fired when a key is pressed while the control has focus.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    KeyPress

    Fired when a key is pressed while the control has focus.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    KeyUp

    Fired when a key is released while the control has focus.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    Layout

    Fired when a control should reposition its child controls.

    hashtag
    Leave

    Fired when the control loses the input focus.

    hashtag
    LocationChanged

    Fired when the property value has changed.

    hashtag
    LongTap

    Fired when a pointer holds on the screen.

    hashtag
    LostFocus

    Fired when the control loses focus.

    Staring from version 3.5.18, the event parameter e is of type which carries additional information about the control that lost the focus and the one that received the focus. To use the new data check the type and cast to .

    hashtag
    MarginChanged

    Fired when the control's margin changes.

    hashtag
    MouseCaptureChanged

    Fired when the control loses mouse capture.

    hashtag
    MouseClick

    Fired when the control is clicked by the mouse.

    hashtag
    MouseDoubleClick

    Fired when the control is double clicked by the mouse.

    hashtag
    MouseDown

    Fired when the mouse pointer is over the control and a mouse button is pressed.

    hashtag
    MouseEnter

    Fired when the mouse pointer enters the control.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    MouseHover

    Fired when the mouse pointer rests on the control.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    MouseLeave

    Fired when the mouse pointer leaves the control.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    MouseMove

    Fired when the mouse pointer is moved over the control.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    MouseUp

    Fired when the mouse pointer is over the control and a mouse button is released.

    hashtag
    MouseWheel

    Fired when the mouse wheel moves while the control has focus.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    PaddingChanged

    Fired when the control's padding changes.

    hashtag
    Paint

    Fired when a UserPaint control needs to redraw itself.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    ParentChanged

    Fired when the property value changes.

    hashtag
    Pinch

    Fired when two finger moved towards or away from each other. It contains the scaling factor of the pinch.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    PreviewKeyDown

    Fired before the event when a key is pressed while focus is on this control.

    hashtag
    QueryContinueDrag

    Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    Resize

    Fired when the control is resized.

    hashtag
    ResponsiveProfileChanged

    Fired when the active responsive profile is changed.

    hashtag
    RightToLeftChanged

    Fired when the property value changes.

    hashtag
    Rotate

    Fired when two finger moved around a single point. It contains the angle of the rotation.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    SizeChanged

    Fired when the property value changes.

    hashtag
    StartMove

    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.

    hashtag
    StartResize

    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.

    hashtag
    StyleChanged

    Fired when the control style changed.

    hashtag
    Swipe

    Fired when a pointer swipes over the screen.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    TabIndexChanged

    Fired when the property value has changed.

    hashtag
    TabStopChanged

    Fired when the value of the property changes.

    hashtag
    Tap

    Fired when a pointer taps on the screen.

    hashtag
    TextChanged

    Fired when the property value changes.

    hashtag
    TouchCancel

    Fired when a touch point has been disrupted in an implementation-specific manner (for example, too many touch points are created).

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    TouchEnd

    Fired when a touch point is removed from the touch surface.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    TouchMove

    Fired when a touch point is moved along the touch surface.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    TouchStart

    Fired when a touch point is placed on the touch surface.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    Track

    Fired when a pointer grabs an item and moves the pointer on it.

    This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.

    hashtag
    Validated

    Fired when the control is finished validating.

    hashtag
    Validating

    Fired when the control is validating.

    hashtag
    VisibleChanged

    Fired when the property value changes.

    hashtag
    WidgetEvent

    Fired when the control receives a custom event from the client.

    JavaScript code can fire any event back to a control, including custom data, using:

    On the server side, the event name and event data are available in the WidgetEvent handler:

    hashtag
    Inherited By

    Name
    Description

    hashtag
    Implements

    Name
    Description
    RemoveClientEventListener
  • GetClientEventListener

  • RemoveClientEventListener
  • GetClientEventListener

  • The arguments to pass to the function.

    The name or URL for an image to use as the drag cursor.

    The name or URL for an image to use as the drag cursor.

    imageSize

    The size of the drag image specified in imageSource.

    An to use as the drag cursor.

    An to use as the drag cursor.

    imageSize

    The size of the drag image specified in image.

    When true (default), it will also use the to arrange the controls.

    hAlign

    Horizontal alignment when using dock = , or , or .

    vAlign

    Vertical alignment when using dock = , or , .

    Spacing between the .

    useMargins

    When true (default), it will also use the to arrange the controls.

    hAlign

    Horizontal alignment when using dock = , or , or .

    vAlign

    Vertical alignment when using dock = , or , .

    Spacing between the .

    useMargins

    When true (default), it will also use the to arrange the controls.

    hAlign

    Horizontal alignment when using dock = , or , or .

    vAlign

    Vertical alignment when using dock = , or , .

    Rectangle limiting the area to arrange the in. If empty, it will use .

    spacing

    Spacing between the .

    useMargins

    When true (default), it will also use the to arrange the controls.

    hAlign

    Horizontal alignment when using dock = , or , or .

    vAlign

    Vertical alignment when using dock = , or , .

    When true (default), it will also use the to arrange the controls.

    hAlign

    Horizontal alignment when using direction = .

    vAlign

    Vertical alignment when using direction = .

    Spacing between the .

    useMargins

    When true (default), it will also use the to arrange the controls.

    hAlign

    Horizontal alignment when using direction = .

    vAlign

    Vertical alignment when using direction = .

    Spacing between the controls .

    useMargins

    When true (default), it will also use the to arrange the controls.

    hAlign

    Horizontal alignment when using direction = .

    vAlign

    Vertical alignment when using direction = .

    Rectangle limiting the area to arrange the controls in. If empty, it will use .

    spacing

    Spacing between the controls .

    useMargins

    When true (default), it will also use the to arrange the controls.

    hAlign

    Horizontal alignment when using direction = .

    vAlign

    Vertical alignment when using direction = .

    Determines whether scrolling is instant or animates smoothly.

    true to ignore the controls with the 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.

    The new property value of the control.

    height

    The new property value of the control.

    The new property value of the control.

    height

    The new property value of the control.

    specified

    A bitwise combination of the values. For any parameter not specified, the current value will be used.

    Represents a button control.

    Implements the basic functionality common to button controls.

    Represents a check box control.

    Displays a 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.

    Provides a common implementation of members for the and classes.

    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 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 .

    Manages a related set of pages.

    Represents a single tab page in a .

    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 control that can be hosted in a .

    Represents a control that can be hosted in a .

    Represents a control that can be hosted in a cell.

    Represents a control that can be hosted in a .

    Represents a control that can be hosted in a cell when the cell's is set to .

    Represents a data grid control.

    Displays data in a customizable list format.

    Used by the control to display data at run time.

    Represents a desktop container that can host floating windows.

    Displays collapsible set of panels for presenting information in a limited amount of space.

    Represents a panel in a control.

    Represents a control that can host ASP.NET or MVC pages within a Wisej application.

    Represents a drawing surface for immediate-mode 2D rendering, similar to the HTML5 Canvas API.

    Represents a 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 control with a as the drop down panel.

    Base implementation for media controls.

    Represents a control that displays a video file.

    Represents a control that plays an audio file.

    Represents a control that can display a pdf document in the browser either using the native pdf viewer, the pdf.js viewer, Google docs, or a custom viewer.

    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 values.

    The TreeViewComboBox control represents a control with a 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 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 .

    All wisej controls derived from the class must implement this interface.

    Allows an object to serialize itself.

    IBindableComponent
    ,
    IWisejSerializable
    ,
    IHasPropertyStore
    ,
    IHasResponsiveProfiles
    ,
    IDropTarget
    ,
    IUserData

    name

    Stringarrow-up-right

    Name of the client event to attach the listener to.

    script

    Stringarrow-up-right

    JavaScript code to execute when the event occurs.

    name

    Stringarrow-up-right

    Name of the css class to add.

    state

    Stringarrow-up-right

    Name of the custom state to add to the widget.

    state

    Stringarrow-up-right

    Name of the custom state to add to the widget.

    forward

    Booleanarrow-up-right

    true to propagate the state to the widget's child components.

    method

    Delegatearrow-up-right

    A delegate to a method that takes no parameters.

    method

    Delegatearrow-up-right

    A delegate to a method that takes no parameters.

    args

    Object[]arrow-up-right

    An optional array of objects to pass as arguments to the specified method.

    function

    Stringarrow-up-right

    The name of the JavaScript function to execute.

    args

    Object[]arrow-up-right

    The arguments to pass to the function.

    function

    Stringarrow-up-right

    The name of the JavaScript function to execute.

    callback

    Action<Object>arrow-up-right

    Asynchronous callback method that receives the return value.

    function

    Stringarrow-up-right

    The name of the JavaScript function to execute.

    args

    Object[]arrow-up-right

    The arguments to pass to the function.

    horizontal

    Booleanarrow-up-right

    Center horizontally.

    vertical

    Booleanarrow-up-right

    Center vertically.

    control

    Control

    The child Control to find.

    disposing

    Booleanarrow-up-right

    true when this method is called by the application rather than a finalizer.

    data

    Objectarrow-up-right

    The data to drag.

    allowedEffects

    DragDropEffects

    One of the DragDropEffects values.

    data

    Objectarrow-up-right

    The data to drag.

    allowedEffects

    DragDropEffects

    One of the DragDropEffects values.

    data

    Objectarrow-up-right

    The data to drag.

    allowedEffects

    DragDropEffects

    One of the DragDropEffects values.

    data

    Objectarrow-up-right

    The data to drag.

    allowedEffects

    DragDropEffects

    One of the DragDropEffects values.

    data

    Objectarrow-up-right

    The data to drag.

    allowedEffects

    DragDropEffects

    One of the DragDropEffects values.

    asyncResult

    IAsyncResultarrow-up-right

    An IAsyncResultarrow-up-right that represents a BeginInvoke operation started on a control.

    javaScript

    Stringarrow-up-right

    The JavaScript code to run on the client.

    javaScript

    Stringarrow-up-right

    The JavaScript code to evaluate on the client.

    callback

    Action<Object>arrow-up-right

    Asynchronous callback method that receives the return value.

    javaScript

    Stringarrow-up-right

    The JavaScript code to evaluate on the client.

    pt

    Pointarrow-up-right

    A Pointarrow-up-right 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

    GetChildAtPointSkip

    One of the values of GetChildAtPointSkip, determining whether to ignore child controls of a certain type.

    pt

    Pointarrow-up-right

    A Pointarrow-up-right 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

    Int32arrow-up-right

    Id of the listener to retrieve the script for.

    name

    Stringarrow-up-right

    Name of the event.

    alignment

    ContentAlignmentarrow-up-right

    control

    Control

    The Control to start the search with.

    forward

    Booleanarrow-up-right

    true to search forward in the tab order; false to search backward.

    flag

    ControlStyles

    The ControlStyles bit to return the value from.

    name

    Stringarrow-up-right

    Name of the client event to verify.

    name

    Stringarrow-up-right

    Css class name to verify.

    state

    Stringarrow-up-right

    Name of the state to check.

    invalidateChildren

    Booleanarrow-up-right

    When true, invalidates all the children of the control.

    method

    Delegatearrow-up-right

    A delegate that contains a method to be called in the control's session context.

    method

    Delegatearrow-up-right

    A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.

    args

    Object[]arrow-up-right

    An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.

    control

    Control

    Control to invoke the event on.

    e

    EventArgsarrow-up-right

    Event data.

    charCode

    Chararrow-up-right

    The character to test.

    keyData

    Keys

    One of the Keys values.

    charCode

    Chararrow-up-right

    The character to test.

    text

    Stringarrow-up-right

    The string to search.

    dock

    DockStyle

    Indicates whether to arrange the Controls horizontally or vertically.

    spacing

    Int32arrow-up-right

    Spacing between the Controls.

    dock

    DockStyle

    Indicates whether to arrange the Controls horizontally or vertically.

    viewArea

    Rectanglearrow-up-right

    Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle.

    controls

    ICollection<Control>arrow-up-right

    List of child controls to arrange. If null, all the children will be arranged.

    dock

    DockStyle

    Indicates whether to arrange the Controls horizontally or vertically.

    controls

    ICollection<Control>arrow-up-right

    List of child controls to arrange. If null, all the children will be arranged.

    dock

    DockStyle

    Indicates whether to arrange the Controls horizontally or vertically.

    direction

    Orientation

    Indicates whether to arrange the Controls horizontally or vertically.

    spacing

    Int32arrow-up-right

    Spacing between the Controls.

    direction

    Orientation

    Indicates whether to arrange the Controls horizontally or vertically.

    viewArea

    Rectanglearrow-up-right

    Rectangle limiting the area to arrange the Controls in. If empty, it will use DisplayRectangle.

    controls

    ICollection<Control>arrow-up-right

    List of child controls to arrange. If null, all the children will be arranged.

    direction

    Orientation

    Indicates whether to arrange the controls horizontally or vertically.

    controls

    ICollection<Control>arrow-up-right

    List of child controls to arrange. If null, all the children will be arranged.

    direction

    Orientation

    Indicates whether to arrange the controls horizontally or vertically.

    items

    IListarrow-up-right

    Container for the referenced components or collections.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    ControlEventArgs

    A ControlEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    ControlEventArgs

    A ControlEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    DragEventArgs

    A DragEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    DragEventArgs

    A DragEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    DragEventArgs

    A DragEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A FocusEventArgs that contains the event data.

    e

    HelpEventArgs

    An HelpEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    KeyEventArgs

    A KeyEventArgs that contains the event data.

    e

    KeyPressEventArgs

    A KeyPressEventArgs that contains the event data.

    e

    KeyEventArgs

    A KeyEventArgs that contains the event data.

    e

    LayoutEventArgs

    A LayoutEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A FocusEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    MouseEventArgs

    A MouseEventArgs that contains the event data.

    e

    MouseEventArgs

    A MouseEventArgs that contains the event data.

    e

    MouseEventArgs

    A MouseEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    MouseEventArgs

    A MouseEventArgs that contains the event data.

    e

    MouseEventArgs

    A MouseEventArgs that contains the event data.

    e

    MouseEventArgs

    A MouseEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    PinchEventArgs

    An instance of PinchEventArgs that contains the event data.

    e

    PreviewKeyDownEventArgs

    A PreviewKeyDownEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    ResponsiveProfileChangedEventArgs

    A ResponsiveProfileChangedEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    RotateEventArgs

    An instance of RotateEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    SwipeEventArgs

    An instance of SwipeEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    TouchEventArgs

    An instance of TouchEventArgs that contains the event data.

    e

    TouchEventArgs

    An instance of TouchEventArgs that contains the event data.

    e

    TouchEventArgs

    An instance of TouchEventArgs that contains the event data.

    e

    TouchEventArgs

    An instance of TouchEventArgs that contains the event data.

    e

    TrackEventArgs

    An instance of TrackEventArgs that contains the event data.

    e

    EventArgsarrow-up-right

    An EventArgsarrow-up-right that contains the event data.

    e

    CancelEventArgsarrow-up-right

    A CancelEventArgsarrow-up-right that contains the event data.

    e

    EventArgsarrow-up-right

    A EventArgsarrow-up-right that contains the event data.

    e

    WisejEventArgs

    Event arguments.

    g

    Graphicsarrow-up-right

    config

    Objectarrow-up-right

    Dynamic configuration object.

    state

    Objectarrow-up-right

    Dynamic state object.

    e

    WidgetEventArgs

    A WidgetEventArgs that contains the event data.

    affectedControl

    Control

    A Control that represents the recently changed control.

    affectedProperty

    Stringarrow-up-right

    The name of the recently changed property on the control that caused the layout to change.

    point

    Pointarrow-up-right

    The screen coordinate Pointarrow-up-right to convert.

    point

    Pointarrow-up-right

    The client coordinate Pointarrow-up-right to convert.

    keyData

    Keys

    One of the Keys values that represents the key to process.

    charCode

    Chararrow-up-right

    The character to process.

    keyData

    Keys

    One of the Keys values that represents the key to process.

    e

    WisejEventArgs

    A WisejEventArgs that contains the event data.

    rect

    Rectanglearrow-up-right

    The screen coordinate Rectanglearrow-up-right to convert.

    rect

    Rectanglearrow-up-right

    The client coordinate Rectanglearrow-up-right to convert.

    refreshChildren

    Booleanarrow-up-right

    True to also refresh all the children of this control.

    id

    Int32arrow-up-right

    Id of the listener to remove.

    name

    Stringarrow-up-right

    Name of the event.

    name

    Stringarrow-up-right

    The css class name to remove.

    state

    Stringarrow-up-right

    Name of the state to remove.

    state

    Stringarrow-up-right

    Name of the state to remove.

    forward

    Booleanarrow-up-right

    true to remove the state to the widget's child components.

    color

    Colorarrow-up-right

    The color to resolve.

    performLayout

    Booleanarrow-up-right

    true to apply all pending layout requests; otherwise, false.

    alignX

    HorizontalAlignment

    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

    VerticalAlignment

    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.

    alignX

    HorizontalAlignment

    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

    VerticalAlignment

    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.

    behavior

    ScrollBehavior

    Determines whether scrolling is instant or animates smoothly.

    directed

    Booleanarrow-up-right

    true to specify the direction of the control to select; otherwise, false.

    forward

    Booleanarrow-up-right

    true to move forward in the tab order; false to move backward in the tab order.

    control

    Control

    The Control at which to start the search.

    forward

    Booleanarrow-up-right

    true to move forward in the tab order; false to move backward in the tab order.

    mode

    AutoSizeMode

    One of the AutoSizeMode values.

    x

    Int32arrow-up-right

    The new Left property value of the control.

    y

    Int32arrow-up-right

    The new Top property value of the control.

    x

    Int32arrow-up-right

    The new Left property value of the control.

    y

    Int32arrow-up-right

    The new Top property value of the control.

    width

    Int32arrow-up-right

    The client width, in pixels.

    height

    Int32arrow-up-right

    The client height, in pixels.

    value

    Booleanarrow-up-right

    true to set the control as the top-level control; otherwise, false.

    value

    Booleanarrow-up-right

    clientSize

    Sizearrow-up-right

    allowFocusChange

    Booleanarrow-up-right

    Set to true if the validation fails but the container allows the focus to change when the value of AutoValidate is EnableAllowFocusChange .

    checkCausesValidation

    Booleanarrow-up-right

    Set to true if validation should be performed only when the value of CausesValidation is true. The default is true.

    flags

    ValidationConstraints

    TableLayoutPanel

    Represents a panel that dynamically lays out its contents in a grid composed of rows and columns.

    FileDialogUI

    UI implementation for the FileDialog class.

    FolderBrowserDialogUI

    UI implementation for the FolderDialog class.

    BindingNavigator

    IUserData

    Provides access to the UserData and Tag properties associated to the component implementing this interface.

    IBindableComponent

    Bindable components implement this interface.

    IDropTarget

    Controls that support drag & drop operations implement this interface.

    IWisejComponent

    Control
    Stringarrow-up-right
    Stringarrow-up-right
    AccessibleRole
    Booleanarrow-up-right
    Booleanarrow-up-right
    AnchorStyles
    Booleanarrow-up-right
    Stringarrow-up-right
    Colorarrow-up-right
    Imagearrow-up-right
    ImageLayout
    ImageLayout
    Stringarrow-up-right
    Booleanarrow-up-right
    BindingContext
    BindingContext
    Int32arrow-up-right
    Rectanglearrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    ClientEventCollection
    AddClientEventListener
    HasClientEventListener
    RemoveClientEventListener
    Rectanglearrow-up-right
    Sizearrow-up-right
    Booleanarrow-up-right
    ContextMenu
    ControlCollection
    Booleanarrow-up-right
    Stringarrow-up-right
    StyleSheet
    AddCssClass
    RemoveCssClass
    HasCssClass
    Stringarrow-up-right
    Cursor
    ControlBindingsCollection
    Colorarrow-up-right
    Cursor
    Fontarrow-up-right
    Colorarrow-up-right
    Padding
    Margin
    Sizearrow-up-right
    Sizearrow-up-right
    Padding
    Sizearrow-up-right
    Rectanglearrow-up-right
    Booleanarrow-up-right
    DockStyle
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Fontarrow-up-right
    Int32arrow-up-right
    Colorarrow-up-right
    IntPtrarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    UserData
    Int32arrow-up-right
    Stringarrow-up-right
    #qxarrow-up-right
    wisej-jsarrow-up-right
    ClientEvents
    AddClientEventListener
    HasClientEventListener
    RemoveClientEventListener
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    LayoutEnginearrow-up-right
    Int32arrow-up-right
    Pointarrow-up-right
    Padding
    Sizearrow-up-right
    Sizearrow-up-right
    Keys
    MouseButtons
    Pointarrow-up-right
    Booleanarrow-up-right
    Stringarrow-up-right
    Padding
    Control
    Sizearrow-up-right
    AnchorStyles
    ResponsiveProfileCollection
    Int32arrow-up-right
    RightToLeft
    Inherit
    Inherit
    Booleanarrow-up-right
    Selectable
    Focusable
    Selectable
    Booleanarrow-up-right
    Sizearrow-up-right
    String[]arrow-up-right
    AddState
    RemoveState
    HasState
    AddState
    Int32arrow-up-right
    Booleanarrow-up-right
    Focusable
    Objectarrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    ToolTipText
    ToolTip
    ToolTipText
    ForeColor
    AutomaticDelay
    InitialDelay
    AutoPopDelay
    ToolTipText
    ToolTip
    ToolTipText
    Int32arrow-up-right
    Control
    Form
    Form
    Objectarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Int32arrow-up-right
    Int32arrow-up-right
    Int32arrow-up-right
    RemoveClientEventListener
    GetClientEventListener
    CssClass
    Stringarrow-up-right
    CssClass
    String[]arrow-up-right
    States
    States
    String[]arrow-up-right
    States
    States
    IAsyncResultarrow-up-right
    IAsyncResultarrow-up-right
    BeginInvoke
    IAsyncResultarrow-up-right
    IAsyncResultarrow-up-right
    Control
    Control
    Control
    Taskarrow-up-right
    Task<Object>arrow-up-right
    Taskarrow-up-right
    Control
    Control
    Booleanarrow-up-right
    Control
    ControlCollection
    ControlCollection
    DragDropEffects
    DragDropEffects
    DragDropEffects
    DragDropEffects
    DragDropEffects
    DragDropEffects
    DragDropEffects
    DragDropEffects
    DragDropEffects
    DragDropEffects
    Objectarrow-up-right
    Control
    Control
    Taskarrow-up-right
    Task<Object>arrow-up-right
    Taskarrow-up-right
    Form
    Form
    Page
    Page
    Booleanarrow-up-right
    AutoSizeMode
    AutoSizeMode
    Control
    Control
    Control
    Control
    Stringarrow-up-right
    String[]arrow-up-right
    IContainerControl
    IContainerControl
    IContainerControl
    Stringarrow-up-right
    Control
    Control
    Booleanarrow-up-right
    Booleanarrow-up-right
    Form
    Page
    Desktop
    Booleanarrow-up-right
    CssClass
    Booleanarrow-up-right
    CssClass
    States
    Booleanarrow-up-right
    Control
    Objectarrow-up-right
    Objectarrow-up-right
    Objectarrow-up-right
    Click
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Control
    Control
    Control
    Control
    Control
    Control
    ArgumentExceptionarrow-up-right
    ArgumentExceptionarrow-up-right
    Appear
    Appear
    Disappear
    AutoSizeChanged
    BackColorChanged
    BackgroundImageChanged
    BackgroundImageLayoutChanged
    BecomingActiveControlChanged
    BindingContextChanged
    CausesValidationChanged
    Click
    ClientSizeChanged
    ContextMenuChanged
    ControlAdded
    ControlCreated
    ControlRemoved
    CursorChanged
    Disappear
    Appear
    Disappear
    DockChanged
    DoubleClick
    DragDrop
    DragEnd
    DragEnter
    DragLeave
    DragOver
    DragStart
    EnabledChanged
    EndMove
    EndResize
    Enter
    FontChanged
    ForeColorChanged
    GotFocus
    HelpRequested
    ImeModeChanged
    KeyDown
    KeyPress
    KeyUp
    Layout
    Leave
    LocationChanged
    LongTap
    LostFocus
    MarginChanged
    MouseCaptureChanged
    MouseClick
    MouseDoubleClick
    MouseDown
    MouseEnter
    MouseHover
    MouseLeave
    MouseMove
    MouseUp
    MouseWheel
    PaddingChanged
    BackColorChanged
    BackColor
    BackgroundImageChanged
    BackgroundImage
    BindingContextChanged
    BindingContext
    ParentChanged
    CursorChanged
    Cursor
    EnabledChanged
    Enabled
    FontChanged
    Font
    ForeColorChanged
    ForeColor
    RightToLeftChanged
    RightToLeft
    VisibleChanged
    Visible
    Pinch
    PreviewKeyDown
    Resize
    ResponsiveProfileChanged
    RightToLeftChanged
    Rotate
    SizeChanged
    StartMove
    StartResize
    Swipe
    TabIndexChanged
    TabStopChanged
    Tap
    TextChanged
    TouchCancel
    TouchEnd
    TouchMove
    TouchStart
    Track
    Validated
    Validating
    VisibleChanged
    WidgetEvent
    Pointarrow-up-right
    Pointarrow-up-right
    Pointarrow-up-right
    Pointarrow-up-right
    Pointarrow-up-right
    Pointarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    Rectanglearrow-up-right
    Rectanglearrow-up-right
    Rectanglearrow-up-right
    Rectanglearrow-up-right
    Rectanglearrow-up-right
    Rectanglearrow-up-right
    Booleanarrow-up-right
    Booleanarrow-up-right
    CssClass
    Stringarrow-up-right
    CssClass
    String[]arrow-up-right
    States
    States
    String[]arrow-up-right
    States
    States
    Control
    Colorarrow-up-right
    Control
    Control
    Control
    Control
    Control
    Control
    Booleanarrow-up-right
    Control
    Control
    Control
    Control
    ArgumentExceptionarrow-up-right
    Parent
    Control
    Sizearrow-up-right
    Booleanarrow-up-right
    Selectable
    Booleanarrow-up-right
    Validating
    Validated
    Booleanarrow-up-right
    Validating
    Validated
    EventHandlerarrow-up-right
    Appear
    Disappear
    EventHandlerarrow-up-right
    AutoSize
    EventHandlerarrow-up-right
    BackColor
    EventHandlerarrow-up-right
    BackgroundImage
    EventHandlerarrow-up-right
    BackgroundImageLayout
    EventHandlerarrow-up-right
    BecomingActiveControl
    EventHandlerarrow-up-right
    BindingContext
    EventHandlerarrow-up-right
    CausesValidation
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    ClientSize
    EventHandlerarrow-up-right
    ContextMenu
    ControlEventHandler
    ControlCollection
    EventHandlerarrow-up-right
    ControlEventHandler
    ControlCollection
    EventHandlerarrow-up-right
    Cursor
    EventHandlerarrow-up-right
    Appear
    Disappear
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    Dock
    EventHandlerarrow-up-right
    DragEventHandler
    EventHandlerarrow-up-right
    DragEventHandler
    EventHandlerarrow-up-right
    DragEventHandler
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    Enabled
    EventHandlerarrow-up-right
    Movable
    Movable
    Location
    EventHandlerarrow-up-right
    ResizableEdges
    ResizableEdges
    None
    Size
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    Font
    EventHandlerarrow-up-right
    ForeColor
    EventHandlerarrow-up-right
    FocusEventArgs
    FocusEventArgs
    HelpEventHandler
    EventHandlerarrow-up-right
    KeyEventHandler
    KeyPressEventHandler
    KeyEventHandler
    LayoutEventHandler
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    Location
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    FocusEventArgs
    FocusEventArgs
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    MouseEventHandler
    MouseEventHandler
    MouseEventHandler
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    MouseEventHandler
    MouseEventHandler
    MouseEventHandler
    EventHandlerarrow-up-right
    PaintEventHandler
    EventHandlerarrow-up-right
    Parent
    PinchEventHandler
    PreviewKeyDownEventHandler
    KeyDown
    QueryContinueDragEventHandler
    EventHandlerarrow-up-right
    ResponsiveProfileChangedEventHandler
    EventHandlerarrow-up-right
    RightToLeft
    RotateEventHandler
    EventHandlerarrow-up-right
    Size
    EventHandlerarrow-up-right
    Movable
    Movable
    EventHandlerarrow-up-right
    ResizableEdges
    ResizableEdges
    None
    EventHandlerarrow-up-right
    SwipeEventHandler
    EventHandlerarrow-up-right
    TabIndex
    EventHandlerarrow-up-right
    TabStop
    EventHandlerarrow-up-right
    EventHandlerarrow-up-right
    Text
    TouchEventHandler
    TouchEventHandler
    TouchEventHandler
    TouchEventHandler
    TrackEventHandler
    EventHandlerarrow-up-right
    CancelEventHandlerarrow-up-right
    EventHandlerarrow-up-right
    Visible
    WidgetEventHandler

    args

    imageSource

    imageSource

    image

    image

    useMargins

    spacing

    spacing

    viewArea

    useMargins

    spacing

    spacing

    viewArea

    behavior

    tabStopOnly

    width

    width

    Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.

    All wisej components implement this interface.

    
    
      // set the border radius to 100% and make the control round.
      this.button1.CssStyle = "border-radius:100%";
    
    
    
      // change the background color of the internal label of the button widget.
      this.button1.InitScript = "this.getChildControl('label').setBackgroundColor('red')";
    
      // attach a JavaScript event handler.
      this.textBox1.InitScript = @"this.addListener('keydown', function(e) {
        if (e.getKeyIdentifier() == "PageDown") {
          alert('You pressed PageDown.');
        }
      });
    
    
    
      // force the widget to update the UI as if it was hovered and focused.
      this.button1.States = new [] { "hovered", "focused" };
    
      // apply a custom state defined in a custom theme or theme mixing.
      this.panel1.States = new [] { "alert" };
    
    
      this.fireWidgetEvent("myevent", {x:1, y:2, name:'test'});
    
    
      
      private void control_WidgetEvent(object sender, WidgetEventArgs e) {
        
        switch (e.Type) {
        
          case "myevent":
            var data = e.Data;
            Alert.Show($"x={data.x}, y={data.y}, name={data.name}");
            break;
        }
      }
    
    Object[]arrow-up-right
    Stringarrow-up-right
    Stringarrow-up-right
    Sizearrow-up-right
    Imagearrow-up-right
    Imagearrow-up-right
    Imagearrow-up-right
    Imagearrow-up-right
    Sizearrow-up-right
    Booleanarrow-up-right
    Margin
    HorizontalAlignment
    Fill
    Top
    Bottom
    VerticalAlignment
    Fill
    Left
    Right
    Int32arrow-up-right
    Controls
    Booleanarrow-up-right
    Margin
    HorizontalAlignment
    Fill
    Top
    Bottom
    VerticalAlignment
    Fill
    Left
    Right
    Int32arrow-up-right
    Controls
    Booleanarrow-up-right
    Margin
    HorizontalAlignment
    Fill
    Top
    Bottom
    VerticalAlignment
    Fill
    Left
    Right
    Rectanglearrow-up-right
    Controls
    DisplayRectangle
    Int32arrow-up-right
    Controls
    Booleanarrow-up-right
    Margin
    HorizontalAlignment
    Fill
    Top
    Bottom
    VerticalAlignment
    Fill
    Left
    Right
    Booleanarrow-up-right
    Margin
    HorizontalAlignment
    Vertical
    VerticalAlignment
    Horizontal
    Int32arrow-up-right
    Controls
    Booleanarrow-up-right
    Margin
    HorizontalAlignment
    Vertical
    VerticalAlignment
    Horizontal
    Int32arrow-up-right
    Booleanarrow-up-right
    Margin
    HorizontalAlignment
    Vertical
    VerticalAlignment
    Horizontal
    Rectanglearrow-up-right
    DisplayRectangle
    Int32arrow-up-right
    Booleanarrow-up-right
    Margin
    HorizontalAlignment
    Vertical
    VerticalAlignment
    Horizontal
    ScrollBehavior
    Booleanarrow-up-right
    TabStop
    Booleanarrow-up-right
    Booleanarrow-up-right
    Int32arrow-up-right
    Width
    Int32arrow-up-right
    Height
    Int32arrow-up-right
    Width
    Int32arrow-up-right
    Height
    BoundsSpecified
    BoundsSpecified
    Button
    ButtonBase
    CheckBox
    CheckedListBox
    ListBox
    ComboBox
    ContainerControl
    DateTimePicker
    DomainUpDown
    FlowLayoutPanel
    Form
    GroupBox
    Label
    LinkLabel
    ListBox
    ListControl
    ListBox
    ComboBox
    MaskedTextBox
    MdiClient
    MonthCalendar
    NumericUpDown
    Page
    Panel
    PictureBox
    ProgressBar
    RadioButton
    RadioButton
    ScrollableControl
    HScrollBar
    VScrollBar
    ScrollBar
    SplitContainer
    SplitterPanel
    SplitContainer
    TabControl
    TabPage
    TabPage
    TabControl
    TextBox
    TextBoxBase
    TrackBar
    UpDownBase
    UserControl
    WebBrowser
    DataGridViewComboBoxEditingControl
    ComboBox
    DataGridViewComboBoxCell
    DataGridViewDateTimePickerEditingControl
    DateTimePicker
    DataGridViewDateTimePickerCell
    DataGridViewMaskedTextBoxEditingControl
    MaskedTextBox
    DataGridViewMaskedTextBoxCell
    DataGridViewNumericUpDownEditingControl
    NumericUpDown
    DataGridViewNumericUpDownCell
    DataGridViewTextBoxEditingControl
    TextBox
    DataGridViewTextBoxCell
    WrapMode
    False
    DataGridView
    DataRepeater
    DataRepeaterItem
    DataRepeater
    Desktop
    Accordion
    AccordionPanel
    AccordionPanel
    Accordion
    AspNetPanel
    Canvas
    FlashPlayerarrow-up-right
    FlashPlayerarrow-up-right
    FlexLayoutPanel
    HtmlPanel
    IFramePanel
    Line
    ListViewComboBox
    UserComboBox
    ListView
    Mediaarrow-up-right
    Videoarrow-up-right
    Videoarrow-up-right
    Audioarrow-up-right
    Audioarrow-up-right
    PdfViewer
    PdfViewer
    Shape
    SlideBar
    Spacer
    SplitButton
    TagTextBox
    TimeUpDown
    TimeSpanarrow-up-right
    TreeViewComboBox
    UserComboBox
    TreeView
    TypedTextBox
    Upload
    UserComboBox
    ComboBox
    UserPopup
    Widget
    ListView
    MenuBar
    PropertyGrid
    StatusBar
    ToolBar
    TreeView
    TreeNode
    IWisejControl
    Control
    IWisejSerializable