Hello!
I have tried to set the background color to "transparant" for a WinTree control without success.I am using AppStyling in my project (Currently RubberBlack) and I placed the WinTree control inside a groupbox.
The attached image shows that their is some sort of backcolor gradient, and I don't know how to get rid of that.
I would like to have the gradient from the groupbox showed instead.
I have realized that this "behavior" is different depending on the app style used. I would like to findan approach that works no matter what app style that is used.
/Henrik
Hello,
Without using AppStylist, were you successful at making the UltraTree back color transparent? I was able to modify the back color and it changes to that of the GroupBox's back color.
this.ultraTree1.Appearance.BackColor = System.Drawing.Color.Transparent;
If so and are experiencing issues strictly with AppStylist would you please modify my attached sample and revert it back so that I can take a look at it?
And yes, without AppStyling, it seems to work. However, you loose the formatting of the nodes that way, so I would like to avoid that...
I quickly saw that the tree's background was not completely transparent with the GroupBox. So I opened RubberBlack.isl and navigated to the 'Misc' tab to check the back color for the Groupbox. I made sure that the background was white for my test. Then I navigated to the 'Navigation' tab to check on the tree and selected both background options to be transparent. The way to make these changes is to have over the control and press '1'. This will show the properties for the control in a lower pane. The background option is to the far right. If you check the .isl you will now see a slash for the tree indicating that the back colors are now transparent. I did not modify your sample, just the .isl. If you run the sample, let me know if this is the behavior you wanted. Thanks in advance.
yepp, it works great!
Thanks!