Example #1
0
 private void gtv_OnInitNode(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.NodeEventArgs e)
 {
     if (e.Node.Data is VistaGroup)
     {
         e.Node.Height = gtv.DefaultNodeHeight + gtv.DefaultNodeHeight / 2;
     }
 }
Example #2
0
        private void gtv_OnInitNode(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.NodeEventArgs e)
        {
            int value = (int)e.Node.Data;

            if (value % 2 == 0)
            {
                e.Node.State &= (~NodeState.Visible);
            }
        }
Example #3
0
 private void gtv_OnInitNode(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.NodeEventArgs e)
 {
     if (e.Node.Data is ArrayList)
     {
         e.Node.Text = "Node with sub-nodes";
     }
     else
     {
         e.Node.Text = e.Node.Data.ToString();
     }
 }
Example #4
0
 private void geniusTreeView1_OnAfterCollapse(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.NodeEventArgs e)
 {
     edResult.AppendText(string.Format("OnAfterCollapse({0})\r\n", e.Node.Index));
 }