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
65
Set a background for a row if a field value is "True"
posted

I want set a background property to a special color if a field value are True. I think my problem is in the Binding part. I have mark this part with ???. The Binding refers to DataRecordPresenter. I must have a binding to the actual DataItem (Field = Hide).

<Style TargetType="{x:Type igDP:DataRecordPresenter}">
<Style.Triggers>
<DataTrigger Binding="{???}" Value="True">
<Setter Property="Background" Value="Yellow" />
</DataTrigger>
</Style.Triggers>
</Style>

Can someone help me?

Parents Reply Children
No Data