tags:

views:

97

answers:

1

Hi,,

I have a WPF Datagrid control. I want to apply style for scrollbars. It would be nice if u can give me an example for it.

Thanx

A: 

How about something this?

                            <DataGrid>
                                <DataGrid.Resources>
                                    <Style TargetType="ScrollBar">
                                        <Setter Property="Background" Value="Red" />
                                    </Style>                                        
                                </DataGrid.Resources>
                            </DataGrid>
wangburger