Power Apps Text – Modern Controls


Purpose

A Power Apps text control displays descriptive text or instructions for other user interface components.


Properties

Alignment
Sets the tab bar orientation from left-to-right or from up-to-down

Options:

=”Center”



=”End”



=”Justify”



=”Start”

As
Unknown purpose.
ContentLanguage
Describes the language used to the audience (e.g. โ€œen-USโ€)
DisplayMode
Selects the mode: Edit, View or Disabled. In Edit mode the user can input values. In View mode the user can only see the values and in Disabled mode the control is greyed-out.

Options:
= DisplayMode.Disabled
= DisplayMode.Edit
= DisplayMode.View
Height
Distance from the top of the control to the bottom
Italic
Formats the text style as italic

Example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit
OnChange
Actions that will be executed when the Text property of the Text changes
Size
Height of the text displayed in the control

Options:
= “TextSize100”
= “TextSize200”
= “TextSize300”
= “TextSize400”
= “TextSize500”
= “TextSize600”
= “TextSize700”
= “TextSize800”
= “TextSize900”
= “TextSize1000”
Strikethrough
Formats the text style as strikethrough

Example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit
Text
Text to display inside the control
Truncate
Shorten the text to fit inside the control if it extends beyond the control’s boundaries

Options:

= true



=false

Underline
Formats the text style as underlined

Example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit
Visible
Determines whether to show or hide the control
Width
Distance from the left side of the control to the right side
Wrap
Display the text on multiple lines instead of one long line.

Options:

= true



= false

X
Distance from the left edge of the screen to the left side of the control
Y
Distance from the top edge of the screen to the top of the control




How To Use The Power Apps Text Control

1. Write the text value to be displayed in the Text property.

"Lorem ipsum dolor"



2. Update the Font Size property.

"TextSize600"





Questions?

If you have any questions or feedback about Power Apps Text – Modern Controls please leave a message in the comments section below. You can post using your email address and are not required to create an account to join the discussion.

Subscribe
Notify of
guest

5 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Brad Allison
Brad Allison
1 year ago

How do we color the font with these modern text controls?

PowerPlatformPro
PowerPlatformPro
9 months ago

@Matthew

Are you aware of how to do a new line in the modern text box? Char(13) does not appear to work, you can do use quotes and a space with enter to do it but that way seems so broken.

Works:

“Example” & ”
” & “New Line”

Result:

Example
New Line

Doesn’t Work:

“Example” & Char(13) & “New Line”

Result:

ExampleNewLine

Just wanting to check if there is a different way to do this in the modern text control

Last edited 9 months ago by PowerPlatformPro
Oscar
Oscar
4 months ago

Still no line height property.
I am getting bunched lines when using multiple lines in one control