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.
Hello Janos,
I am just checking about the progress of this issue. Let me know if you need my further assistance on it.
Thank you for using Infragistics Components.
Sincerely,
Milko
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hi,
Thank you for posting in our forums.
You can select the whole node, with the expansion indicator, if you use DrawFilter. With the help of the interface, you can draw the selected color, around the whole TreeNodeUIElement and not only around the NodeSelectableAreaUIElement, which is done by default. For more information, please visit this link:
http://help.infragistics.com/Help/Doc/WinForms/2012.2/CLR4.0/HTML/Win_Draw_Filter.html
For the image size, there is an ImageSize property, which is part of the Override of the tree. Here is more information about it:
http://help.infragistics.com/Help/Doc/WinForms/2011.1/CLR2.0/html/Infragistics2.Win.UltraWinTree.v11.1~Infragistics.Win.UltraWinTree.Override~ImageSize.html
Let me know if you have any additional questions.