In the following XAML, the word \"Test\" centers horizontally but not vertically.
How can I get it to center vertically?
Inside the StackPanel that surrounds the TextBlock, check out VerticalContentAlignment.