<Window x:Class="Ticket209422_RowStyleAccordingToDataItem.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    Title="Window1" Height="300" Width="300">
    <Grid>
		<telerik:RadGridView Name="RadGridView1">
            <telerik:RadGridView.Resources>
                <Style TargetType="{x:Type telerik:GridViewRow}">
                    <Setter Property="Background" Value="#00FF00" />
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding Path=Spam}" Value="True">
                            <DataTrigger.Setters>
                                <Setter Property="Background" Value="Red" />
                                <Setter Property="Foreground" Value="#FF0000" />
                                <Setter Property="FontSize" Value="14" />
                            </DataTrigger.Setters>
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </telerik:RadGridView.Resources>
        </telerik:RadGridView>
    </Grid>
</Window>
