Border.Child Property
Silverlight
Gets or sets the child element to draw the border around.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
Border can have only one child object. To apply a border around multiple objects, wrap the elements in a container (StackPanel, Grid, or Canvas, for example) and put the border around the container.
Child is the XAML content property for Border. A content item for a Border sets the Child property; a Border.Child property element is not required to enclose the content.
The following example shows how to wrap a border around multiple objects using a StackPanel as the container.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.