Shape controls and Icon controls in PowerApps
Graphics for which you can configure appearance and behavior properties.
These controls include arrows, geometric shapes, action icons, and symbols for which you can configure properties such as fill, size, and location. You can also configure their OnSelect property so that the app responds if the user selects the control.
Key properties (icons and shapes)
Fill – The background color of a control.
OnSelect – How the app responds when the user selects a control.
Key properties (icons only)
Icon - The type of icon to display (for example, ArrowDown or ShoppingCart).
Rotation - The number of degrees to rotate the icon.
Color - The color of the icon by name or RGBA values.
AccessibleLabel – Label for screen readers.
DisplayMode – Whether the control allows user input (Edit), only displays data (View), or is disabled (Disabled).
FocusedBorderColor – The color of a control's border when the control is focused.
FocusedBorderThickness – The thickness of a control's border when the control is focused.
Height – The distance between a control's top and bottom edges.
HoverFill – The background color of a control when the user keeps the mouse pointer on it.
PressedBorderColor – The color of a control's border when the user selects that control.
PressedFill – The background color of a control when the user selects that control.
TabIndex – Keyboard-navigation order in relation to other controls.
Visible – Whether a control appears or is hidden.
Width – The distance between a control's left and right edges.
X – The distance between the left edge of a control and the left edge of its parent container (screen if no parent container).
Y – The distance between the top edge of a control and the top edge of the parent container (screen if no parent container).
Don't know how to add and configure a control?
Add a Screen control, and name it Source.
In Source, add a Shape control, and set its OnSelect property to this formula:
Press F5, and then select the Shape control.
The Target screen appears.
(optional) Press Esc to return to the default workspace, add a Shape control to Target, and set the OnSelect property of the Shape control to this formula:
The following applies only to graphics that are used as buttons or are otherwise not just for decoration.
For shapes with borders:
- BorderColor and the color outside the control
- FocusedBorderColor and the color outside the control (if used as a button)
For shapes without borders:
- Fill and the color outside the control
- PressedFill and the color outside the control (if used as a button)
- HoverFill and the color outside the control (if used as a button)
AccessibleLabel must be set to a non-empty string if the graphic is used as a button or is otherwise not just for decoration.
AccessibleLabel must be empty or the empty string "" if the graphic provides redundant information or is purely for decoration. This value causes screen readers to ignore the graphic.
For example, you might set the AccessibleLabel property of a Settings icon to Settings. This icon isn't used as a button. It's next to a Label that also says Settings. Screen readers will read both the icon and the label as Settings, which is unnecessarily verbose. In this case, the icon doesn't need an AccessibleLabel.