开发者

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

How开发者_StackOverflow do the center aligned ?

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


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

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


You would have to use a custom Window chrome, as that is the default look of Microsoft Windows. Here is one example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜