Creating Borders in Silverlight
Join the DZone community and get the full member experience.Join For Free
<border borderthickness="20" background="white" borderbrush="Green" padding="3" cornerradius="10" > <textblock text="Hello World" /> </textblock> <border/>
So here you can see that you have some basic properties you can sent, like color, padding, thickness but intellisence in visual studio will tell you all you need to know. and thats it, that is how to create a use a 'border' in XAML in Silverlight.
Published at DZone with permission of David Kelley. See the original article here.
Opinions expressed by DZone contributors are their own.