SeparatorNode
Namespace: Hex1b.Nodes
Assembly: Hex1b.dll
A node that draws a horizontal or vertical separator line. The orientation is either explicitly set or inferred from the parent layout axis. Customize appearance using via ThemePanel.
csharp
public sealed class SeparatorNode : Hex1bNodeInheritance
Object → Hex1bNode → SeparatorNode
Properties
ExplicitAxis
Optional explicit axis. If set, overrides the inferred axis.
Returns: Nullable<LayoutAxis>
csharp
public LayoutAxis? ExplicitAxis { get; set; }InferredAxis
The axis inferred from the parent container during reconciliation.
Returns: Nullable<LayoutAxis>
csharp
public LayoutAxis? InferredAxis { get; set; }Methods
MeasureCore(Constraints)
Override this method to implement measuring logic for this node.
Parameters:
constraints(Constraints):
Returns: Size
csharp
protected override Size MeasureCore(Constraints constraints)Render(Hex1bRenderContext)
Renders the node to the given context.
Parameters:
context(Hex1bRenderContext):
csharp
public override void Render(Hex1bRenderContext context)