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

Brush

BorderBrush

public Brush BorderBrush { get; set; }

Property Value

Brush

BorderThickness

public Thickness BorderThickness { get; set; }

Property Value

Thickness

CornerRadius

public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius

Padding

public Thickness Padding { get; set; }

Property Value

Thickness

Shadows

public IList<BoxShadow> Shadows { get; }

Property Value

IList<BoxShadow>

Methods

AddChild(Control)

public override void AddChild(Control child)

Parameters

child Control

ArrangeChildren()

protected override void ArrangeChildren()

GetMinimumSize()

public override Vector2 GetMinimumSize()

Returns

Vector2