Class StackPanel

Namespace
Forma
Assembly
Forma.dll

Arranges children in a single horizontal or vertical sequence with fixed gaps and cross-axis alignment.

public sealed class StackPanel : Container, IAddChild<Control>, IAddChild, INotifyPropertyChanged
Inheritance
StackPanel
Implements
Inherited Members

Constructors

StackPanel()

public StackPanel()

Properties

CrossAxisAlignment

public CrossAxisAlignment CrossAxisAlignment { get; set; }

Property Value

CrossAxisAlignment

Gap

public float Gap { get; set; }

Property Value

float

Orientation

public Orientation Orientation { get; set; }

Property Value

Orientation

Methods

ArrangeChildren()

protected override void ArrangeChildren()

GetMinimumSize()

public override Vector2 GetMinimumSize()

Returns

Vector2