Vixen
02b45cc4
csharp
public sealed class DockSplitNode

Two arrangements side by side, with a ratio between them.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (5)

  • public const float MinimumRatio

    How small either half may be squeezed, as a fraction.

  • public Orientation Orientation

    Which way the two halves are laid out.

  • public DockNode First

    The left or upper half.

  • public DockNode Second

    The right or lower half.

  • public float Ratio

    How much of the space the first half takes.

Methods (3)

  • public DockSplitNode(Orientation orientation, DockNode first, DockNode second, float ratio = 0.5)

    Creates a split.

  • public override YamlNode ToYaml()

    Writes it as a YAML node.

  • public override void Collect(List<DockGroupNode> into)

    Every group in this subtree, in order.

Used by (10)

  • ShellHelloUi
  • DockLayoutVixen.Ui.Controls.Advanced
  • DockNodeVixen.Ui.Controls.Advanced
  • DockReorderTestsVixen.Ui.Controls.Advanced.Tests
  • DockSplitterViewVixen.Ui.Controls.Advanced
  • DockingHostVixen.Ui.Controls.Advanced
  • DockingTestsVixen.Ui.Controls.Advanced.Tests
  • DockingWindowTestsVixen.Ui.Controls.Advanced.Tests
  • LayoutPresetsVixen.Editor.Ui
  • WorkspaceTestsVixen.Editor.Ui.Tests