Class Border
A border element adds an uniform color border around its content.
[DataContract("Border")]
public class Border : ContentControl, IUIElementUpdate, IUIElementChildren, IIdentifiable
  - Inheritance
 - 
      objectBorder
 
- Implements
 
- Inherited Members
 
- Extension Methods
 
Properties
BorderColor
Gets or sets the color of the border.
[DataMember]
[Display(null, "Appearance")]
public Color BorderColor { get; set; }
  Property Value
BorderThickness
Gets or sets the thickness of the border.
[DataMember]
[Display(null, "Appearance")]
public Thickness BorderThickness { get; set; }
  Property Value
Methods
ArrangeOverride(Vector3)
When overridden in a derived class, positions possible child elements and determines a size for a UIElement derived class.
protected override Vector3 ArrangeOverride(Vector3 finalSizeWithoutMargins)
  Parameters
finalSizeWithoutMarginsVector3The final area within the parent that this element should use to arrange itself and its children.
Returns
- Vector3
 The actual size used.
MeasureOverride(Vector3)
When overridden in a derived class, measures the size in layout required for possible child elements and determines a size for the UIElement-derived class.
protected override Vector3 MeasureOverride(Vector3 availableSizeWithoutMargins)
  Parameters
availableSizeWithoutMarginsVector3The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available.
Returns
- Vector3
 The size desired by the children