Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
460
UltraTree with ExpansionIndicators and FullRowSelect
posted

Is there any way to get UltraTree nodes to show ExpansionIndicators and having FullRowSelect?

As I understand there are several properities involved in this matter:
- ViewStyle
- ShowLines
- ShowRootLines
- FullRowSelect
- Override.ShowExpansionIndicator

With the settings below I get FullRowSelect but not ExpansionIndicators.


.ViewStyle = UltraWinTree.ViewStyle.Default
.ShowLines = False
.ShowRootLines = False
.FullRowSelect = True
.Override.ShowExpansionIndicator = ShowExpansionIndicator.Always

If I set the ShowLines and the .ShowRootLines properities to True then I got the ExpansionsInficators but no FullRowSelect.

Is there any way to get both?

I have a question about showing images in a Tree columns. When I put the image as a cell value (aNode.Cells(0).Value = some image) I got the image rendered but its size is wrong and I can't adjust its alignments. If I put the image like this .Cells(0).Appearance.Image then I don't get the image rendered.

Is there any code example how to put images in cells and get them right in a UltraTree?


Thanks for any tips.