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
1560
How to Disable a checkbox in of the UltraTree
posted

 With style to Standard and NodeStyle to checkbox, is there a way to disable the checkbox and still be able to expand the node? I tried disabling the node but that won't allow me to expand the node. 

I just want to disable the checbox but still be able to expand the node. 

  • 71886
    Offline posted

    Hello GoDaddy,

    You could try hooking to the 'BeforeCheck' event of the 'WinTree' control and cancel it:

     

            private void ultraTree1_BeforeCheck(object sender, BeforeCheckEventArgs e)
            {
                e.Cancel = true;
            }
    

     

    Please feel free to let me know if I misunderstood you or if you have any other questions.