DomainUpDown

Wisej.Web.DomainUpDown

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Represents a spinner control that displays string values.

public class DomainUpDown : UpDownBase

Constructors

DomainUpDown()

Initializes a new instance of the DomainUpDown class.

DomainUpDown(onSelectedItemChanged)

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

Name
Type
Description

onSelectedItemChanged

The delegate to invoke when the SelectedItemChanged event is raised.

DomainUpDown(label, onSelectedItemChanged)

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

Name
Type
Description

label

Initial LabelText value.

onSelectedItemChanged

The delegate to invoke when the SelectedItemChanged event is raised.

DomainUpDown(location, size, onSelectedItemChanged)

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

Name
Type
Description

location

The Point specifying the upper-left corner of the DomainUpDown control relative to the upper-left corner of its container.

size

The Size of the DomainUpDown control.

onSelectedItemChanged

The delegate to invoke when the SelectedItemChanged event is raised.

DomainUpDown(label, location, size, onSelectedItemChanged)

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

Name
Type
Description

label

Initial LabelText value.

location

The Point specifying the upper-left corner of the DomainUpDown control relative to the upper-left corner of its container.

size

The Size of the DomainUpDown control.

onSelectedItemChanged

The delegate to invoke when the SelectedItemChanged event is raised.

Properties

DefaultSize

Size: Returns the default size for a text box control.

Items

DomainUpDownItemCollection: A collection of objects assigned to the spinner control.

SelectedIndex

Int32: Returns or sets the index value of the selected item. (Default: -1)

Throws:

SelectedItem

Object: Returns or sets the selected item based on the index value of the selected item in the collection.

Sorted

Boolean: Returns or sets whether the item collection is sorted. (Default: False)

Text

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

Methods

OnSelectedItemChanged(e)

Fires the SelectedItemChanged event.

Parameter
Type
Description

e

An EventArgs that contains the event data.

OnSortedChanged(e)

Fires the SortedChanged event.

Parameter
Type
Description

e

A EventArgs that contains the event data.

OnWebEvent(e)

Processes the event from the client.

Parameter
Type
Description

e

Event arguments.

OnWebRender(config)

Renders the client component.

Parameter
Type
Description

config

Dynamic configuration object.

OnWebUpdate(state)

Updates the client component using the state information.

Parameter
Type
Description

state

Dynamic state object.

UpdateEditText()

Displays the value of the currently selected item.

Events

SelectedItemChanged

EventHandler Fired when the SelectedItem property has been changed.

SortedChanged

EventHandler Fired when the Sorted property has changed.

Implements

Name
Description

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

Bindable components implement this interface.

Controls that support drag & drop operations implement this interface.

Provides access to the LabelWrapper associated with the controls that implement this interface.

Provides access to the ReadOnly property for coontrols that support the read-only mode.

Provides access to the validation events and properties property for controls that support validation.

All wisej components implement this interface.

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

Allows an object to serialize itself.

Last updated

Was this helpful?