文本块的操作方法:
- text trimming for a given height
- vertical alignment
Can we use mytextBlock.TextTriming to trim the text?
I have tried to trim text with specifying height but its not working
same with the vertical alignment.
I tried TextAlignment = center
but its aligning text horizontally.