how to make a control to rounded corner in wp7?

Posted by Siva524 under Mobile Development on 7/2/2012 | Points: 10 | Views : 4895 | Status : [Member] | Replies : 2
how to make a control to rounded cornered control in windows phone 7?




Responses

Posted by: Premalatha on: 7/4/2012 [Member] Starter | Points: 25

Up
0
Down
You can also use the border control to set the round corner. First add the border control on the page. Set its cornerradius property to 10. Use BorderBrush for the color. Then inside the border, you can put the button.


You can't just add a border to a button. If you're absolutely determined to break the style of the Metro UI and create ugly yPhone-like apps, see:

http://msdn.microsoft.com/en-us/library/cc189093(VS.95).aspx
http://msdn.microsoft.com/en-us/library/cc903963(VS.95).aspx
http://msdn.microsoft.com/en-us/library/cc278069(VS.95).aspx


Premalatha
Software Engineer

Siva524, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bhagwati on: 7/5/2012 [Member] Starter | Points: 25

Up
0
Down
if you want to create control rounded corner like text box
first you need to take one border inside that border you need to create textbox.
change the property border corner radius some value.
it will create rounded corner textbox.

Bhagwati pal

Siva524, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response