in wpf, in telerik:RadGridView I can not change width of the RowIndicator column (the very first one where the arrow points at the selected row.). There is only visibility property, but nothing else.
To achieve this requirement, extract the default control templates of the GridViewHeaderRow and GridViewRow elements. Then, locate the Border element with x:Name="PART_IndicatorPresenter", which is present in both of the templates, and modify its Width property. Finally, create two additional Styles with TargetType="GridViewHeaderRow" and TargetType="GridViewRow" and set the modified templates to their Template properties.
An important thing to consider is that if the Xaml version of our assemblies is used, each StaticResource present in these control templates would have to be extracted as well. Otherwise, an exception will occur for the missing resources.
With this said, I have attached a sample project, which shows how to achieve this result when using the Office_Black theme. The application is meant to be used with the NoXaml version of the assemblies.
Regards,
Stenly
Progress Telerik
The Premier Dev Conference is back!
Coming to you live from Progress360 in-person or on your own time, DevReach for all. Register Today.