Note: You can check the Avalonia docs for the StackPanel and StackPanel API if you need more information.
For Avalonia.FuncUI's DSL properties you can check StackPanel.fs
The StackPanel is a layout construct that stacks its children in horizontal or vertical direction.
Usage
Basic Usage
StackPanel.create [
StackPanel.orientation Orientation.Horizontal // Orientation can be Horizontal or Vertical
StackPanel.children [
// This can be a list of different controls, which are stacked inside of the StackPanel
]
]