DomainUpDown
Wisej.Web.DomainUpDown
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents a spinner control that displays string values.
C#
VB.NET
1
public class DomainUpDown : UpDownBase
Copied!
1
Public Class DomainUpDown
2
Inherits UpDownBase
Copied!

Constructors

​
DomainUpDown()

Initializes a new instance of the NumericUpDown class.

Properties

​
Items

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

​
SelectedIndex

​Int32: Returns or sets the index value of the selected item.
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.

​
Text

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

Events

​
SelectedItemChanged

​EventHandler Fired when the SelectedItem property has been changed.

​
SortedChanged

​EventHandler Fired when the Sorted property has changed.

Inherited

Properties

Name
Description
From
​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.
​Control​
​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.
​Control​
​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.
​Control​
​AllowDrag​
Returns or sets whether the control can initiate a drag-drop operation.
​Control​
​AllowDrop​
Returns or sets whether the control can accept data that the user drags onto it.
​Control​
​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.
​Control​
​Anonymous​
Returns or sets whether the control receives pointer events. Anonymous controls let pointer events bubble to their parents.
​Control​
​AppearanceKey​
Sets the appearance key for the theme engine.
​Control​
​AutoSize​
Returns or sets whether the height of the control is set automatically.
​UpDownBase​
​BackColor​
Returns or sets the background color for the control.
​Control​
​BecomingActiveControl​
Returns a flag indicating that the control is becoming the active control.
​Control​
​BindingContext​
Returns or sets the BindingContext for the control.
​Control​
​BorderStyle​
Returns or sets the border style for the spin box (also known as an up-down control).
​UpDownBase​
​Bottom​
Returns the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area.
​Control​
​Bounds​
Returns or sets the size and location of the control including its non-client area, in pixels and relative to the parent control.
​Control​
​CanExecute​
Determines whether the control can execute a command.
​Control​
​CanFocus​
Returns whether the control can receive focus.
​Control​
​CanSelect​
Returns whether the control can be selected.
​Control​
​Capture​
Returns or sets whether the control has captured the mouse.
​Control​
​CausesValidation​
Returns or sets whether the control causes validation to be performed on controls that require to be validated when this control receives focus.
​Control​

Methods

Name
Description
From
Adds a new listener script to the event name to the client widget.
​Control​
​AddCssClass(name)​
Adds the CSS class name to the widget element. If the class already exists in the CssClass it's not added.
​Control​
​AddState(state)​
Adds the specified theme state to the widget.
​Control​
​BeginInvoke(method)​
Executes the specified delegate asynchronously.
​Control​
Executes the specified delegate asynchronously.
​Control​
​BringToFront()​
Brings the control to the front of the z-order.
​Control​
​Call(function, args)​
Runs the JavaScript function within the component's context in the browser.
​Control​
Runs the JavaScript function within the component's context in the browser and returns the value to the callback method.
​Control​
Asynchronously runs the JavaScript function within the component's context in the browser and returns an awaitable Task containing the value returned by the remote call.
​Control​
​CenterToParent()​
Centers the position of the control within the bounds of the parent.
​Control​
Centers the position of the control within the bounds of the parent either horizontally, vertically or both.
​Control​
​Contains(control)​
Indicates whether the specified control is a child of this control.
​Control​
​CreateControl()​
Creates and register this control and all its children.
​Control​
Begins a drag-and-drop operation.
​Control​
Begins a drag-and-drop operation.
​Control​
Begins a drag-and-drop operation.
​Control​
Begins a drag-and-drop operation.
​Control​
Begins a drag-and-drop operation.
​Control​
​EndInvoke(asyncResult)​
Retrieves the return value from the asynchronous operation represented by asyncResult .
​Control​
​Eval(javaScript)​
Runs the javaScript code within the component's context in the browser.
​Control​

Events

Name
Description
From
​Appear​
Fired after the control has been fully rendered on the client.
​Control​
​AutoSizeChanged​
Fired when the value of the AutoSize property changes.
​UpDownBase​
​BackColorChanged​
Fired when the value of the BackColor property changes.
​Control​
Fired when the value of the BecomingActiveControl property changes.
​Control​
​BindingContextChanged​
Occurs when the value of the BindingContext property changes.
​Control​
​CausesValidationChanged​
Fired when the value of the CausesValidation property changes.
​Control​
​Click​
Fired when the control is clicked.
​Control​
​ClientSizeChanged​
Fired when the ClientSize property value changes.
​Control​
​ContextMenuChanged​
Fired when the value of the ContextMenu property changes.
​Control​
​ControlAdded​
Fired when a new control is added to the ControlCollection.
​Control​
​ControlCreated​
Fired when a control is made visible the first time, fully created and sent to the client.
​Control​
​ControlRemoved​
Fired when a control is removed from the ControlCollection.
​Control​
​CursorChanged​
Fired when the value of the Cursor property changes.
​Control​
​Disappear​
Fired after the control is no longer visible on the client.
​Control​
​Disposed​
Fired when the component is disposed.
​Control​
​DockChanged​
Fired when the value of the Dock property changes.
​Control​
​DoubleClick​
Fired when the control is double-clicked.
​Control​
​DragDrop​
Fired when a drag-and-drop operation is completed.
​Control​
​DragEnd​
Fired when a drag-drop operation is terminated either by a drop or canceled.
​Control​
​DragEnter​
Fired when an object is dragged into the control's bounds.
​Control​

Extension Methods

Name
Description
From
Sounds a tone through the computer's speaker.
​Interaction​
Displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
​Interaction​
Asynchronous displays a prompt in a dialog box, waits for the user to input text or click a button, and then returns a string containing the contents of the text box.
​Interaction​
Displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.
​Interaction​
Asynchronously displays a message in a dialog box, waits for the user to click a button, and then returns an integer indicating which button the user clicked.
​Interaction​
[ToJSON(obj, formatted)](https://docs.microsoft.com/en-us/dotnet/api/system.json.tojson(obj, formatted))
Serializes the object to a JSON string.
​JSON​
[ToJSON(obj, options)](https://docs.microsoft.com/en-us/dotnet/api/system.json.tojson(obj, options))
Serializes the object to a JSON string.
​JSON​

Implements

Name
Description
​IBindableComponent​
Bindable components implement this interface.
​ILabel​
Provides access to the LabelWrapper associated with the controls that implement this interface.
​IReadOnly​
Provides access to the ReadOnly property for coontrols that support the read-only mode.
​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.