Page 1 of 1

Rounded corners in XAML?

Posted: Sun Jul 08, 2012 1:07 am
by Skillful
Hello.

Can anyone guide me on how do I have my textbox and button corners rounded in XAML?
Its for one of my metro apps that I'm working on.

#CodenStuff I hope you help me this time also :P

Regards,
Skillful

Re: Rounded corners in XAML?

Posted: Sun Jul 08, 2012 6:23 am
by CodenStuff
Short but not very good way of doing it is to to put a rounded rectangle or border around the button or textbox.
Long way and best is to create a custom button and textbox style template..not easy to explain so you should have a read of the style docs: http://msdn.microsoft.com/en-us/library ... 65318.aspx