Skip to main content
Version: 3.5

DomainUpDown

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Represents a spinner control that displays string values.

public class DomainUpDown : UpDownBase

Constructors

Instance memberDomainUpDown()

Initializes a new instance of the DomainUpDown class.

Instance memberDomainUpDown(onSelectedItemChanged)

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

NameTypeDescription
onSelectedItemChangedAction<Object, EventArgs>The delegate to invoke when the SelectedItemChanged event is raised.

Instance memberDomainUpDown(label, onSelectedItemChanged)

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

NameTypeDescription
labelStringInitial LabelText value.
onSelectedItemChangedAction<Object, EventArgs>The delegate to invoke when the SelectedItemChanged event is raised.

Instance memberDomainUpDown(location, size, onSelectedItemChanged)

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

NameTypeDescription
locationPointThe Point specifying the upper-left corner of the DomainUpDown control relative to the upper-left corner of its container.
sizeSizeThe Size of the DomainUpDown control.
onSelectedItemChangedAction<Object, EventArgs>The delegate to invoke when the SelectedItemChanged event is raised.

Instance memberDomainUpDown(label, location, size, onSelectedItemChanged)

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

NameTypeDescription
labelStringInitial LabelText value.
locationPointThe Point specifying the upper-left corner of the DomainUpDown control relative to the upper-left corner of its container.
sizeSizeThe Size of the DomainUpDown control.
onSelectedItemChangedAction<Object, EventArgs>The delegate to invoke when the SelectedItemChanged event is raised.

Properties

Instance memberItems

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

Instance memberSelectedIndex

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

Throws:

Instance memberSelectedItem

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

Instance memberSorted

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

Instance memberText

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

Events

Instance memberSelectedItemChanged

EventHandler Fired when the SelectedItem property has been changed.

Instance memberSortedChanged

EventHandler Fired when the Sorted property has changed.

Implements

NameDescription
IBindableComponentBindable components implement this interface.
IDropTargetControls that support drag & drop operations implement this interface.
ILabelProvides access to the LabelWrapper associated with the controls that implement this interface.
IReadOnlyProvides access to the ReadOnly property for coontrols that support the read-only mode.
IValidationProvides access to the validation events and properties property for controls that support validation.
IWisejComponentAll wisej components implement this interface.
IWisejControlAll wisej controls derived from the Control class must implement this interface.
IWisejSerializableAllows an object to serialize itself.