UiPath Documentation
sdk
latest
false
Developer guide

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​
TypeNameDescription
stringTooltip(Optional) The tooltip to display for this control.
stringText(Optional) The text to display for this control.

ControlsContainerDescription​

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

Inheritance​

ControlDescriptionBase > ControlsContainerDescription

Properties​
TypeNameDescription
IList<ControlDescriptionBaseControlsA collection of controls.
Remarks​

We recommend using StackPanelDescription as it offers a way to arrange controls.

EditorDescriptionBase ​

A text input control.

Inheritance​
Properties​
TypeNameDescription
stringValueHintThe value hint if there is no value.
Func<T, string>ValidateReturns a validation error or an empty string if there is no error.

InputControlDescriptionBase ​

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

Inheritance​

ControlDescriptionBase > InputControlDescriptionBase

Properties​
TypeNameDescription
TDefaultValueThe default value.
boolIsReadOnlyIf set to true, input is disabled (the control is read-only).
Func<T, string>GetDisplayValueThe formatted text for the given value.

ItemsControlDescriptionBase ​

Base class for item controls, for example combo box.

Inheritance​
Generic Type T​

A type that is supported by ControlDescriptionBase.

Properties​
TypeNameDescription
ListItemsThe possible values.

CheckBoxDescription​

A check box.

Inheritance​

ComboBoxDescription​

A select-only combo box.

Inheritance​

Properties​

TypeNameDescription
boolAllowMultipleSelectionIf set to true, each item will have an associated check box.

Remarks​

Adds a dropdown in activities project settings.

NumericBoxDescription ​

A numeric input control.

Inheritance​

Generic Type T​

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

Properties​

TypeNameDescription
TMaxValue(Optional) The higher bound value.
TMinValue(Optional) The lower bound value.
TStepSize(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.

RadioButtonGroupDescription​

Radio button group generated from a list of string values.

Inheritance​

ControlDescriptionBase > InputControlDescriptionBase > > RadioButtonGroupDescription

Remarks​

Adds a radio button control to activity project settings.

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

StackPanelDescription​

A list of controls arranged on a single line.

Inheritance​

Remarks​

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

TextBoxDescription​

A text box control.

Inheritance​

Properties​

TypeNameDescription
boolIsMultiLineIf set to true, the text box expands vertically

Remarks​

Adds a text box control in activities project settings.

ToggleDescription​

A toggle button.

Inheritance​

Properties​

TypeNameDescription
boolIsMultiLineIf set to true, the text box expands vertically

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated