Create Rounded corner TextBox in Blend/Wpf

To Make Rounded Corner TextBox in Blend/wpf just Follow the steps :

Step-1 :  First take a "Border control" from Assets or toolbox control.

Step-2 :  Then take a "textbox control" from assets & place it within that "Border"
                with same size.

Step-3 :  Select "textbox" (by using selection tool from toolbar) then goto property.
   -->Then Change its "background" to "Transperent"(Change its Alpha value to 0 in blend).
   -->Change its "Border Brush" to "Transperent" (Change its Alpha value to 0 in blend).
   -->Change its  BorderThickness="0" .

Step-4 : Now Select "Border control" then goto Property.
   -->Then change its "corner radius" to 8 (or as per your requirement).
   -->Change its "background" to  white (or as per your requirement).
   -->Give "border brush" a color .


Step-5 : Now its ready .  Enjoy.......

OR Watch this Video

2 comments: (+add yours?)

dpak said...

Thanks a lot dude..... really simple n fast....

Anonymous said...

Nice presented

Post a Comment