Class VerticalStackPanel
- Namespace
- Myra.Graphics2D.UI
- Assembly
- Myra.dll
A stack panel that arranges children vertically in a column.
public class VerticalStackPanel : StackPanel, IItemWithId, INotifyAttachedPropertyChanged, IContainer
- Inheritance
-
VerticalStackPanel
- Implements
- Derived
- Inherited Members
Constructors
VerticalStackPanel(Stylesheet, string)
Initializes a new instance of the VerticalStackPanel class with the specified stylesheet and style name.
public VerticalStackPanel(Stylesheet stylesheet, string styleName = "")
Parameters
stylesheetStylesheetThe stylesheet to use for applying the style.
styleNamestringThe name of the style to apply.
VerticalStackPanel(string)
Initializes a new instance of the VerticalStackPanel class with the specified style name.
public VerticalStackPanel(string styleName = "")
Parameters
styleNamestringThe name of the style to apply.
Properties
Orientation
Gets the orientation of the stack panel, which is always vertical.
public override Orientation Orientation { get; }