WPF Telerik RadGridView disappeared when i applied global style.
<
ResourceDictionary
xmlns
=
"http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:fw
=
"clr-namespace:SSMS.Framework;assembly=SSMS.Framework"
>
<
Style
TargetType
=
"telerik:RadGridView"
>
<
Setter
Property
=
"ShowGroupPanel"
Value
=
"False"
/>
<
Setter
Property
=
"AutoGenerateColumns"
Value
=
"False"
/>
<
Setter
Property
=
"RowIndicatorVisibility"
Value
=
"Collapsed"
/>
<
Setter
Property
=
"CanUserFreezeColumns"
Value
=
"False"
/>
<
Setter
Property
=
"IsReadOnly"
Value
=
"True"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1,1,1,0"
/>
</
Style
>
<
Style
x:Key
=
"BoldStyle"
TargetType
=
"telerik:GridViewRow"
BasedOn
=
"{StaticResource GridViewRowStyle}"
>
<
Setter
Property
=
"FontWeight"
Value
=
"Bold"
/>
</
Style
>
...........................etc
If i remove the below part from GridViewStyle.xaml, the grid appearing fine, but i want to configure those settings globally.
<
Style
TargetType
=
"telerik:RadGridView"
>
<
Setter
Property
=
"ShowGroupPanel"
Value
=
"False"
/>
<
Setter
Property
=
"AutoGenerateColumns"
Value
=
"False"
/>
<
Setter
Property
=
"RowIndicatorVisibility"
Value
=
"Collapsed"
/>
<
Setter
Property
=
"CanUserFreezeColumns"
Value
=
"False"
/>
<
Setter
Property
=
"IsReadOnly"
Value
=
"True"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1,1,1,0"
/>
</
Style
>
I am sure, before it was worked on the version 2015.3.1104.45.
Anything I missed?