Hello,
I tried using this approach that I found in the WPF forums: http://www.telerik.com/community/forums/wpf/gridview/setting-radgridview-row-background-color-based-on-the-value-of-a-column-in-the-row.aspx
However, this isn't working for me in Silverlight. I get the following error:
"XamlParseException occurred."
Set property '' threw an exception. [Line: 41 Position: 69]
Here is my Xaml:
I tried using this approach that I found in the WPF forums: http://www.telerik.com/community/forums/wpf/gridview/setting-radgridview-row-background-color-based-on-the-value-of-a-column-in-the-row.aspx
However, this isn't working for me in Silverlight. I get the following error:
"XamlParseException occurred."
Set property '' threw an exception. [Line: 41 Position: 69]
Here is my Xaml:
<telerik:RadGridView x:Name ="itemGrid" IsReadOnly="False"
AutoGenerateColumns="False"
ItemsSource="{Binding AdTypes, Mode=TwoWay}"
SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
IsSynchronizedWithCurrentItem="False"
RowIndicatorVisibility="Collapsed"
>
<telerik:RadGridView.RowStyle>
<Style TargetType="telerik:GridViewRow">
<Setter Property="Background" Value="{Binding Active, Converter={StaticResource ActiveConverter} }"></Setter>
</Style>
</telerik:RadGridView.RowStyle>
...
</telerik:RadGridView>