Home Forums WPF controls Xceed DataGrid for WPF RowSelector styling

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #22129 |

    I am having difficulties restyling the RowSelector. So far I have tried implicitly defining a style for that type and looked where to explicitly set the style without much luck.

    I was wondering if you could point me in the right direction?

    Imported from legacy forums. Posted by Jason (had 2535 views)

    User (Old forums)
    Member
    Post count: 23064

    The reason why an implicit style on RowSelector won’t work is because every item displayed in the DataGrid (DataRow, GroupHeaderControl, custom ui…) has its own RowSelectorStyle, which can be set via the RowSelectorPane.RowSelectorStyle attached property.

    So, if you want to change the RowSelector style for all the DataRows, you would need to put this Setter in the DataRow’s style:

    <Setter Property=”xcdg:RowSelectorPane.RowSelectorStyle” Value=”…”/>

    Hope this helps!

    Imported from legacy forums. Posted by Pascal (had 471 views)

    User (Old forums)
    Member
    Post count: 23064

    Thank you

    Imported from legacy forums. Posted by Jason (had 3773 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.