Northwoods.GoSilverlight 1.2.2 Assembly
TreeStyle Enumeration
See Also  Send Feedback
Northwoods.GoXam.Layout Namespace : TreeStyle Enumeration

This enumeration identifies the general style in which the nodes are laid out.

Syntax

Visual Basic (Declaration) 
Public Enum TreeStyle 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
C# 
public enum TreeStyle : System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
AlternatingAlternate layers of the tree have different properties, typically including the angle. Each TreeVertex gets its properties from its "grand-parent" node. The root nodes get their defaults from TreeLayout.RootDefaults; the immediate children of root nodes get their defaults from TreeLayout.AlternateDefaults.
LastParentsJust like the standard layered style, except that the nodes with children but no grandchildren have alternate properties. Each TreeVertex gets its properties from its parent node. However, for those nodes whose TreeVertex.MaxGenerationCount is 1, in other words when it has children but no grandchildren, the properties are copied from the TreeLayout.AlternateDefaults. If the tree only has two levels, the root node gets the TreeLayout.RootDefaults.
LayeredThe normal tree style, where all of the children of each TreeVertex are lined up horizontally or vertically. Each TreeVertex gets its properties from its parent node. TreeLayout.RootDefaults is used for all default TreeVertex property values; TreeLayout.AlternateDefaults is ignored.
RootOnlyAll of the nodes get the alternate properties, except the root node gets the default properties. The root node gets the TreeLayout.RootDefaults properties, the root node's children get the TreeLayout.AlternateDefaults properties, and all of the rest of the TreeVertexs get their properties from their parent node.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Northwoods.GoXam.Layout.TreeStyle

Requirements

See Also

© 2010 All Rights Reserved.