I have this code set up for my XamGrid
<Grid.Resources >
<Style TargetType="{x:Type igDP:CellValuePresenter}" x:Key
="BoolFieldOverride">
<
<Setter.Value>
IsChecked="{Binding RelativeSource={RelativeSource TemplatedParent}, Path
=Content}"/>
</
</S
RelativeSource={RelativeSource Self}, Path=Record.DataItem.Count}" Value
="0">
my grid column
everything seems to be working but when my grid loads and the Count field=0
the check box is still enabled??
what am I missing here.
got it fixed (thanks to another post on here)
I changed the datatrigger binding path to
Style.Triggers>
<DataTrigger Binding="{Binding Path=Cells[4].Value}" Value="0">
Setter Property="IsEnabled" Value
="False" />
DataTrigger>
and now it works.
Hello,
I just wanted to thank you for posting your solution!