Training
Module
Use and understand Controls in a canvas app in Power Apps - Training
Controls help create a better experience for the user and collect the appropriate data. This module helps you understand and use Controls.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A control used to display data.
Note
Full documentation and source code found in the GitHub code components repository.
The behavior of this code component is similar to that of the standard canvas app label, but it expands dynamically in width to accommodate the text and return the new width.
Go to Fluent UI Label control for best practices.
Property | Description |
---|---|
Text |
The text value of the label. |
Property | Description |
---|---|
AutoWidth |
Width set by the component to accommodate the text |
Property | Description |
---|---|
PaddingLeft |
The padding to add inside the label. |
PaddingRight |
The padding to add inside the label. |
PaddingTop |
The padding to add inside the label. |
PaddingBottom |
The padding to add inside the label. |
Not all combinations of style/state are implemented by every component. See more details in the state dependent style properties section of the GitHub documentation.
This code component can only be used in canvas apps and custom pages.
See more limitation notes in the design challenges section of the GitHub documentation.
Training
Module
Use and understand Controls in a canvas app in Power Apps - Training
Controls help create a better experience for the user and collect the appropriate data. This module helps you understand and use Controls.