Controls that can have color or bold properties...

  • Thread starter Thread starter dwhittenburg
  • Start date Start date
D

dwhittenburg

I was wandering if there were controls that the bold or color property could
be modified...

Currently I have a treeview and I'd like to make each TreeNode at certain
levels either a different color or bold or something...

Just trying to get an idea...

Thanks
 
Unfortunately, the TreeNode class cannot be inherited. Otherwise I would
have suggested deriving a custom control from TreeNode. Perhaps you can
find another technique to accentuate the hierarchy.

- Bruce Hamilton
.NET Compact Framework
User Education
 
You'll be able to do that with CF 2.0

For CF 1.0 an option is to use different image or use checkboxes and have
certain treenodes checked or prefix the node text with some character... not
ideal but that's about it...

Cheers
Daniel
 
TreeNode can be inherited... for the archives benefit I guess you meant
TreeView (which you can also inherited but not affect the way it
renders/paints)...

Cheers
Daniel
 
Back
Top