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
200
XamDataTree checkbox indeterminate state
posted

Hi,

The out of the box style for the XamDataTree checkbox indeterminate state visual looks like a line instead of a box. We need to have it look like a box like shown in the pictures.

My question is do I have to copy the entire xaml Checkbox style and then change it in order to get the look that we want for the indeterminate state? Or is there a an easier way to change the indeterminate state of a checkbox? Hopefully, there is a way to do this without have to use the entire checkbox style.

Also, (this question is more of me being curios than anything else), Why do your samples show a different indeterminate state visual than what the custom gets out of the box? Wouldn't it be easy to change the out of the box xaml to reflect how your samples look?

Thanks

Mike

 

Parents
No Data
Reply
  • 29065
    Verified Answer
    Offline posted

    Hello and thank you for contacting Infragistics. I believe you are seeing one of our themes in action which contain a square border for the indeterminate state. I attached a sample with a few of our theme dlls for you to try out. Nested within the DataTree you'll find our ThemeManager extension on how to apply the theme. If you want to change the default layout then you'll have to modify the generic style which can be a little cumbersome but possible by modifying and incorporating the styles found here:

    C:\Program Files (x86)\Infragistics\2023.1\WPF\DefaultStyles

    6567.XamDataTree_ICollectionView.zip

Children