This question is locked. New answers and comments are not allowed.
Using the latest version of the control and VS 2010.
If I try to use the following code, Visual Studio will crash when opening the design view that has a grid in it. However, it works fine when running.
For the following code, the default theme just doesn't seems to take hold. However the same technique works for other controls (I tried RadButton and RadComboBox).
If I try to use the following code, Visual Studio will crash when opening the design view that has a grid in it. However, it works fine when running.
<
Style
TargetType
=
"telerik:RadGridView"
>
<
Setter
Property
=
"telerik:StyleManager.Theme"
Value
=
"Windows7"
/>
<
Setter
Property
=
"IsSynchronizedWithCurrentItem"
Value
=
"true"
/>
</
Style
>
For the following code, the default theme just doesn't seems to take hold. However the same technique works for other controls (I tried RadButton and RadComboBox).
<
telerik:Windows7Theme
x:Name
=
"thmWin7"
/>
<
Style
TargetType
=
"telerik:RadGridView"
telerik:StyleManager.BasedOn
=
"{StaticResource thmWin7}"
>
<
Setter
Property
=
"Margin"
Value
=
"2 2 2 2"
/>
<
Setter
Property
=
"VerticalAlignment"
Value
=
"Center"
/>
</
Style
>