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
1850
NodeStyle = CheckBox
posted

So, I have have dragged an UltraTree control onto a winform. I have a bindinglist filling the datasource and it all works fine. I have changed the NodeStyle to checkbox thinking the +/- icons would change to checkboxes but it did nothing.

What am I doing wrong?

Thanks

-Ken

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Ken,

    NodeStyle has no effect on the expansion indicators. What it does is put a checkbox in front of the node in standard ViewStyle.

    If you are binding the tree, then the tree's ViewStyle will default to Grid style, so the NodeStyle is ignored in that case. If you want CheckBox in a grid-style tree, you will need to add an unbound column whose DataType is Boolean and use that.

Reply Children