Hello,
First sorry for my english
I would like to know how i can change the style of a treenode,
Exemple
TreeView
-> treeNode1 (red style)
-> treenode2 (green style)
-> treenode3 (blue style)
Thanks for your response.
When you add a node to the tree, you can set the node.Override.Appearance properties on that node.
It's not possible by using appstyle???
AppStyling styles an entire application, there's no way for a style to know about or identify individual nodes in a tree.
If you want to define the appearances for the nodes in the isl, then you could define Resources in your isl and then apply those resource to nodes in code by setting the StyleResourceName on the node's Appearance. But you would still have to code setting the property.