Shape and Icon controls in Power Apps
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 – Actions to perform 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 for important graphics.
If the graphic is for decoration or provides redundant information, leave AccessibleLabel empty or set it to the empty string "" . Screen readers will ignore these graphics.
When TabIndex is zero or greater, the icon or shape becomes a button. Its appearance doesn't change, but screen readers will treat it as a button. They will not ignore the control, even if AccessibleLabel is empty. When TabIndex is less than zero, screen readers treat the icon or shape as an image.
Submit and view feedback for