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
80
Why 'NodeCheckedChanged' invoke so much
posted

I use xamdatatree . when I check the parent'node,the parent's NodeCheckedChanged is invode,and his child's NodeCheckedChanged is invoke.So how can i get all the checked nodes when NodeCheckedChanged invoke? I don't want it invoke so much.

Parents
No Data
Reply
  • 21382
    posted

    This behavior is by design, as it allows the user to react when a node's checkstate is modified. 

     

    You could set the CheckBoxSettings.CheckBoxMode to Manual and this will prevent the auto checking and auto response by the other nodes when one is checked.  You would then have to change all the nodes yourself through code, but you would be able to set a flag in your application to ignore the code in your handler.

Children