Help prepare for 2025 → Answer 8 simple questions on our Fall Survey
Open Survey

Summary

Constructors

constructor

Properties

fontSize
formattedText
letterSpacing
lineHeight
maxLines
nativeTextViewProtected
padding
paddingBottom
paddingLeft
paddingRight
paddingTop
text
textAlignment
textDecoration
textShadow
textTransform
whiteSpace
154 properties inherited from View
Click to expand

Constructors

constructor

new TextBase(): TextBase

Properties

fontSize

fontSize: number
Gets or sets font-size style property.

formattedText

formattedText: FormattedString
Gets or sets a formatted string.

letterSpacing

letterSpacing: number
Gets or sets letterSpace style property.

lineHeight

lineHeight: number
Gets or sets lineHeight style property.

maxLines

maxLines: number
Gets or sets white space style property.

nativeTextViewProtected

Readonly
nativeTextViewProtected: any
Gets of the text widget. In some cases(android TextInputLayout) the TextView is made of 2 views: the layout and the text view So we need a different getter for the layout and text functions

padding

padding: string | number | LengthDipUnit | LengthPxUnit
Gets or sets padding style property.

paddingBottom

paddingBottom: LengthType
Specify the bottom padding of this layout.

paddingLeft

paddingLeft: LengthType
Specify the left padding of this layout.

paddingRight

paddingRight: LengthType
Specify the right padding of this layout.

paddingTop

paddingTop: LengthType
Specify the top padding of this layout.

text

text: string
Gets or sets the text.

textAlignment

textAlignment: TextAlignmentType
Gets or sets text-alignment style property.

textDecoration

textDecoration: TextDecorationType
Gets or sets text decorations style property.

textShadow

textShadow: CSSShadow
Gets or sets text shadow style property.

textTransform

textTransform: TextTransformType
Gets or sets text transform style property.

whiteSpace

whiteSpace: WhiteSpaceType
Gets or sets white space style property.
Previous
TabViewItem