This question is locked. New answers and comments are not allowed.
I have the following style defined in a resource dictionary:
The member "BorderBrush" is not recognized or is not accessible, same for Background. My resource dictionary contains other control styles and this error just started when I added the gridview style. What am I doing wrong?
<Style x:Key="PrimaryDataListGridStyle" TargetType="telerikGridView:RadGridView">
<Setter Property="BorderBrush" Value="{StaticResource AreaBorderBrush}"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="MultipleSelect" Value="False"/>
<Setter Property="DataLoadMode" Value="Asynchronous"/>
<Setter Property="UseAlternateRowStyle" Value="True"/>
<Setter Property="ColumnsWidthMode" Value="Fill"/>
</Style>
When I apply the style to a gridview in a usercontrol it works in Visual Studio but I get the following errors in Blend when I open the usercontrol or resourcedictionary:
The member "BorderBrush" is not recognized or is not accessible, same for Background. My resource dictionary contains other control styles and this error just started when I added the gridview style. What am I doing wrong?