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
270
How to give each columnset it's own override styling?
posted

Hi!

I have very simple problem - I display some object hierarchy via wintree and I wanna be able to give each of the columnsets it's own style.

In ColumnSetGenerated event handler I construct new Infragistics.Win.UltraWinTree.Override object and specify it's SelectedNodeAppearance etc.

But I'm stalled with the question of how to apply this override to this particular columnSet ????

I've checkout your examples - but all I see is that override can be selected for Node on some level and so on.

Please, help me and pwovide some code example.

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    I don't think you can assign a new Override object to the tree. I'm surprised the Override's constructor is public, actually. 

    The Override exists on the Node, the NodesCollection, the Tree, and each level of the hierarchy (NodeLevelOverrides). It sounds to me like the NodeLevelOverrides would work for you in this case. Unless you have sibling rows or rows on the same level that are using different column sets - in which case you could use the Nodes collection override. 

     

Children
No Data