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
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
Hi Michael,
I ran your code and the Office 2013 theme will work for us but my apologies because I forgot to mention that currently we are on version 2020.1 so the xaml for theming in your sample is for 2023.2.
<ig:ThemeManager.Theme> <ig:Office2013Theme /></ig:ThemeManager.Theme>
Can you just supply how to do that same xaml for 2020.1? or do I have to do something different? I tried looking around for how to do that but couldn't find anything.
The issue is that 2020.1 doesn't recognize this xaml code Visual Studio gives me an error.
<ig:Office2013Theme />
My apologies again, I didn't notice that I hadn't reference the office 2013 theme. It's all working now.
Thanks for your help
Awesome! Have a great day.