We have used a wintree control in our application and have added an App stylist for settings the stylist for various controls.We are showing multiple columns in the tree and have set the view style to OutLookExpress.
Through the code i am able to set the first record (root node record)as the active node (ultratree.ActiveNode = ultratree.Nodes[0]).
I need to set the backcolor for the activenode.
In the appstylist, i edited the Wintree "TreeNode" settings to set the color, but this is not getting applied after i save the changes and run the application.Please refer the attached screen shots for more info.
Any suggestions on how to set the backcolor of an Active node for a wintree using app stylist?
Thanks,
Narasimha
Hi,
I have created the following support ticket for you: CAS-52574-Z4FPJB. Please send me there what you have achieved up to now, so I can research it further and provide you accurate suggestions based on your scenario.
Regards,
Stefaniya
hi Stefaniya,
If you can help me with setting the background color for the selected row (node) in the tree using the "Resource" property instead of "Background" it will be helpful.
currently the color which i have set using the background property is more a close match to the color for active row in a win grid which is set by selecting a Resource.
If i can do the same for the wintree it will be great, keep the settings uniform irrespective of control.
Let me know if you need my assistance.
As Mike has mentioned, using the different ui roles works. I have uploaded a sample with modified version of Office2007Blue.isl. I have modified the active appearance for the following UI Roles: Cell->TreeCell and TreeNode. If you want, you can upload a small sample of what you have achieved with the appStylist, and will research for you why the resources are not applied over the tree’s nodes.
Let me know your decision.
I am now able to set the setting by setting the background color but not able to do so using the resource. So the color i have choosen is more a close match to the resource settings used for a highlighting active row in a grid and not the same.... For the tree view in Outlookexpress style when i set the resource the preview button does not change as it does when i set the background color for the active node(row)
Mark ,
Thanks for your reply, i actually reset all the settings and started fresh by just setting the background color just the way you did and mentioned in your post.