开发者

How to apply style for WPF DATAGRID Scrollbars

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

Thanx


How about something this?

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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜