apps
2022.10
false
UiPath logo, featuring letters U and I in white
Apps User Guide for Automation Suite
Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Apr 19, 2024

Switch

General

  • Label- Display label of the switch.
  • Tooltip - Tooltip to be displayed on the switch. Use this to provide additional information on the control.
  • Value Binding - Bind the switch value either to an RPA Process argument or to an App field. This property gets resolved dynamically during runtime.
  • On (Default) - Default value of the switch in runtime.
  • Label position - Change the position of the label (left/right) with respect to switch.
  • Hidden- If selected, hides the control in the runtime.
  • Disabled - If selected, disables the control in the runtime.

Events

  • Value changed - Configure what happens when the value is changed.

Style

  • Control Alignment - By default, inherits the parent alignment. A different alignment other than the parent can be set. To default to Parent's alignment, toggle the selected alignment icons to switch off the specific alignment.

    Note: Alignment is dependent on Parent's layout (Vertical vs. Horizontal).
  • Color - Color of the switch control when turned on.
  • Font- Sets the font of the control. Font family, size, color, and style ( Bold, Italic and Underline) can be configured in this section. By default, the control inherits the font family of its immediate parent container which is indicated by the keyword 'inherited'.
  • Margin- Sets the margin of the control. By default 4px margin is set. Top/Bottom and Left/Right margin properties are combined. These properties can be unlinked using the unlink button on the right side of the Margin section heading.
  • Size - The width and height of the control can be set in the size section. By default, the size is set to Auto.

    Min Width/ Min Height and Max Width/ Max Height are available under more (...) in the size section.

  • Background color - Sets the background of the switch.
  • General
  • Events
  • Style

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.