How to make a center aligned window title (window in wpf)

前端 未结 2 570
既然无缘
既然无缘 2021-02-13 16:03

How do the center aligned ?

\"enter

2条回答
  •  误落风尘
    2021-02-13 16:46

    The following works if you add it to your Window Element right after Title="Name".

    Add TextBlock.TextAlignment="Center" to your window element.

提交回复
热议问题