Class Border
- Namespace
- Forma
- Assembly
- Forma.dll
A one-child brush-backed box with padding and an optional border.
public sealed class Border : Container, IAddChild<Control>, IAddChild, INotifyPropertyChanged
- Inheritance
-
Border
- Implements
- Inherited Members
Constructors
Border()
public Border()
Properties
Background
public Brush Background { get; set; }
Property Value
BorderBrush
public Brush BorderBrush { get; set; }
Property Value
BorderThickness
public Thickness BorderThickness { get; set; }
Property Value
CornerRadius
public CornerRadius CornerRadius { get; set; }
Property Value
Padding
public Thickness Padding { get; set; }
Property Value
Shadows
public IList<BoxShadow> Shadows { get; }
Property Value
Methods
AddChild(Control)
public override void AddChild(Control child)
Parameters
childControl
ArrangeChildren()
protected override void ArrangeChildren()
GetMinimumSize()
public override Vector2 GetMinimumSize()
Returns
- Vector2