I am develop an UWP app, and I am using Template10.
I have an TextBlock
, that in VisualStateNarrow
I want it RelativePanel.AlignVerticalCenterWit
Here is a way to create setters for adaptive triggers without writing a single line of code. Since VS provides neither IntelliSense nor error warning for writting them, this helps prevent bugs that are hard to diagnose.
TextBlock
element.That's all! Feel free to check out the gif demo below too.