<toolkit:DataGrid.RowStyle> <Style TargetType="{x:Type toolkit:DataGridRow}"> <Style.Triggers> <DataTrigger Binding="{Binding Used}" Value="True"> <Setter Property="Foreground" Value="Green"/> <Setter Property="Background" Value="LightSlateGray"/> <Setter Property="ToolTip" Value="This Observation is Selected."/> </DataTrigger> <DataTrigger Binding="{Binding Used}" Value="False"> <Setter Property="Foreground" Value="Red"/> <Setter Property="Background" Value="Black"/> <Setter Property="ToolTip" Value="This Observation is Observed."/> </DataTrigger> </Style.Triggers>
wrote:f i>10 then Used = true else Used = false
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)