# UiPath.Studio.Api.Controls

> In this section you can find more information on how to build activities using **UiPath.Studio.Api.Controls**.

In this section you can find more information on how to build activities using **UiPath.Studio.Api.Controls**.

## UiPath.Studio.Api.Controls.Base

In this section you can find more information on how to build activities using **UiPath.Studio.Api.Controls.Base**.

### ControlDescriptionBase

The control to use for this setting.

#### Properties

| Type | Name | Description |
| --- | --- | --- |
| string | Tooltip | (*Optional*) The tooltip to display for this control. |
| string | Text | (*Optional*) The text to display for this control. |

### ControlsContainerDescription

The control to use as a container for other controls in this setting.

#### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > ControlsContainerDescription

#### Properties

| Type | Name | Description |
| --- | --- | --- |
| IList<ControlDescriptionBase | Controls | A collection of controls. |

#### Remarks

We recommend using [StackPanelDescription](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#stackpaneldescription) as it offers a way to arrange controls.

### EditorDescriptionBase <T>

A text input control.

#### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > [InputControlDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#inputcontroldescriptionbase-%26lt%3Bt%26gt%3B) > EditorDescriptionBase<T>

#### Properties

| Type | Name | Description |
| --- | --- | --- |
| string | ValueHint | The value hint if there is no value. |
| Func<T, string> | Validate | Returns a validation error or an empty string if there is no error. |

### InputControlDescriptionBase <T>

Base class for control that allow selecting / editing a value.

#### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > InputControlDescriptionBase<T>

#### Properties

| Type | Name | Description |
| --- | --- | --- |
| T | DefaultValue | The default value. |
| bool | IsReadOnly | If set to `true`, input is disabled (the control is read-only). |
| Func<T, string> | GetDisplayValue | The formatted text for the given value. |

### ItemsControlDescriptionBase <T>

Base class for item controls, for example combo box.

#### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > [InputControlDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#inputcontroldescriptionbase-%26lt%3Bt%26gt%3B) > ItemsControlDescriptionBase<T>

#### Generic Type T

A type that is supported by ControlDescriptionBase.

#### Properties

| Type | Name | Description |
| --- | --- | --- |
| List<T> | Items | The possible values. |

## CheckBoxDescription

A check box.

### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > [InputControlDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#inputcontroldescriptionbase-%26lt%3Bt%26gt%3B) > CheckBoxDescription

## ComboBoxDescription

A select-only combo box.

### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > [InputControlDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#inputcontroldescriptionbase-%26lt%3Bt%26gt%3B) > ComboBoxDescription

### Properties

| Type | Name | Description |
| --- | --- | --- |
| bool | AllowMultipleSelection | If set to `true`, each item will have an associated check box. |

### Remarks

Adds a dropdown in activities project settings.

![docs image](https://dev-assets.cms.uipath.com/assets/images/sdk/sdk-docs-image-105748-d36dad20-3b0802b1.webp)

## NumericBoxDescription <T>

A numeric input control.

### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > [InputControlDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#inputcontroldescriptionbase-%26lt%3Bt%26gt%3B) > [EditorDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#editordescriptionbase-%26lt%3Bt%26gt%3B) > NumericBoxDescription

### Generic Type T

The type of data that this numeric box displays. It must implement IComparable, IFormattable, IConvertible, IComparable<T>, IEquatable<T> and must be a struct.

### Properties

| Type | Name | Description |
| --- | --- | --- |
| T | MaxValue | (*Optional*) The higher bound value. |
| T | MinValue | (*Optional*) The lower bound value. |
| T | StepSize | (*Optional*) If set, an up/down control is displayed that increments/decrements using the given value. |

### Remarks

Adds a numeric box to activity project settings.

![docs image](https://dev-assets.cms.uipath.com/assets/images/sdk/sdk-docs-image-105632-f5ce787d-9da2a031.webp)

## RadioButtonGroupDescription

Radio button group generated from a list of string values.

### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > [InputControlDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#inputcontroldescriptionbase-%26lt%3Bt%26gt%3B) > > RadioButtonGroupDescription

### Remarks

Adds a radio button control to activity project settings.

Use InputControlDescriptionBase{T}.GetDisplayValue to provide the localized display value.

![docs image](https://dev-assets.cms.uipath.com/assets/images/sdk/sdk-docs-image-105276-13616ae1-d24488d0.webp)

## StackPanelDescription

A list of controls arranged on a single line.

### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > [ControlsContainerDescription](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controlscontainerdescription) > StackPanelDescription

### Remarks

Adds a panel to activities project settings that arranges its child elements in a single line.

![docs image](https://dev-assets.cms.uipath.com/assets/images/sdk/sdk-docs-image-105700-24a5a782-df64f607.webp)

## TextBoxDescription

A text box control.

### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > [InputControlDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#inputcontroldescriptionbase-%26lt%3Bt%26gt%3B) > [EditorDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#editordescriptionbase-%26lt%3Bt%26gt%3B) > TextBoxDescription

### Properties

| Type | Name | Description |
| --- | --- | --- |
| bool | IsMultiLine | If set to `true`, the text box expands vertically |

### Remarks

Adds a text box control in activities project settings.

![](https://dev-assets.cms.uipath.com/assets/images/sdk/sdk-image-105312-9d7dc1fa-b6d66f5f.webp)

## ToggleDescription

A toggle button.

### Inheritance

[ControlDescriptionBase](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#controldescriptionbase) > [InputControlDescriptionBase <T>](https://docs.uipath.com/sdk/other/latest/developer-guide/uipathstudioapicontrols#inputcontroldescriptionbase-%26lt%3Bt%26gt%3B) > ToggleDescription

### Properties

| Type | Name | Description |
| --- | --- | --- |
| bool | IsMultiLine | If set to `true`, the text box expands vertically |
