A TextBlock control which animates the text with customizable effects.
Property
| Name |
|---|
| Text |
| TextEffect |
| TextAlignment |
| TextDirection |
| TextTrimming |
| TextWrapping |
Events
| Name |
|---|
| RedrawStateChanged |
Effects
| Name |
|---|
| TextDefaultEffect |
| TextBlurEffect |
| TextElasticEffect |
| TextMotionBlurEffect |
| TextPivotEffect |
| TextZoomEffect |
Example
1 | <dev:AnimatedTextBlock Text="DevWinUI"> |
You can Write Your Own Effects. Define a new effect class and implement the ITextEffect interface.
Draw the text by using Win2D API.
Use AnimatedTextBlock inside a Grid. If you place it in a StackPanel or other panels, make sure to set its width and height; otherwise, the control will not be visible.

Demo
you can run demo and see this feature.