views:

145

answers:

1

Hi, Does anyone know how to set the Corner-Color of a WPF Toolkit DataGrids Scrollbar?

It would be nice if the upper Corner would use the same Style as the ColumnHeaderStyle and the lower Corner would be transparent.

Image

Thanks in advance!

A: 

You could try extracting the default control style / template using Expression Blend, you'll be able to get a copy of the default style and create your own style from there.

Just open Blend and create a new project and add a DataGrid to your Window (you'll have to add a reference to the WPF Toolkit as you would in VS). Once you have your control on the Window just click to select it then go to the Object menu - you should see options to edit the style and template of the control. I find the best way is to edit a copy of the original style, this will extract the entire style / template for the control so you can fiddle with it as much as you like and hopefully get the result you are looking for.

TabbyCool