can i change the selected item background color?

Sep 8, 2008 at 9:11 AM
current selected item background color is deepblue , can i change it?

thanks!
Sep 8, 2008 at 12:42 PM
Hi,$0$0$0$0 Here is sample of a style for rows,$0$0$0$0$0$0<!--Rows-->$0$0    <Style TargetType="toolkit:DataGridRow" >$0$0        <Setter Property="MinHeight" Value="20" />$0$0        <Setter Property="HorizontalAlignment" Value="Stretch" />$0$0        <Style.Triggers>$0$0            <Trigger Property="IsSelected" Value="true">$0$0                <Setter Property="Background" Value="{StaticResource SelectedBackgroundBrush}"/>$0$0            </Trigger>$0$0            <MultiTrigger>$0$0                <MultiTrigger.Conditions>$0$0                    <Condition Property="IsMouseOver" Value="true" />$0$0                    <Condition Property="IsSelected" Value="false" />$0$0                </MultiTrigger.Conditions>$0$0                <Setter Property="Background" Value="{StaticResource LightBrush}" />$0$0            </MultiTrigger>$0$0        </Style.Triggers>$0$0    </Style>$0$0$0$0$0This will change the background color and the hover mouse color$0$0