Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to write the title on titlebar at the center in WPF.
Posted
Updated 24-Oct-11 2:38am
v2
Comments
hzawary 24-Oct-11 8:41am    
I think that many ways to do this.

1: You can create a custom style for your forms (windows).
2: Get the width of form and width of your title (text) and you add space character!

If you want more info, please tell me.

1 solution

You've already posted this question. Reposting does not change the answers, so go to your previous question[^] and read the answers.
 
Share this answer
 
Comments
Espen Harlinn 25-Oct-11 16:34pm    
5'ed :)
Simon Bang Terkildsen 25-Oct-11 16:59pm    
Thank you, Espen :)

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