GoDigram for .NET Framework and .NET Core
Northwoods.Go.Layout Namespace / GoLayoutTree Class / NodeIndent Property
In This Topic
    NodeIndent Property (GoLayoutTree)
    In This Topic
    Gets or sets the default indentation of the first child.
    Syntax
    [DefaultValue(0)]
    public float NodeIndent {get; set;}

    Property Value

    The default value is zero. The value should be non-negative.
    Remarks

    This property is only sensible when the Alignment is GoLayoutTreeAlignment.Start or GoLayoutTreeAlignment.End. Having a positive value is useful if you want to reserve space at the start of the row of children for some reason. For example, if you want to pretend the parent node is infinitely deep, you can set this to be the breadth of the parent node.

    This just gets or sets the RootDefaults's property of the same name.

    See Also