# 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](/docs/controls/general/labels.md) property. This allows setting a label in relation to a `DomainUpDown` control without creating an additional `Label` control.

![DomainUpDown control with label](/files/-MdNy7Mf_edZBHxoxpq6)

{% content-ref url="/pages/-MIuBO1zCPpT0Jut8LQd" %}
[Labels](/docs/controls/general/labels.md)
{% 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) |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/docs/controls/editors/domainupdown.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
