All pages
Powered by GitBook
1 of 36

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

ControlEventArgs

Wisej.Web.ControlEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the ControlAdded and ControlRemoved events.

public class ControlEventArgs : EventArgs
Public Class ControlEventArgs
    Inherits EventArgs

Constructors

ControlEventArgs(control)

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

Name
Type
Description

Properties

Control

: Returns the control object used by this event.

Used By

Name
Description

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

RotateEventHandler

Wisej.Web.RotateEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that will handle the Rotate event.

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

Parameters

Name
Type
Description

Fired By

Name
Description

RotateEventArgs

Wisej.Web.RotateEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for Rotate event.

public class RotateEventArgs : EventArgs
Public Class RotateEventArgs
    Inherits EventArgs

Properties

Angle

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

Used By

Name
Description

ControlEventHandler

Wisej.Web.ControlEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that will handle the and events of the class.

DragEventHandler

Wisej.Web.DragEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

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

PaintEventHandler

Wisej.Web.PaintEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that will handle the event of a .

KeyPressEventHandler

Wisej.Web.KeyPressEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that will handle the event of a .

SwipeEventHandler

Wisej.Web.SwipeEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that will handle the event.

Parameters

sender

Object

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.

RotateEventHandler

Represents the method that will handle the Rotate event.

Double
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

Fired when a new control is added to the .

Fired when a control is removed from the .

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

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

ControlAdded
ControlRemoved
Control
Public Delegate Sub ControlEventHandler(ByVal sender As [Object], ByVal e As ControlEventArgs)
public delegate void ControlEventHandler(Object sender, ControlEventArgs e)
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

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

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

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

DragDrop
DragEnter
DragOver
Control
Public Delegate Sub DragEventHandler(ByVal sender As [Object], ByVal e As DragEventArgs)
public delegate void DragEventHandler(Object sender, DragEventArgs e)
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

Fired when a UserPaint control needs to redraw itself.

Paint
Control
Public Delegate Sub PaintEventHandler(ByVal sender As [Object], ByVal e As PaintEventArgs)
public delegate void PaintEventHandler(Object sender, PaintEventArgs e)
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

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

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

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

Fired when a pointer swipes over the screen.

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

HelpEventHandler

Wisej.Web.HelpEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

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

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

Parameters

Name
Type
Description

Fired By

Name
Description

PreviewKeyDownEventHandler

Wisej.Web.PreviewKeyDownEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that will handle the PreviewKeyDown event.

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

Parameters

Name
Type
Description

Fired By

Name
Description

ResponsiveProfileChangedEventArgs

Wisej.Web.ResponsiveProfileChangedEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the ResponsiveProfileChanged event.

public class ResponsiveProfileChangedEventArgs : EventArgs
Public Class ResponsiveProfileChangedEventArgs
    Inherits EventArgs

Constructors

ResponsiveProfileChangedEventArgs(oldValue, newValue)

Initializes a new instance of the class.

Name
Type
Description

Properties

CurrentProfile

: The new active profile.

PreviousProfile

: The previously active profile.

Used By

Name
Description

LayoutEventHandler

Wisej.Web.LayoutEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

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

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

Parameters

Name
Type
Description

Fired By

Name
Description

PaintEventArgs

Wisej.Web.PaintEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the Paint event.

public class PaintEventArgs : EventArgs
Public Class PaintEventArgs
    Inherits EventArgs

Constructors

PaintEventArgs(graphics, clipRect)

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

Name
Type
Description

Properties

ClipRectangle

: Returns the rectangle in which to paint.

Graphics

: Returns the graphics used to paint.

Used By

Name
Description

TrackEventHandler

Wisej.Web.TrackEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that will handle the Track event.

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

Parameters

Name
Type
Description

Fired By

Name
Description

KeyPressEventArgs

Wisej.Web.KeyPressEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the event.

Constructors

KeyEventHandler

Wisej.Web.KeyEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

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

PreviewKeyDownEventArgs

Wisej.Web.PreviewKeyDownEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the event.

Constructors

MouseEventHandler

Wisej.Web.MouseEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

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

Parameters

PinchEventArgs

Wisej.Web.PinchEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for event.

Properties

ResponsiveProfileChangedEventHandler

Wisej.Web.ResponsiveProfileChangedEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

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

Parameters

TrackEventArgs

Wisej.Web.TrackEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for event.

Properties

sender

Object

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.

sender

Object

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.

sender

Object

The source of the event.

e

LayoutEventArgs

A LayoutEventArgs that contains the event data.

Control.Layout

Fired when a control should reposition its child controls.

sender

Object

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.

Object
ControlEventArgs
ControlEventArgs
Control.ControlAdded
ControlCollection
Control.ControlRemoved
ControlCollection
Form.MdiChildAdded
Form.MdiChildRemoved
Object
DragEventArgs
DragEventArgs
Control.DragDrop
Control.DragEnter
Control.DragOver
Object
PaintEventArgs
PaintEventArgs
Control.Paint
Object
KeyPressEventArgs
KeyPressEventArgs
Control.KeyPress
Object
SwipeEventArgs
SwipeEventArgs
Control.Swipe

oldValue

ClientProfile

Previous ClientProfile.

newValue

ClientProfile

New active ClientProfile.

ResponsiveProfileChangedEventHandler

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

ResponsiveProfileChangedEventArgs
ClientProfile
ClientProfile

graphics

Graphics

The Graphics used to paint the item.

clipRect

Rectangle

The Rectangle that represents the rectangle in which to paint.

PaintEventHandler

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

PaintEventArgs
Rectangle
Graphics
KeyPressEventArgs(keyChar)

Initializes a new instance of the KeyPressEventArgs class.

Name
Type
Description

keyChar

The ASCII character corresponding to the key the user pressed.

Properties

Handled

Boolean: Returns or sets whether the KeyPress event was handled.

KeyChar

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

Used By

Name
Description

Represents the method that will handle the event of a .

KeyPress
Public Class KeyPressEventArgs
    Inherits EventArgs
public class KeyPressEventArgs : EventArgs
Parameters
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

Fired By

Name
Description

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

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

KeyUp
KeyDown
Control
Public Delegate Sub KeyEventHandler(ByVal sender As [Object], ByVal e As KeyEventArgs)
public delegate void KeyEventHandler(Object sender, KeyEventArgs e)
PreviewKeyDownEventArgs(keyData)

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

Name
Type
Description

keyData

One of the values.

Properties

Alt

Boolean: Returns whether the ALT key was pressed.

Control

Boolean: Returns whether the CTRL key was pressed.

IsInputKey

Boolean: Returns whether a key is a regular input key.

KeyCode

Keys: Returns the keyboard code.

KeyData

Keys: Returns the key data.

KeyValue

Int32: Returns the keyboard value.

Modifiers

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

Shift

Boolean: Returns whether the SHIFT key was pressed.

Used By

Name
Description

Represents the method that will handle the event.

PreviewKeyDown
Public Class PreviewKeyDownEventArgs
    Inherits EventArgs
public class PreviewKeyDownEventArgs : EventArgs
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

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.

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

Fired when the mouse pointer is moved over the control.

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

Double: Returns the calculated scale factor.

Used By

Name
Description

Represents the method that will handle the event.

Pinch
Public Class PinchEventArgs
    Inherits EventArgs
public class PinchEventArgs : EventArgs
Name
Type
Description

sender

The source of the event.

e

A that contains the event data.

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

SwipeAxis: Returns the Axis of the track event.

Location

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

X

Int32: Returns the X delta of the track event.

Y

Int32: Returns Y delta of the track event.

Used By

Name
Description

Represents the method that will handle the event.

Track
Public Class TrackEventArgs
    Inherits EventArgs
public class TrackEventArgs : EventArgs

TouchEventHandler

Wisej.Web.TouchEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

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

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

Parameters

Name
Type
Description

Fired By

Name
Description

WidgetEventHandler

Wisej.Web.WidgetEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that handles the WidgetEvent event.

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

Parameters

Name
Type
Description

Fired By

Name
Description

KeyEventArgs

Wisej.Web.KeyEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the KeyDown or KeyUp event.

public class KeyEventArgs : EventArgs
Public Class KeyEventArgs
    Inherits EventArgs

Constructors

KeyEventArgs(keyData)

Initializes a new instance of the class.

Name
Type
Description

Properties

Alt

: Returns whether the ALT key was pressed.

Control

: Returns whether the CTRL key was pressed.

Handled

: Returns or sets whether the event was handled.

KeyCode

: Returns the keyboard code..

KeyData

: Returns the key data.

KeyValue

: Returns the keyboard value.

Modifiers

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

Shift

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

Methods

IsAltPressed()

Returns whether the Alt key is pressed.

Returns: .

IsCtrlPressed()

Returns whether the Control key is pressed.

Returns: .

IsShiftPressed()

Returns whether the Shift key is pressed.

Returns: .

Used By

Name
Description

SwipeEventArgs

Wisej.Web.SwipeEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for Swipe event.

public class SwipeEventArgs : EventArgs
Public Class SwipeEventArgs
    Inherits EventArgs

Properties

Axis

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

Direction

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

Distance

: Returns the distance of the performed swipe.

Duration

: Returns the duration the performed swipe took.

StartTime

: Returns the start time of the performed swipe.

Velocity

: Returns the velocity of the performed swipe.

Used By

Name
Description

QueryContinueDragEventArgs

Wisej.Web.QueryContinueDragEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the event.

Constructors

QueryContinueDragEventHandler

Wisej.Web.QueryContinueDragEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that will handle the event of a .

TouchEventArgs

Wisej.Web.TouchEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for event.

Properties

sender

Object

The source of the event.

e

TouchEventArgs

A TouchEventArgs that contains the event data.

Control.TouchStart

Fired when a touch point is placed on the touch surface.

Control.TouchEnd

Fired when a touch point is removed from the touch surface.

Control.TouchCancel

Fired when a touch point has been disrupted in an implementation-specific manner (for example, too many touch points are created).

Control.TouchMove

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

sender

Object

The source of the event.

e

WidgetEventArgs

A WidgetEventArgs that contains the event data.

Control.WidgetEvent

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

Object
KeyEventArgs
KeyEventArgs
Control.KeyDown
Control.KeyUp

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.

Object
MouseEventArgs
MouseEventArgs
CheckedListBox.MouseClick
CheckedListBox
Control.MouseClick
Control.MouseDoubleClick
Control.MouseDown
Control.MouseMove
Object
ResponsiveProfileChangedEventArgs
ResponsiveProfileChangedEventArgs
Control.ResponsiveProfileChanged
Application.ResponsiveProfileChanged

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
Boolean
Boolean
Boolean
Keys
Keys
Int32
Keys
Boolean
Boolean
Boolean
Boolean

SwipeEventHandler

Represents the method that will handle the Swipe event.

SwipeAxis
SwipeDirection
Int32
Int32
Int64
Double
Char
KeyPressEventHandler
KeyPress
Control
Keys
Keys
PreviewKeyDownEventHandler
PreviewKeyDown
PinchEventHandler
Pinch
TrackEventHandler
Track
QueryContinueDragEventArgs(args)

Initializes a new instance of the QueryContinueDragEventArgs class.

Name
Type
Description

args

The arguments received from the client.

Properties

Action

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

EscapePressed

Boolean: Returns if the user pressed the ESC key.

KeyState

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

Used By

Name
Description

Represents the method that will handle the event of a .

QueryContinueDrag
Public Class QueryContinueDragEventArgs
    Inherits EventArgs
public class QueryContinueDragEventArgs : EventArgs
Parameters
Name
Type
Description

sender

The source of an event.

e

A that contains the event data.

Fired By

Name
Description

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

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

Int64[]: Returns the unique identifiers for the touch items.

IsMultiTouch

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

Locations

Point[]: Returns the location of the touch items in screen coordinates.

Rotation

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

Scale

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

Used By

Name
Description

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

Swipe
Public Class TouchEventArgs
    Inherits EventArgs
public class TouchEventArgs : EventArgs

Control.ControlCollection

Wisej.Web.Control ControlCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents a collection of Control objects.

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

Constructors

ControlCollection(owner)

Initializes a new instance of the class.

Name
Type
Description

Properties

IsDisposed

: Returns whether the owner control has already been disposed.

Item(index)

: Returns the at the specified indexed location.

Item(key)

: Returns the with the specified key in the collection.

Owner

: Returns the control that owns this .

Methods

Add(child)

Adds the specified control to the control collection.

Parameter
Type
Description

AddRange(controls)

Adds an array of control objects to the collection.

Parameter
Type
Description

Clear()

Removes all controls from the collection.

Clear(dispose)

Removes and disposes all controls from the collection.

Parameter
Type
Description

Contains(control)

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

Parameter
Type
Description

Returns: . true if the is a member of the collection; otherwise, false.

ContainsKey(key)

Determines whether the contains an item with the specified key.

Parameter
Type
Description

Returns: . true if the contains an item with the specified key; otherwise, false.

Find(type, searchAllChildren)

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

Parameter
Type
Description

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

Throws:

  • type is null.

Find(key, searchAllChildren)

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

Parameter
Type
Description

Returns: . Array of controls with the specified name.

Throws:

  • The key parameter is null or an empty string ("").

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

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

Throws:

  • The child is not in the , and the throwException parameter value is true.

GetEnumerator()

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

Returns: . An .

IndexOf(control)

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

Parameter
Type
Description

Returns: . A zero-based index value that represents the position of the specified in the .

IndexOfKey(key)

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

Parameter
Type
Description

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

Remove(child)

Removes the specified control from the control collection.

Parameter
Type
Description

RemoveByKey(key)

Removes the child control with the specified key.

Parameter
Type
Description

SetChildIndex(child, newIndex)

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

Parameter
Type
Description

PinchEventHandler

Wisej.Web.PinchEventHandler

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the method that will handle the Pinch event.

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

Parameters

Name
Type
Description

Fired By

Name
Description

DragEventArgs

Wisej.Web.DragEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the , , or event.

LayoutEventArgs

Wisej.Web.LayoutEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the event.

Constructors

HelpEventArgs

Wisej.Web.HelpEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the event.

Constructors

WidgetEventArgs

Wisej.Web.WidgetEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the event.

Constructors

sender

Object

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.

Object
QueryContinueDragEventArgs
QueryContinueDragEventArgs
Control.QueryContinueDrag

owner

Control

The Control that owns this collection.

child

Control

The Control to add.

controls

Control[]

An array of Control objects to add to the collection.

dispose

Boolean

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

control

Control

The Control to locate in the collection.

key

String

The key to locate in the ControlCollection.

type

Type

The type of the controls to locate in the ControlCollection.

searchAllChildren

Boolean

true to search all child controls; otherwise, false.

key

String

The key to located in the ControlCollection.

searchAllChildren

Boolean

true to search all child controls; otherwise, false.

child

Control

The Control to search for in the control collection.

throwException

Boolean

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

control

Control

The Control to locate in the collection.

key

String

The name of the control to search for.

child

Control

The Control to remove.

key

String

The name of the child control to remove.

child

Control

The child control to search for.

newIndex

Int32

The new index value of the control.

ControlCollection
Boolean
Control
Control
Control
Control
Control
ControlCollection
Boolean
Control
ControlCollection
Boolean
ControlCollection
Control[]
ArgumentNullException
Control[]
ArgumentNullException
Int32
Control
ControlCollection
ArgumentException
Control
ControlCollection
ControlCollection
IEnumerator
IEnumerator
Int32
Control
ControlCollection
Int32
WisejEventArgs
QueryContinueDragEventHandler
QueryContinueDrag
Control
TouchEventHandler
TouchStart
TouchEnd
TouchMove
TouchCancel
Constructors

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.

data

The data associated with this event.

Properties

AllowedEffect

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

AllowedFileTypes

String: 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 Types for a complete list of standard media types.

Data

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

DragSource

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

DropTarget

Object: Returns the original target of the drag operation.

Effect

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

Files

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

Image

Image: Returns or sets the custom image displayed on the client to represent the drag action.

ImageSize

Size: Returns or sets the size in pixels of the custom image displayed on the client to represent the drag action.

ImageSource

String: Returns or sets the custom image source displayed on the client to represent the drag action.

KeyState

Int32: Returns the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.

Location

Point: Returns the location of the mouse or pointer event, in screen coordinates.

X

Int32: Returns the x-coordinate of the mouse or pointer, in screen coordinates.

Y

Int32: Returns the y-coordinate of the mouse or pointer, in screen coordinates.

Used By

Name
Description

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

DragDrop
DragEnter
DragOver
Public Class DragEventArgs
    Inherits EventArgs
public class DragEventArgs : EventArgs
LayoutEventArgs(affectedComponent, affectedProperty)

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

Name
Type
Description

affectedComponent

The affected by the layout change.

affectedProperty

The property affected by the layout change.

LayoutEventArgs(affectedControl, affectedProperty)

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

Name
Type
Description

affectedControl

The affected by the layout change.

affectedProperty

The property affected by the layout change.

Properties

AffectedComponent

IComponent: Returns the IComponent affected by the layout change.

AffectedControl

Control: Returns the child control affected by the change.

AffectedProperty

String: Returns the property affected by the change.

Used By

Name
Description

Represents the method that will handle the event of a .

Layout
Public Class LayoutEventArgs
    Inherits EventArgs
public class LayoutEventArgs : EventArgs
HelpEventArgs(target)

Initializes a new instance of the HelpEventArgs class.

Name
Type
Description

target

The that had the focus when the user pressed F1.

Properties

Handled

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

Target

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

Used By

Name
Description

Represents the method that will handle the event of a .

HelpRequested
Public Class HelpEventArgs
    Inherits EventArgs
public class HelpEventArgs : EventArgs
WidgetEventArgs(type, data)

Initializes a new instance of the WidgetEventArgs class.

Name
Type
Description

type

The type (name) of event.

data

The data object received with the event.

Properties

Data

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

Type

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

Used By

Name
Description

Represents the method that handles the event.

WidgetEvent
Public Class WidgetEventArgs
    Inherits EventArgs
public class WidgetEventArgs : EventArgs

MouseEventArgs

Wisej.Web.MouseEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Provides data for the , , and events.

location

Point

The Point that indicates the location of the drag event.

DragDropEffects
DragDropEffects
DragDropEffects
DragDropEffects
Object
DragEventHandler
DragDrop
DragEnter
DragOver
Control
IComponent
IComponent
String
Control
Control
String
LayoutEventHandler
Layout
Control
Control
Control
HelpEventHandler
HelpRequested
Control
String
Object
WidgetEventHandler
WidgetEvent
Constructors

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.

x

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

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.

x

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

Properties

Button

MouseButtons: Returns which mouse button was pressed.

Clicks

Int32: Returns the number of clicks or taps.

Delta

Int32: Returns the number of times the mouse wheel has rotated.

Location

Point: Returns the location of the mouse or pointer event.

OriginalTarget

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

Role

String: Returns the internal role assigned to the element that generated the pointer event: checkbox, button, ...

The value in the Role property is taken from the "role" attribute of the clicked element inside the widget. You can detect clicks on custom HTML content by adding the role attribute to the custom element.

X

Int32: Returns the x-coordinate of the mouse or touch event.

Y

Int32: Returns the y-coordinate of the mouse or touch event.

Used By

Name
Description

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

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

y

Int32

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

delta

Int32

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

y

Int32

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

delta

Int32

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

role

String

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

MouseButtons
MouseButtons
Int32
Int32
MouseButtons
MouseButtons
Int32
Int32
MouseEventHandler

Control

Wisej.Web.Control

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Base class for all Wisej controls.

public class Control : IWisejControl, IWisejComponent, IBindableComponent, IWisejSerializable, IHasPropertyStore, IHasResponsiveProfiles
Public Class Control
    Inherits IWisejControl
    Implements IWisejComponent, IBindableComponent, IWisejSerializable, IHasPropertyStore, IHasResponsiveProfiles

Constructors

Control()

Initializes a new instance of the class.

Properties

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.

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.

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.

AllowDrag

: Returns or sets whether the control can initiate a drag-drop operation.

AllowDrop

: Returns or sets whether the control can accept data that the user drags onto it.

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.

Anonymous

: Returns or sets whether the control receives pointer events. Anonymous controls let pointer events bubble to their parents.

AppearanceKey

: Sets the appearance key for the theme engine.

BackColor

: Returns or sets the background color for the control.

BackgroundImage

: Returns or sets the background image displayed in the control.

BackgroundImageLayout

: Returns or sets the background image layout as defined in the enumeration.

BackgroundImageSource

: Returns or sets the background image displayed in the control.

BecomingActiveControl

: Returns a flag indicating that the control is becoming the active control.

BindingContext

: Returns or sets the for the control.

Bottom

: Returns the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.

Bounds

: Returns or sets the size and location of the control including its non-client area, in pixels and relative to the parent control.

CanExecute

: Determines whether the control can execute a command.

CanFocus

: Returns whether the control can receive focus.

CanSelect

: Returns whether the control can be selected.

Capture

: Returns or sets whether the control has captured the mouse.

CausesValidation

: Returns or sets whether the control causes validation to be performed on controls that require to be validated when this control receives focus.

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:

ClientRectangle

: Returns the client rectangle of the control.

ClientSize

: Returns or sets the height and width of the client area.

ContainsFocus

: Indicates whether the control, or one of its child controls, has the input focus.

ContextMenu

: Returns or sets the shortcut menu associated with the control.

Controls

: Returns the collection of controls contained within the control.

Created

: Returns a value indicating whether the control has been created.

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:

CssStyle

: Returns or sets the custom CSS styles to add to the widget.

You can use any CSS style string.

Cursor

: Returns or sets the cursor that is displayed when the mouse pointer is over the control.

DataBindings

: Returns the data bindings for the control.

DefaultBackColor

: Returns the default background color of the control.

DefaultFont

: Returns the default font of the control.

DefaultForeColor

: Returns the default background color of the control.

DisplayRectangle

: Returns the rectangle that represents the virtual display area of the control.

Disposing

: Returns whether the control is in the process of disposing itself and child controls.

Dock

: Returns or sets which control borders are docked to its parent control and determines how a control is resized with its parent.

Enabled

: Returns or sets whether the control can respond to user interaction.

EnableNativeContextMenu

: Enables or disables the browser's context menu.

Focusable

: Returns or sets whether the control can gain the focus.

Focused

: Returns a value indicating whether the control has input focus.

Font

: Gets or sets the font of the text displayed by the control.

ForeColor

: Returns or sets the text color of the control.

Handle

: Returns the unique server-side id (handle) for this component.

HasChildren

: Returns whether the control contains any child control.

HasDataBindings

: Returns whether the control specifies data bindings.

HasResponsiveProfiles

: Check if the control defines any responsive profile without forcing the creation of the collection.

HasUserData

: Checks if the dynamic object was created and has any value.

Height

: Returns or sets the height of the control.

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:

IsDisposed

: Returns whether the control has been disposed.

IsHandleCreated

: Returns if the control has a server-side component id (handle) associated with it.

IsMirrored

: Returns whether the control is mirrored.

LayoutEngine

: Returns the control's layout engine.

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.

Location

: Returns or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.

Margin

: Returns or sets the space between controls.

MaximumSize

: Returns or sets the maximum size for the control.

MinimumSize

: Returns or sets the minimum size for the control.

ModifierKeys

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

MouseButtons

: Returns a value indicating which of the mouse buttons is in a pressed state.

MousePosition

: Returns the position of the mouse cursor in screen coordinates.

Movable

: Returns or sets whether the control can be moved by dragging.

Name

: Gets or sets the name of the control.

Padding

: Returns or sets padding within the control.

Parent

: Returns or sets the parent container of the control.

PreferredSize

: Returns the preferred size in which the control can fit.

ResizableEdges

: Returns or sets the edges of the control that can be dragged to resize the control.

ResponsiveProfiles

: Returns the collection of responsive properties that have been set for this control.

Right

: Return the distance, in pixels, between the right edge of the control and the left edge of its container's client area.

RightToLeft

: Returns or sets whether the control's elements are aligned right-to-left to support RTL languages.

When set to , 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.

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.

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]

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.

ShowLoader

: Returns or sets whether the control is blocked by the ajax loader.

Size

: Returns or sets the height and width of the control.

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:

TabIndex

: Returns or sets the tab order of the control within its container.

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.

Tag

: Returns or sets the object that contains data about the control.

Text

: Returns or sets the text associated with this control.

When AllowHtml is set to true, the text can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with " ".

ToolTipText

: Returns or sets the tooltip text to show for this control.

When using property you can only set the ToolTip text and cannot change the default ToolTip icon set in the theme. To change the ToolTip icon you can either create a custom theme, or a theme mixin, or use the extender and the property added by the extender. You can change the default , , , , or enable HTML in by using a extender also without setting the property added by the extender.

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.

TopLevelControl

: Returns the parent control that is not parented by another . Typically, this is the outermost that the control is contained in.

UserData

: Returns a dynamic object that can be used to store custom data in relation to this control.

UseWaitCursor

: Returns or sets whether to use the wait cursor for the current control and all child controls.

ValidationCancelled

: Returns a flag indicating that the validation has been canceled.

Visible

: Returns or sets whether the control and all its child controls are displayed.

WheelDelta

: Returns a value indicating the wheel delta from the last wheel event.

Width

: Returns or sets the width of the control.

Methods

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.

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.

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.

BeginInvoke(method)

Executes the specified delegate asynchronously.

Parameter
Type
Description

Returns: . An that represents the result of the operation.

BeginInvoke(method, args)

Executes the specified delegate asynchronously.

Parameter
Type
Description

Returns: . An that represents the result of the asynchronous call.

BringToFront()

Brings the control to the front of the z-order.

Call(function, args)

Runs the JavaScript function within the component's context in the browser.

Parameter
Type
Description

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

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.

CenterToParent()

Centers the position of the control within the bounds of the parent.

CenterToParent(horizontal, vertical)

Centers the position of the control within the bounds of the parent either horizontally, vertically or both.

Parameter
Type
Description

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.

CreateControl()

Creates and register this control and all its children.

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.

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.

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.

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.

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.

EndInvoke(asyncResult)

Retrieves the return value from the asynchronous operation represented by asyncResult .

Parameter
Type
Description

Returns: . The return value from the asynchronous operation.

Eval(javaScript)

Runs the javaScript code within the component's context in the browser.

Parameter
Type
Description

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

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.

FindForm()

Retrieves the form that the control is on.

Returns: .

FindPage()

Retrieves the page that the control is on.

Returns: .

Focus()

Sets input focus to the control.

Returns: . true if the input focus request was successful; otherwise, false.

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.

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.

GetClientEventListener(id)

Returns the script associated to the listener identified by id .

Parameter
Type
Description

Returns: . JavaScript associated with the listener.

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.

GetContainerControl()

Returns the next up the control's chain of parents.

Returns: . The parent .

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.

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.

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.

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 .

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 .

Hide()

Conceals the control from the user.

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.

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

Invoke(method)

Executes the specified delegate.

Parameter
Type
Description

Returns: . The return value from the delegate being invoked, or null if the delegate has no return value.

Invoke(method, args)

Executes the specified delegate, on the thread that owns the control's underlying window handle, 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.

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.

PerformLayout()

Forces the control to apply layout logic to all its child controls.

PerformLayout(affectedControl, affectedProperty)

Forces the control to apply layout logic to all its child controls.

Parameter
Type
Description

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.

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.

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.

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.

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.

Refresh(refreshChildren)

Forces the control to update corresponding client widget. When in DesignMode it forces a full redraw of the designer surface for this control and optionally of its children, including the non-client areas such as the caption of forms or panels.

Parameter
Type
Description

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.

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.

RemoveCssClass(name)

Removes the specified css class name from the control's property.

Parameter
Type
Description

Returns: . The new value of the property.

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.

ResetBindings()

Removes all the data bindings from the control.

ResumeLayout()

Resumes layout logic.

ResumeLayout(performLayout)

Resumes layout logic, optionally forcing an immediate layout of all pending layout requests.

Parameter
Type
Description

ScrollControlIntoView(alignX, alignY)

Scrolls the control into view in the container using the specified alignX and alignY preferences.

Parameter
Type
Description

ScrollControlIntoView()

Scrolls the child control into view.

Select()

Activates a control.

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.

SendToBack()

Sends the control to the back of the z-order.

SetBounds(x, y, width, height)

Sets the bounds of the control to the specified location and size.

Parameter
Type
Description

SetBounds(x, y, width, height, specified)

Sets the specified bounds of the control to the specified location and size.

Parameter
Type
Description

Show()

Displays the control to the user.

SuspendLayout()

Suspends the layout logic for the control.

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.

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.

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.

Events

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.

AutoSizeChanged

Fired when the property value changes.

BackColorChanged

Fired when the value of the property changes.

BackgroundImageChanged

Fired when the value of the property changes.

BackgroundImageLayoutChanged

Fired when the property changes.

BecomingActiveControlChanged

Fired when the value of the property changes.

BindingContextChanged

Occurs when the value of the property changes.

CausesValidationChanged

Fired when the value of the property changes.

Click

Fired when the control is clicked.

ClientSizeChanged

Fired when the property value changes.

ContextMenuChanged

Fired when the value of the property changes.

ControlAdded

Fired when a new control is added to the .

ControlCreated

Fired when a control is made visible the first time, fully created and sent to the client.

ControlRemoved

Fired when a control is removed from the .

CursorChanged

Fired when the value of the property changes.

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.

Disposed

Fired when the component is disposed.

DockChanged

Fired when the value of the property changes.

DoubleClick

Fired when the control is double-clicked.

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.

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.

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.

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.

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.

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.

EnabledChanged

Fired when the property value has changed.

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.

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.

Enter

Fired when the control gains the input focus.

FontChanged

Fired when the property value changes.

ForeColorChanged

Fired when the property value changes.

GotFocus

Fired when the control gains the focus.

HelpRequested

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

ImeModeChanged

Fired when the ImeMode property has changed.

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.

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.

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.

Layout

Fired when a control should reposition its child controls.

Leave

Fired when the control loses the input focus.

LocationChanged

Fired when the property value has changed.

LongTap

Fired when a pointer holds on the screen.

LostFocus

Fired when the control loses focus.

MarginChanged

Fired when the control's margin changes.

MouseCaptureChanged

Fired when the control loses mouse capture.

MouseClick

Fired when the control is clicked by the mouse.

MouseDoubleClick

Fired when the control is double clicked by the mouse.

MouseDown

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

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.

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.

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.

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.

MouseUp

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

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.

PaddingChanged

Fired when the control's padding changes.

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.

ParentChanged

Fired when the property value changes.

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.

PreviewKeyDown

Fired before the event when a key is pressed while focus is on this 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.

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.

Resize

Fired when the control is resized.

ResponsiveProfileChanged

Fired when the active responsive profile is changed.

RightToLeftChanged

Fired when the property value changes.

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.

SizeChanged

Fired when the property value changes.

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.

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.

StyleChanged

Fired when the control style changed.

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.

TabIndexChanged

Fired when the property value has changed.

TabStopChanged

Fired when the value of the property changes.

Tap

Fired when a pointer taps on the screen.

TextChanged

Fired when the property value changes.

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.

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.

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.

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.

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.

Validated

Fired when the control is finished validating.

Validating

Fired when the control is validating.

VisibleChanged

Fired when the property value changes.

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:

Inherited By

Name
Description

Implements

Name
Description

GetClientEventListener

GetClientEventListener

The size of the drag image specified in imageSource.

The size of the drag image specified in image.

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.

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 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 children horizontally or vertically in automatic rows or columns.

Represents a window or dialog box that makes up an application's user interface.

Represents a Wisej control that displays a frame around a group of controls with an optional caption.

Represents a label control.

Represents an hyper-link control.

Represents a control to display a list of items.

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 panel that dynamically lays out its contents in a grid composed of rows and columns.

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 the HTML5 canvas element.

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.

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 .

name

String

Name of the client event to attach the listener to.

script

String

JavaScript code to execute when the event occurs.

name

String

Name of the css class to add.

state

String

Name of the custom state to add to the widget.

method

Delegate

A delegate to a method that takes no parameters.

method

Delegate

A delegate to a method that takes no parameters.

args

Object[]

An optional array of objects to pass as arguments to the specified method.

function

String

The name of the JavaScript function to execute.

args

Object[]

The arguments to pass to the function.

function

String

The name of the JavaScript function to execute.

callback

Action<Object>

Asynchronous callback method that receives the return value.

args

Object[]

The arguments to pass to the function.

function

String

The name of the JavaScript function to execute.

args

Object[]

The arguments to pass to the function.

horizontal

Boolean

Center horizontally.

vertical

Boolean

Center vertically.

control

Control

The child Control to find.

data

Object

The data to drag.

allowedEffects

DragDropEffects

One of the DragDropEffects values.

data

Object

The data to drag.

allowedEffects

DragDropEffects

One of the DragDropEffects values.

imageSource

String

The name or URL for an image to use as the drag cursor.

data

Object

The data to drag.

allowedEffects

DragDropEffects

One of the DragDropEffects values.

imageSource

String

The name or URL for an image to use as the drag cursor.

data

Object

The data to drag.

allowedEffects

DragDropEffects

One of the DragDropEffects values.

image

Image

An Image to use as the drag cursor.

data

Object

The data to drag.

allowedEffects

DragDropEffects

One of the DragDropEffects values.

image

Image

An Image to use as the drag cursor.

asyncResult

IAsyncResult

An IAsyncResult that represents a BeginInvoke operation started on a control.

javaScript

String

The JavaScript code to run on the client.

javaScript

String

The JavaScript code to evaluate on the client.

callback

Action<Object>

Asynchronous callback method that receives the return value.

javaScript

String

The JavaScript code to evaluate on the client.

pt

Point

A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area.

skipValue

GetChildAtPointSkip

One of the values of GetChildAtPointSkip, determining whether to ignore child controls of a certain type.

pt

Point

A Point that contains the coordinates where you want to look for a control. Coordinates are expressed relative to the upper-left corner of the control's client area.

id

Int32

Id of the listener to retrieve the script for.

name

String

Name of the event.

control

Control

The Control to start the search with.

forward

Boolean

true to search forward in the tab order; false to search backward.

flag

ControlStyles

The ControlStyles bit to return the value from.

name

String

Name of the client event to verify.

name

String

Css class name to verify.

state

String

Name of the state to check.

invalidateChildren

Boolean

When true, invalidates all the children of the control.

method

Delegate

A delegate that contains a method to be called in the control's thread context.

method

Delegate

A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.

args

Object[]

An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.

charCode

Char

The character to test.

text

String

The string to search.

affectedControl

Control

A Control that represents the recently changed control.

affectedProperty

String

The name of the recently changed property on the control that caused the layout to change.

point

Point

The screen coordinate Point to convert.

point

Point

The client coordinate Point to convert.

rect

Rectangle

The screen coordinate Rectangle to convert.

rect

Rectangle

The client coordinate Rectangle to convert.

refreshChildren

Boolean

True to also refresh all the children of this control.

id

Int32

Id of the listener to remove.

name

String

Name of the event.

name

String

The css class name to remove.

state

String

Name of the state to remove.

performLayout

Boolean

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.

control

Control

The Control at which to start the search.

forward

Boolean

true to move forward in the tab order; false to move backward in the tab order.

tabStopOnly

Boolean

true to ignore the controls with the TabStop property set to false; otherwise, false.

x

Int32

The new Left property value of the control.

y

Int32

The new Top property value of the control.

width

Int32

The new Width property value of the control.

x

Int32

The new Left property value of the control.

y

Int32

The new Top property value of the control.

width

Int32

The new Width property value of the control.

flags

ValidationConstraints

FileDialogUI

UI implementation for the FileDialog class.

FolderBrowserDialogUI

UI implementation for the FolderDialog class.

BindingNavigator

Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.

Button

Represents a button control.

ButtonBase

Implements the basic functionality common to button controls.

IBindableComponent

Bindable components implement this interface.

IWisejComponent

All wisej components implement this interface.

IWisejControl

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

IWisejSerializable

Allows an object to serialize itself.

Control
String
String
AccessibleRole
Boolean
Boolean
AnchorStyles
Boolean
String
Color
Image
ImageLayout
ImageLayout
String
Boolean
BindingContext
BindingContext
Int32
Rectangle
Boolean
Boolean
Boolean
Boolean
Boolean
ClientEventCollection
AddClientEventListener
HasClientEventListener
RemoveClientEventListener
RemoveClientEventListener
Rectangle
Size
Boolean
ContextMenu
ControlCollection
Boolean
String
StyleSheet
AddCssClass
RemoveCssClass
HasCssClass
String
Cursor
ControlBindingsCollection
Color
Font
Color
Rectangle
Boolean
DockStyle
Boolean
Boolean
Boolean
Boolean
Font
Color
IntPtr
Boolean
Boolean
Boolean
Boolean
UserData
Int32
String
#qx
wisej-js
ClientEvents
AddClientEventListener
HasClientEventListener
RemoveClientEventListener
RemoveClientEventListener
Boolean
Boolean
Boolean
LayoutEngine
Int32
Point
Padding
Size
Size
Keys
MouseButtons
Point
Boolean
String
Padding
Control
Size
AnchorStyles
ResponsiveProfileCollection
Int32
RightToLeft
Inherit
Inherit
Boolean
Selectable
Focusable
Selectable
Boolean
Size
String[]
AddState
RemoveState
HasState
Int32
Boolean
Focusable
Object
String
String
ToolTipText
ToolTip
ToolTip
ForeColor
AutomaticDelay
InitialDelay
AutoPopDelay
ToolTipText
ToolTip
ToolTip
Int32
Control
Form
Form
Object
Boolean
Boolean
Boolean
Int32
Int32
Int32
RemoveClientEventListener
GetClientEventListener
CssClass
String
CssClass
String[]
States
States
IAsyncResult
IAsyncResult
BeginInvoke
IAsyncResult
IAsyncResult
Task
Task<Object>
Task
Boolean
DragDropEffects
DragDropEffects
DragDropEffects
DragDropEffects
DragDropEffects
DragDropEffects
DragDropEffects
DragDropEffects
DragDropEffects
DragDropEffects
Object
Task
Task<Object>
Task
Form
Page
Boolean
Control
Control
Control
Control
String
String[]
IContainerControl
IContainerControl
IContainerControl
Control
Control
Boolean
Boolean
CssClass
Boolean
CssClass
States
Boolean
Object
Object
Object
Boolean
Point
Point
Point
Point
Point
Point
Rectangle
Rectangle
Rectangle
Rectangle
Rectangle
Rectangle
Boolean
Boolean
CssClass
String
CssClass
String[]
States
States
Boolean
Selectable
Boolean
Validating
Validated
Boolean
Validating
Validated
EventHandler
Appear
Disappear
EventHandler
AutoSize
EventHandler
BackColor
EventHandler
BackgroundImage
EventHandler
BackgroundImageLayout
EventHandler
BecomingActiveControl
EventHandler
BindingContext
EventHandler
CausesValidation
EventHandler
EventHandler
ClientSize
EventHandler
ContextMenu
ControlEventHandler
ControlCollection
EventHandler
ControlEventHandler
ControlCollection
EventHandler
Cursor
EventHandler
Appear
Disappear
EventHandler
EventHandler
Dock
EventHandler
DragEventHandler
EventHandler
DragEventHandler
EventHandler
DragEventHandler
EventHandler
EventHandler
Enabled
EventHandler
Movable
Movable
Location
EventHandler
ResizableEdges
ResizableEdges
None
Size
EventHandler
EventHandler
Font
EventHandler
ForeColor
EventHandler
HelpEventHandler
EventHandler
KeyEventHandler
KeyPressEventHandler
KeyEventHandler
LayoutEventHandler
EventHandler
EventHandler
Location
EventHandler
EventHandler
EventHandler
EventHandler
MouseEventHandler
MouseEventHandler
MouseEventHandler
EventHandler
EventHandler
EventHandler
MouseEventHandler
MouseEventHandler
MouseEventHandler
EventHandler
PaintEventHandler
EventHandler
Parent
PinchEventHandler
PreviewKeyDownEventHandler
KeyDown
QueryContinueDragEventHandler
EventHandler
ResponsiveProfileChangedEventHandler
EventHandler
RightToLeft
RotateEventHandler
EventHandler
Size
EventHandler
Movable
Movable
EventHandler
ResizableEdges
ResizableEdges
None
EventHandler
SwipeEventHandler
EventHandler
TabIndex
EventHandler
TabStop
EventHandler
EventHandler
Text
TouchEventHandler
TouchEventHandler
TouchEventHandler
TouchEventHandler
TrackEventHandler
EventHandler
CancelEventHandler
EventHandler
Visible
WidgetEventHandler

imageSize

imageSize

nested

height

height


  // 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;
    }
  }
Size
Size
Boolean
Boolean
Int32
Height
Int32
Height
BoundsSpecified
BoundsSpecified
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
TableLayoutPanel
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
FlashPlayer
FlashPlayer
FlexLayoutPanel
HtmlPanel
IFramePanel
Line
ListViewComboBox
UserComboBox
ListView
Media
Video
Video
Audio
Audio
PdfViewer
PdfViewer
Shape
SlideBar
Spacer
SplitButton
TagTextBox
TimeUpDown
TimeSpan
TreeViewComboBox
UserComboBox
TreeView
Upload
UserComboBox
ComboBox
UserPopup
Widget
ListView
MenuBar
PropertyGrid
StatusBar
ToolBar
TreeView
TreeNode