开发者

How to apply style for WPF DATAGRID Scrollbars

开发者 https://www.devze.com 2023-01-03 20:23 出处:网络
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.

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

精彩评论

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

关注公众号