public NodeMapLayout(TreeGX treeControl, Rectangle clientArea):base(treeControl,clientArea) { }
//private bool m_LayoutPerformed=false; public NodeTreeLayout(TreeGX treeControl, Rectangle clientArea):base(treeControl,clientArea) { ExpandPartSize=new Size(9,9); }
/// <summary> /// Creates new instance of the class and initializes it with default values. /// </summary> /// <param name="g">Reference to graphics object.</param> public TreeBackgroundRendererEventArgs(Graphics g, TreeGX tree) { this.Graphics = g; this.TreeGX = tree; }
/// <summary>Creates new instance of the class</summary> /// <param name="tree">Object to initialize class with.</param> public NodeDisplay(TreeGX tree) { m_Tree=tree; }
/// <summary>Creates new instance of the class</summary> /// <param name="tree">Object to initialize class with.</param> public NodeTreeDisplay(TreeGX tree):base(tree) { }
public NodeLayout(TreeGX treeControl, Rectangle clientArea) { m_Tree=treeControl; m_ClientArea=clientArea; }
public static Font GetCellFont(TreeGX tree, Cell cell) { Font font=tree.Font; ElementStyle style=null; if(cell.StyleNormal!=null) { style=cell.StyleNormal; } else { if(tree.NodeStyle!=null) style=tree.NodeStyle; else style=new ElementStyle(); if(tree.CellStyleDefault!=null) style=tree.CellStyleDefault; else style=ElementStyle.GetDefaultCellStyle(style); } if(style!=null && style.Font!=null) font=style.Font; return font; }