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
705
Make Unbound CheckBox column Read Only
posted

Hi,

I've a column in my XamGrid like this:

<igXaml:UnboundColumn Key="Exceptions" 
                      HeaderText="HasExceptions"
                      ValueConverter="{StaticResource HasExceptionsConverter}"
                      HorizontalContentAlignment="Center"
                      Width="Auto">
    <igXaml:UnboundColumn.ItemTemplate>
        <DataTemplate>
            <StackPanel>
                <CheckBox IsChecked="{Binding Value, Mode=OneWay}" />
            </StackPanel>
        </DataTemplate>
    </igXaml:UnboundColumn.ItemTemplate>
</igXaml:UnboundColumn>
How can I make this kind of column not editable?
Setting the EditingSettings doesn't work here.
I can set IsReadOnly on the checkbox but if I do so, the column is gray instead of just "not clickable" like the other columns.
Regards!
Parents
  • 705
    Offline posted

    Hi again,

    there is a mistake in my question... but I can't edit the post.

    It has to be: I can set IsEnabled on the checkbox but if I do so, the column is gray instead of just "not clickable" like the other columns.

Reply Children
No Data