I am currently using Silverlight 3. I want to create the equivalent of a 2×2 HTML table. I want each cell to have a black border. How do I do this in Silverlight? Isn’t there a property I can set on a Grid element to make each cell have a border?
I am currently using Silverlight 3. I want to create the equivalent of a
Share
Nope. Grid is simply one of a number of panel types that are designed to layout their children in specific way. Grids are used extensively in many different and often nested ways. They are lightweight and therefore do not carry loads of baggage that may or may not get used, such as in this a bunch of properties to determine borders on “cells”.
To create a border on each cell simply use the
Bordercontrol: