P
Patrick Dahmen
Hello,
I enumerate database tables in my TreeView. Each table-node should show the
columns of the table. Since the Database might be huge, I don't want all
columns of each table to be listed, when I first initialize table.
So I use the BeforeCollapse EventHandler. Now I ask myself, that should ever
get called, if there is no + sign left of the node. (Because I until now I
did not add the ColumnNodes)
I hoped to find a Property of the TreeNode class, like
ShowPlusSignThoughIDontHaveChilds (=true) but I don't find it.
Sure I could add a dummy Node, but that does not seem to be nice code.
Does anyone has an idea?
Thank You
I enumerate database tables in my TreeView. Each table-node should show the
columns of the table. Since the Database might be huge, I don't want all
columns of each table to be listed, when I first initialize table.
So I use the BeforeCollapse EventHandler. Now I ask myself, that should ever
get called, if there is no + sign left of the node. (Because I until now I
did not add the ColumnNodes)
I hoped to find a Property of the TreeNode class, like
ShowPlusSignThoughIDontHaveChilds (=true) but I don't find it.
Sure I could add a dummy Node, but that does not seem to be nice code.
Does anyone has an idea?
Thank You