The Power Apps Control Spotlight series is meant to provide people that are new to Power Apps with an introduction to the different controls available in the platform, showcase the most important attributes that they will need to change and give some hints and tips about their use.
This installment is about the Button control.
DESCRIPTION:
A Button control will run a function when selected by a user
KEY ATTRIBUTES:
OnSelect
The Function assigned to the OnSelect attribute will be run when a user selects (clicks on) the button control.
Text
The Text attribute will determine what text appears on the button.
HINTS AND TIPS:
Consider using Icons instead of buttons for common tasks such as Navigation or Save operations
The roundness of the Button control’s corners can be increased or decreased by changing these attributes:
- RadiusBottomLeft
- RadiusBottomRight
- RadiusTopLeft
- RadiusTopRight
When customising colours, the Button control has additional attributes that should also be changed:
- HoverBorderColor
- HoverColor
- HoverFill
- PressedBorderColor
- PressedColor
- PressedFill