I'm trying to set a default value for RadGridView's property ShowColumnSortIndexes. I've tried to do so by adding a style to App.xaml:
<Style TargetType="telerik:RadGridView"><Setter Property="ShowColumnSortIndexes" Value="True" /></Style>
The project builds, but when the first gridview is displayed I get the following error in visual studio (2012):
The property "ShowColumnSortIndexes" is not a DependencyProperty. To be used in markup, non-attached properties must be exposed on the target type with an accessible instance property "ShowColumnSortIndexes". For attached properties, the declaring type must provide static "GetShowColumnSortIndexes" and "SetShowColumnSortIndexes" methods.
When settings the property directly on an individual RadGridView, it works as expected.
Can you please show me how to set an application wide default value for this property? I'm using 2014.2
Thanks,
KJ