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
1290
ShowExpansionIndicator Always only for 1st level nodes
posted

Is it possible to set ShowExpansionIndicator to Always only for 1st level nodes, and not child nodes?

Parents
No Data
Reply
  • 71886
    Verified Answer
    Offline posted

    Hello cidolfus,

    Yes, this is possible. Every node level in the hierarchy has its own Override, i.e. it has its own unique settings which are overriding the controls global settings. So probably a setup like the following could suit your needs:

                ultraTree1.Override.ShowExpansionIndicator = Infragistics.Win.UltraWinTree.ShowExpansionIndicator.Never;
                ultraTree1.Nodes[1].Override.ShowExpansionIndicator = Infragistics.Win.UltraWinTree.ShowExpansionIndicator.Always;
    

     Please feel free to let me know if a question about our toolset comes up on your mind.

Children