Default style fore Null Value is grey check in XamCheckEditor. How can I change it to show null value as unchecked(false value)?
When XamCheckEditor value is True and IsReadOnly=True, it appears exactly the same way as Null Value(grey check), which is very confusing. How can I change it to Grey background with Black Check instead?
Hello Jane Xue,
Can you please provide a project which reproduces this behaviour? Because I'm not sure what you are asking for.
Regards,
Anastas
Just use the following example. You can see the second and third checkbox looks exactly the same. Although the second is really checked, and the third is null.
I want to show checkbox as unchecked when isChecked = null to make difference.
<Window x:Class="XamCheckEditor.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="525" xmlns:igEditors="http://infragistics.com/Editors"> <Grid> <StackPanel> <igEditors:XamCheckEditor VerticalAlignment="Top" IsChecked="{x:Null}" /> <igEditors:XamCheckEditor VerticalAlignment="Top" IsReadOnly="True" IsChecked="True"/> <igEditors:XamCheckEditor VerticalAlignment="Top" IsReadOnly="True" IsChecked="{x:Null}"/> </StackPanel> </Grid></Window>
This is what I see when paste your code in VS2010.
The second and third checkboxes are different - second is checked and third is null.
What is the version that you are using(it should looks like: 11.1.1002)
I use vs2010
I used Infragistics v11.2.20112.1012, and I see the following. I also have 10.3 and 11.1, should I uninstall? should not matter, right?