Class Separator
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
A thin horizontal or vertical rule.
public class Separator : UIElement
- Inheritance
-
Separator
- Inherited Members
Constructors
Separator()
Creates a horizontal separator.
public Separator()
Separator(Orientation)
Creates a separator with an orientation.
public Separator(Orientation orientation)
Parameters
orientationOrientation
Properties
Color
Line color (null = theme border).
public Color? Color { get; set; }
Property Value
Orientation
Line direction.
public Orientation Orientation { get; set; }
Property Value
Spacing
Empty space on both sides of the line, across it.
public float Spacing { get; set; }
Property Value
Thickness
Line thickness in DIPs (0 = one physical pixel).
public float Thickness { get; set; }
Property Value
Methods
MeasureOverride(Size)
Natural size of the content for the available size (margins excluded).
protected override Size MeasureOverride(Size available)
Parameters
availableSize
Returns
OnRender(DrawingContext)
Draws the element (below its children).
protected override void OnRender(DrawingContext dc)