Determines the alignment of child nodes compared to their parent nodes.

Namespace: TreeLayoutHelper.HierarchyLayout
Assembly: TreeLayoutHelper (in TreeLayoutHelper.dll) Version: 1.1.0.0 (1.1.0.0)

Syntax

C#
public ChildAlignment ChildAlignment { get; set; }
Visual Basic
Public Property ChildAlignment As ChildAlignment
	Get
	Set
Visual C++
public:
property ChildAlignment ChildAlignment {
	ChildAlignment get ();
	void set (ChildAlignment value);
}
J#
/** @property */
public ChildAlignment get_ChildAlignment()
/** @property */
public  void set_ChildAlignment(ChildAlignment value)
JScript
function get ChildAlignment () : ChildAlignment
function set ChildAlignment (value : ChildAlignment)
JavaScript
function get_ChildAlignment();
function set_ChildAlignment(value);

Field Value

This property gets or sets the alignment of child nodes. The alignment is seen from the parent node along the orientatoin axis (which is determined with the Orientation property). Hence, for a hierarchy layout whose Orientation property is set to TopToBottom, a child alignment of Left means that child nodes will be indented towards the right side. If Orientation is set to LeftToRight, a child alignment of Left means that child nodes are indented upwards.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeExceptionAn invalid enumeration value is assigned.

See Also