I am using an Xceed datagrid and I am trying to change the RowSelectorPane background color. I tried to do this in the XAML, but it would give me a compiler error stating that it cannot create my datagrid control. Any advice would be greatly appreciated.
<xcdg:DataGridControl Background="Transparent" Name="dgControl" SelectionUnit="Cell" >
<!--<xcdg:RowSelectorPane Background="Transparent" />-->
</xcdg:DataGridControl>
UPDATE 2: Browsing through the Xceed documentation and the Xceed fora I found out that you have to set the RowSelectorStyle on every DataRow.
Update 3
You are right I missed the parts outside the rows section: the rowselectorpane itself. Unfortunately that is not styleable.
There are 2 options:
Rewrite the TableViewScrollViewer controltemplate as suggested on the Xceed forum. But this is tedious copy paste work of large parts of xaml and changing that little part you want to have it look your way.
Or the following little hack:
Xaml:
<xcdg:DataGridControl ItemsSource="{Binding}" Name="_dataGrid" Loaded="dataGridLoaded" etc...>