I am disabling checkboxes in the grid. Setting IsEnabled to false. How do I make it look like a windows checkbox when disabled. You know, kind of grayed out.
I am using: 9.2.20092.2064
the checkbox on top is disabled, the one below is enabled.
I am doing it like this ( i am not using a control template):
<igDP:Field Name="MyFlag Label="MyFlag" Width="90"> <igDP:Field.Settings> <igDP:FieldSettings EditorType="{x:Type igEditors:XamCheckEditor}"> <igDP:FieldSettings.EditorStyle> <Style TargetType="{x:Type igEditors:XamCheckEditor}"> <Style.Triggers> <DataTrigger Binding="{Binding Path=DataItem.IsFlagEditable}" Value="false"> <Setter Property="IsReadOnly" Value="true" /> <Setter Property="IsEnabled" Value="false" /> </DataTrigger> </Style.Triggers> </Style> </igDP:FieldSettings.EditorStyle> </igDP:FieldSettings> </igDP:Field.Settings> </igDP:Field>
attached is the image
Hi singlemalt,
What you've done, i.e. setting the IsEnabled to false, should do the trick.
Please check the attachment to see what I get using the following template:
<
ControlTemplate TargetType="{x:Type igDP:CellValuePresenter}">
Could you, please let us know which NetAdvantage version you're using, and how your checkboxes appear?
Thanks.
Anybody?