G
Guest
I was wondering if it was at all possible to make the label of a TreeNode
dynamic- calling a specific method or property whenever it needs to obtain a
label to draw?
The reason is I'd like to have a number printed in the label, which
indicates how many children that node has (recursive)
so if this was a file system tree for example, I might have D:\ which has
the number 1,250 next to it (how many files in all of my D drive), then you
expand that and each folder in turn has a number showing how many files under
it, etc... down to every last folder.
dynamic- calling a specific method or property whenever it needs to obtain a
label to draw?
The reason is I'd like to have a number printed in the label, which
indicates how many children that node has (recursive)
so if this was a file system tree for example, I might have D:\ which has
the number 1,250 next to it (how many files in all of my D drive), then you
expand that and each folder in turn has a number showing how many files under
it, etc... down to every last folder.