Implemented for: WASM, Skia, Mobile
This document lists all properties, methods, and events of TextBlock that are currently implemented by the Uno Platform. See the WinUI documentation for detailed usage guidelines which all automatically apply to Uno Platform.
To better understand how TextBlock works, you can use the Uno Gallery or run your own tests on the Uno Playground.
Implemented properties
| Property |
Supported on |
| DependencyProperty CharacterSpacingProperty |
WASM, Skia, Mobile |
| DependencyProperty FontFamilyProperty |
WASM, Skia, Mobile |
| DependencyProperty FontSizeProperty |
WASM, Skia, Mobile |
| DependencyProperty FontStretchProperty |
WASM, Skia, Mobile |
| DependencyProperty FontStyleProperty |
WASM, Skia, Mobile |
| DependencyProperty FontWeightProperty |
WASM, Skia, Mobile |
| DependencyProperty ForegroundProperty |
WASM, Skia, Mobile |
| DependencyProperty HorizontalTextAlignmentProperty |
WASM, Skia, Mobile |
| DependencyProperty IsTextScaleFactorEnabledProperty |
WASM, Skia, Mobile |
| DependencyProperty IsTextSelectionEnabledProperty |
WASM, Skia |
| DependencyProperty IsTextTrimmedProperty |
WASM, Skia, Mobile |
| DependencyProperty LineHeightProperty |
WASM, Skia, Mobile |
| DependencyProperty LineStackingStrategyProperty |
WASM, Skia, Mobile |
| DependencyProperty MaxLinesProperty |
WASM, Skia, Mobile |
| DependencyProperty PaddingProperty |
WASM, Skia, Mobile |
| DependencyProperty SelectedTextProperty |
Skia |
| DependencyProperty SelectionFlyoutProperty |
Skia |
| DependencyProperty SelectionHighlightColorProperty |
Skia |
| DependencyProperty TextAlignmentProperty |
WASM, Skia, Mobile |
| DependencyProperty TextDecorationsProperty |
WASM, Skia, Mobile |
| DependencyProperty TextProperty |
WASM, Skia, Mobile |
| DependencyProperty TextTrimmingProperty |
WASM, Skia, Mobile |
| DependencyProperty TextWrappingProperty |
WASM, Skia, Mobile |
| int CharacterSpacing |
WASM, Skia, Mobile |
| FontFamily FontFamily |
WASM, Skia, Mobile |
| double FontSize |
WASM, Skia, Mobile |
| FontStyle FontStyle |
WASM, Skia, Mobile |
| FontWeight FontWeight |
WASM, Skia, Mobile |
| Brush Foreground |
WASM, Skia, Mobile |
| TextAlignment HorizontalTextAlignment |
WASM, Skia, Mobile |
| InlineCollection Inlines |
WASM, Skia, Mobile |
| bool IsTextScaleFactorEnabled |
WASM, Skia, Mobile |
| bool IsTextSelectionEnabled |
WASM, Skia |
| bool IsTextTrimmed |
WASM, Skia, Mobile |
| double LineHeight |
WASM, Skia, Mobile |
| LineStackingStrategy LineStackingStrategy |
WASM, Skia, Mobile |
| int MaxLines |
WASM, Skia, Mobile |
| Thickness Padding |
WASM, Skia, Mobile |
| string SelectedText |
Skia |
| FlyoutBase SelectionFlyout |
Skia |
| SolidColorBrush SelectionHighlightColor |
Skia |
| string Text |
WASM, Skia, Mobile |
| TextAlignment TextAlignment |
WASM, Skia, Mobile |
| TextDecorations TextDecorations |
WASM, Skia, Mobile |
| IList TextHighlighters |
WASM, Skia, Mobile |
| TextTrimming TextTrimming |
WASM, Skia, Mobile |
| TextWrapping TextWrapping |
WASM, Skia, Mobile |
Implemented methods
Implemented events
Below are all properties, methods, and events of TextBlock that are not currently implemented in Uno.
Not implemented properties
| Property |
Not supported on |
| DependencyProperty CharacterSpacingProperty |
MacOS |
| DependencyProperty FontFamilyProperty |
MacOS |
| DependencyProperty FontSizeProperty |
MacOS |
| DependencyProperty FontStretchProperty |
MacOS |
| DependencyProperty FontStyleProperty |
MacOS |
| DependencyProperty FontWeightProperty |
MacOS |
| DependencyProperty ForegroundProperty |
MacOS |
| DependencyProperty HorizontalTextAlignmentProperty |
MacOS |
| DependencyProperty IsColorFontEnabledProperty |
all platforms supported by Uno Platform |
| DependencyProperty IsTextScaleFactorEnabledProperty |
MacOS |
| DependencyProperty IsTextSelectionEnabledProperty |
Android, iOS, macOS, tvOS |
| DependencyProperty IsTextTrimmedProperty |
MacOS |
| DependencyProperty LineHeightProperty |
MacOS |
| DependencyProperty LineStackingStrategyProperty |
MacOS |
| DependencyProperty MaxLinesProperty |
MacOS |
| DependencyProperty OpticalMarginAlignmentProperty |
all platforms supported by Uno Platform |
| DependencyProperty PaddingProperty |
MacOS |
| DependencyProperty SelectedTextProperty |
WASM, Xamarin |
| DependencyProperty SelectionFlyoutProperty |
WASM, Xamarin |
| DependencyProperty SelectionHighlightColorProperty |
WASM, Xamarin |
| DependencyProperty TextAlignmentProperty |
MacOS |
| DependencyProperty TextDecorationsProperty |
MacOS |
| DependencyProperty TextLineBoundsProperty |
all platforms supported by Uno Platform |
| DependencyProperty TextProperty |
MacOS |
| DependencyProperty TextReadingOrderProperty |
all platforms supported by Uno Platform |
| DependencyProperty TextTrimmingProperty |
MacOS |
| DependencyProperty TextWrappingProperty |
MacOS |
| bool HasUnwrappableNativeObject |
all platforms supported by Uno Platform |
| IObjectReference NativeObject |
all platforms supported by Uno Platform |
| double BaselineOffset |
all platforms supported by Uno Platform |
| int CharacterSpacing |
MacOS |
| TextPointer ContentEnd |
all platforms supported by Uno Platform |
| TextPointer ContentStart |
all platforms supported by Uno Platform |
| FontFamily FontFamily |
MacOS |
| double FontSize |
MacOS |
| FontStretch FontStretch |
all platforms supported by Uno Platform |
| FontStyle FontStyle |
MacOS |
| FontWeight FontWeight |
MacOS |
| Brush Foreground |
MacOS |
| TextAlignment HorizontalTextAlignment |
MacOS |
| InlineCollection Inlines |
MacOS |
| bool IsColorFontEnabled |
all platforms supported by Uno Platform |
| bool IsTextScaleFactorEnabled |
MacOS |
| bool IsTextSelectionEnabled |
Android, iOS, macOS, tvOS |
| bool IsTextTrimmed |
MacOS |
| double LineHeight |
MacOS |
| LineStackingStrategy LineStackingStrategy |
MacOS |
| int MaxLines |
MacOS |
| OpticalMarginAlignment OpticalMarginAlignment |
all platforms supported by Uno Platform |
| Thickness Padding |
MacOS |
| string SelectedText |
WASM, Xamarin |
| TextPointer SelectionEnd |
all platforms supported by Uno Platform |
| FlyoutBase SelectionFlyout |
WASM, Xamarin |
| SolidColorBrush SelectionHighlightColor |
WASM, Xamarin |
| TextPointer SelectionStart |
all platforms supported by Uno Platform |
| string Text |
MacOS |
| TextAlignment TextAlignment |
MacOS |
| TextDecorations TextDecorations |
MacOS |
| IList TextHighlighters |
MacOS |
| TextLineBounds TextLineBounds |
all platforms supported by Uno Platform |
| TextReadingOrder TextReadingOrder |
all platforms supported by Uno Platform |
| TextTrimming TextTrimming |
MacOS |
| TextWrapping TextWrapping |
MacOS |
Not implemented methods
Not implemented events
Last updated Thursday, 27 August 2026 18:27.