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.
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.
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.
location
The Point specifying the upper-left corner of the DomainUpDown control relative to the upper-left corner of its container.
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.
location
The Point specifying the upper-left corner of the DomainUpDown control relative to the upper-left corner of its container.
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:
ArgumentOutOfRangeException The assigned value is less than the default, -1; or the assigned value is greater than the Items count.
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.
OnSortedChanged(e)

Fires the SortedChanged event.
OnWebEvent(e)

Processes the event from the client.
OnWebRender(config)

Renders the client component.
OnWebUpdate(state)

Updates the client component using the state information.
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
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 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?