IXRBorder (Windows Embedded CE 6.0)
1/6/2010
This class draws a border, background, or both around another object.
Syntax
class IXRBorder : public IXRFrameworkElement
Methods
In addition to the methods inherited from IXRFrameworkElement, this class exposes the following methods.
Name | Description |
---|---|
Retrieves the IXRBrush that fills the background of the border. |
|
Retrieves the IXRBrush that is used to create the border. |
|
Retrieves the thickness of the border. |
|
Retrieves the child element to draw the border around. |
|
Retrieves the radius for the corners of the border. |
|
Retrieves the distance between the IXRBorder and its child object. |
|
Sets the IXRBrush that fills the background of the border. |
|
Sets the IXRBrush that is used to create the border. |
|
Sets the thickness of the border. |
|
Sets the child element to draw the border around. |
|
Sets the radius for the corners of the border. |
|
Sets the distance between the IXRBorder and its child object. |
Remarks
You can specify basic properties of an IXRBorder by setting its Width, Height, BorderThickness, and Background color. In addition, you can round the border corners by setting the CornerRadius property, and you can position the object inside the IXRBorder by setting the Padding property.
An IXRBorder can contain only one child object. If you want to put a border around multiple objects, wrap them in a container object such as IXRStackPanel.
You can also define an IXRBorder object in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.
Inheritance Hierarchy
IXRBorder
.NET Framework Equivalent
System.Windows.Controls.Border
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |
See Also
Reference
Classes for UI Element Management