Class TreeInfo
Describes how a manager node's children are arranged in an organizational chart, and the node's own role. Assign to LayoutInfo (manual nodes) or use as LeafLayoutInfo. Null properties mean "use the EJ2 default".
Inherited Members
Namespace: Syncfusion.Maui.Diagram
Assembly: Syncfusion.Maui.Diagram.dll
Syntax
public class TreeInfo : DiagramElement
Constructors
TreeInfo()
Declaration
public TreeInfo()
Fields
OffsetProperty
Identifies the Offset bindable property.
Declaration
public static readonly BindableProperty OffsetProperty
Field Value
| Type |
|---|
| BindableProperty |
OrientationProperty
Identifies the Orientation bindable property.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
| Type |
|---|
| BindableProperty |
RoleProperty
Identifies the Role bindable property.
Declaration
public static readonly BindableProperty RoleProperty
Field Value
| Type |
|---|
| BindableProperty |
TypeProperty
Identifies the Type bindable property.
Declaration
public static readonly BindableProperty TypeProperty
Field Value
| Type |
|---|
| BindableProperty |
Properties
Offset
Gets or sets the offset of this node's children from the default arrangement, in diagram units. null uses the EJ2 default; zero and negative values are honored.
Declaration
public double? Offset { get; set; }
Property Value
| Type |
|---|
| double? |
Orientation
Gets or sets the orientation along which this node's children are arranged. null uses the EJ2 default. Applies to this node's children, not the node itself.
Declaration
public SubTreeOrientation? Orientation { get; set; }
Property Value
| Type |
|---|
| SubTreeOrientation? |
Role
Gets or sets this node's own role in the chart. An Assistant is placed on a dedicated branch between its manager and the manager's other reports. A root marked Assistant is treated as Normal.
Declaration
public OrganizationalRole Role { get; set; }
Property Value
| Type |
|---|
| OrganizationalRole |
Type
Gets or sets how this node's children are aligned within the sub-tree. null uses the EJ2 default. Valid combinations depend on Orientation; invalid ones are dropped with a validation issue.
Declaration
public SubTreeAlignments? Type { get; set; }
Property Value
| Type |
|---|
| SubTreeAlignments? |