private void gtv_OnGetHint(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.NodeGetHintEventArgs e) { e.HintText = string.Format("Class {0} {1}", e.Node.GetType().FullName, Environment.NewLine); if (e.Node.Data != null) { e.HintText += String.Format("User data type : {0}\r\nUser data value : {1}", e.Node.Data.GetType().ToString(), e.Node.Data); } }
private void geniusTreeView1_OnGetHint(Genius.Controls.TreeView.GeniusTreeView Sender, Genius.Controls.TreeView.NodeGetHintEventArgs e) { if (e.Node.Data is DataNodeImage) { if (e.DisplayColumn == 1) { e.HintText = (e.Node.Data as DataNodeImage).FileName; } } }