Search
Control Members
Constructors Properties Methods Events
 


A base class for UI controls.

The following tables list the members exposed by the Control type.

 Public Constructors

  Name Description

Control

Initializes a new instance of the Control class.

 Public Properties

  Name Description

bounds

Gets the bounds of this control.

cssClass

Gets or sets the css class of the control.

data

Gets or sets an object, holding custom user data.

element

Gets a reference to the control's element.

enabled

Gets or sets a value indicating whether user interactions are allowed for this control.

height

Gets or sets the height of this control.

left

Gets or sets the X-coordinate of the location of this control.

licenseLocation

Gets or sets the URL of the control's license file.

loaded

Gets a value indicating whether this control is loaded and ready for interaction.

rect

Gets the bounding rect of this control.

theme

Gets or sets the current theme of the control.

top

Gets or sets the Y-coordinate of the location of this control.

visible

Gets or sets the visibility of this control.

width

Gets or sets the width of this control.

 Public Methods

  Name Description

attach

Attach control event handlers.

detach

Detach control event handlers.

dispose

Dispose the control.

draw

Draws the control.

find

Returns the control with the specified ID.

render

Draws the control and prepares it for user interaction.

 Public Events

  Name Description

controlLoad

Raised when the control is loaded.

controlUnload

Raised when the control is unloaded.

focus

Raised when the control is focused.

 See Also