# DomainUpDown

A Wisej.NET `DomainUpDown` control displays a single string value selected from an `Object` collection by clicking the up or down buttons. Users can enter text in the control unless the `ReadOnly` property is set to `true` (the string must match an item in the collection). When an item is selected, the object converts to a string value for display in the spin box.

{% hint style="info" %}
For a full list of properties, methods and events see the [API documentation.](http://docs.wisej.com/api)
{% endhint %}

## Features

### Label

The `DomainUpDown` control supports the inline [Label](https://docs.wisej.com/docs/controls/general/labels) property. This allows setting a label in relation to a `DomainUpDown` control without creating an additional `Label` control.

![DomainUpDown control with label](https://553579532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MF1D11gPs_az3xaKusw%2Fuploads%2Fgit-blob-b660aa222fcfa8ddebba028648c0334cdf5cfa10%2Fimage.png?alt=media)

{% content-ref url="../general/labels" %}
[labels](https://docs.wisej.com/docs/controls/general/labels)
{% endcontent-ref %}

## Advanced

### JavaScript Widget

| Item             | Description                                                                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------------- |
| Class name       | "wisej.web.DomainUpDown"                                                                                            |
| Theme appearance | "spinner", see [Themes](https://docs.wisej.com/theme-builder/theme-elements/elements).                              |
| Child components | "upbutton" is the up button. "downbutton" is the down button. "textfield" is the textfield.                         |
| Source code      | [https://github.com/iceteagroup/wisej-js](https://github.com/iceteagroup/wisej-js/blob/master/wisej.web.TextBox.js) |
