Is it possible to have 2 lines of text in the text for a node?
For example
+ My Treenode some subtext for this node + A child node + Another child node+ Another root node some more subtext etc etc
Node the "selected" node isn't split, I just mocked it in with html instead of making up a graphic. Basically the top root node is selected.
Thanks, Tom
Actually, it just occurred to me that you might be able to do something like this using the UltraTreeNodeColumn.LayoutInfo.SpanX, SpanY, OriginX, and OriginY properties. These properties make it possible to, for example, have one cell appear on a different logical "row" than the other cells, and also hide the header for that cell. The properties are frankly a bit difficult to work with so what I usually do is set the ColumnSet's AllowColMoving, AllowCellSpanSizing, and AllowLabelSpanSizing properties to allow moving and sizing, then assign the column's LayoutInfo property to the SelectedObject property of a PropertyGrid. If you drag the column header for the cell that you want to serve as the AutoPreview field under the rest, and resize the cell to span across the whole node, you will get something like AutoPreview, then you can check the property grid for what the property settings need to be.
Note that this stuff is only applicable to the 'Grid' ViewStyle.
Thanks for the speedy response Brian. I'll make do with adding some tooltips for now, the work we've done on the tree structure for this project already has been quite extensive!
Thanks again, Tom
UltraTree does not support this, but UltraGrid has something similar; the UltraGridBand class exposes an AutoPreviewField property, which allows you to designate a column to provide the "subtext" you describe here. It was based on MS Outlook's AutoPreview functionality.
It messed up my lovely styling, I'll post an image if required, but just select the tree and it will highlight everything.