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
100
conditional colors, alternate row colors plus blinking
posted

Howdy,

I have alternate row colors and conditional row colors, colors based on a numeric value in a column. 

However, now I have to add blinking to a row based on a bool value in column. 

Any hints? 

Thanks

Oskar

<igWPF:XamDataGrid.Resources>
                <Style TargetType="{x:Type igWPF:DataRecordCellArea}">
                    <Setter Property="Background">
                            <Setter.Value>
                                <SolidColorBrush Color="{Binding Path=Cells[Alarmlevel].Value, Converter={StaticResource alarmColorConverter}}">
                                </SolidColorBrush>
                            </Setter.Value>
                    </Setter>
                    <Setter Property="BackgroundAlternate">
                        <Setter.Value>
                            <SolidColorBrush Color="{Binding Path=Cells[Alarmlevel].Value, Converter={StaticResource alarmColorLowConverter}}">
                            </SolidColorBrush>
                        </Setter.Value>
                    </Setter>
  
                </Style>