UiPath Documentation
apps
2021.10
false
Apps User Guide for Automation Suite
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

容器

顾名思义,容器用于存放控件和其他容器。容器使用户可以简单直观地在其中放置控件。

常规

  • “工具提示”- 要在容器上显示的工具提示。使用此选项可提供有关控件的其他信息。
  • Hidden- If selected, hides the control in the runtime.
  • “已禁用”- 如果选中,则在运行时禁用该控件。

Events

  • “已单击”- 配置单击容器时会发生的情况。

样式

  • 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.

    备注:

    Alignment is dependent on Parent's layout (Vertical vs. Horizontal).

  • “布局”- 确定容器中控件的定位方式:

    • Direction (Horizontal/Vertical) - Controls are arranged one below the other (vertical) or side by side (horizontal).

    • Alignment- Controls alignment within the container ( Left, Center, Right & Stretch for Vertical direction and Top, Middle, Bottom, Stretch for Horizontal direction).

    • Justify- Top, Middle, Bottom & Distribute for Vertical direction and Left, Center, Right & Distribute for Horizontal direction.

    • “允许换行”- 如果启用,则当空间不足时,容器中的控件将换行。

      备注:

      启用“允许换行”属性时,如果一行无法容纳容器中的控件,则这些控件会换行。

  • “背景颜色”- 设置容器的背景颜色。

  • “边框”- 设置控件的边框。可以为边框配置边框粗细、边框颜色和角半径。

  • “字体”- 设置容器的字体系列。容器中的所有控件将具有与容器相同的字体系列。

  • Margin- Sets the margin of the container. By default 0px 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.

  • “填充”- 设置容器的填充。“上/下”和“左/右”填充属性结合使用。如果需要为每一侧设置不同的填充值,则可以使用“填充”部分标题右侧的“取消链接”图标取消链接这些属性。

  • “大小”- 可以在“大小”部分中设置容器的宽度和高度。“最小宽度”/“最小高度”和“最大宽度”/“最大高度”可在“大小”部分的“更多”(…) 下找到。

重要提示:

如果容器大小设置为固定值,并且其中的控件占用的空间比固定值更多,则“两端对齐-垂直居中”和“两端对齐-底端对齐”在垂直方向不适用,“两端对齐-居中”和“两端对齐-右对齐”在水平方向不适用。

  • 常规
  • Events
  • 样式

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新