Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
with out using Ribbon need to set the alignment of title in WPF window
Posted
Updated 17-Apr-15 0:03am
v2

1 solution

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

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

else you can refer the below

location of title in title bar in microsoft window in wpf[^]

Hope it will help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900