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
915
XamCheckEditor
posted

Why does the checkbox always startup in the three state mode? i.e when starting the checkbox the first time it has a green background and needs to be clicked twice to check the box.

Is this a bug or intended behavior and if intended is there a way around this so that when you click it the first time it actually checks the box?

Parents
  • 54937
    Verified Answer
    Offline posted

    Are you using the XamCheckEditor inside the XamDataPresenter (i.e. within a column) or outside of that? Basically the reason why it comes up that way is because the IsChecked property of that editor defaults to null so it comes up in the indeterminate state. If you're using it outside the grid then you can set the IsChecked to false. If you're using it in the grid then you should initialize the underlying data so its false and not null. 

Reply Children
No Data