Class VerticalSeparator
- Namespace
- Myra.Graphics2D.UI
- Assembly
- Myra.dll
A vertical separator widget that visually divides UI sections.
public class VerticalSeparator : SeparatorWidget, IItemWithId, INotifyAttachedPropertyChanged
- Inheritance
-
VerticalSeparator
- Implements
- Inherited Members
Constructors
VerticalSeparator(Stylesheet, string)
Initializes a new instance of the VerticalSeparator class with the specified stylesheet and style.
public VerticalSeparator(Stylesheet stylesheet, string styleName = "")
Parameters
stylesheetStylesheetThe stylesheet to use for applying the style.
styleNamestringThe name of the style to apply. Defaults to the default stylesheet style.
VerticalSeparator(string)
Initializes a new instance of the VerticalSeparator class with the specified style.
public VerticalSeparator(string styleName = "")
Parameters
styleNamestringThe name of the style to apply. Defaults to the default stylesheet style.
Properties
HorizontalAlignment
Gets or sets the horizontal alignment of the separator.
public override HorizontalAlignment HorizontalAlignment { get; set; }
Property Value
Orientation
Gets the orientation of the separator, which is always vertical.
public override Orientation Orientation { get; }
Property Value
VerticalAlignment
Gets or sets the vertical alignment of the separator.
public override VerticalAlignment VerticalAlignment { get; set; }