Rounded corners in XAML?

Coding help & support using html, xaml, css.
2 posts Page 1 of 1
Contributors
User avatar
Skillful
Skillful Coders
Skillful Coders
Posts: 969
Joined: Tue Nov 16, 2010 10:07 am

Rounded corners in XAML?
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
Instead of LOL use this -
LSIBMHBIWFETALOL

Which means -
Laughing silently in between my head because it wasn't funny enough to actually laugh out loud!
User avatar
CodenStuff
Site Admin
Site Admin
Posts: 4389
Joined: Tue Aug 04, 2009 1:47 am

Re: Rounded corners in XAML?
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
Welcome to CodenStuff.com Learn Code, Love Code. Thank you for being a member of the community.
2 posts Page 1 of 1
Return to “html / xaml / css”