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?
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.
Thank you. I just assumed that the default value was false. I guess that just go to show why you never assume anything.
This should not be the case though as I do not have the IsThreeState enabled so the default value should be 'False' unless I enable IsThreeState.
I am using the XamCheckEditor both ways, but this explains why the ones outside of the grid were not working the same way and those in the grid. (the grid is databound and the others are not)