如何为TextBlock中的文本指定垂直居中对齐?我找到了TextAlignment属性,但它用于水平文本对齐.如何进行垂直文本对齐?
wpf textblock vertical-alignment
textblock ×1
vertical-alignment ×1
wpf ×1