如何找到在C#中的ScrollViewer垂直滚动条的宽度 [英] How to find Vertical Scrollbar width of a Scrollviewer in C#

查看:1277
本文介绍了如何找到在C#中的ScrollViewer垂直滚动条的宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ScrollViewer中,并在我显示垂直滚动条,现在就改变我想要得到的滚动条的宽度系统的分辨率。我通过 StackOverflow上的一个帖子去在那里,他们提来检查SystemParameters.ScrollWidth财产,但我再次DIN找到他们的任何帮助。任何人都可以请帮我解决我的问题。任何答复将不胜感激。

I have a ScrollViewer and in that I am showing the Vertical Scrollbar, Now on changing resolution of the system I want to get the width of the scrollbar. I went through One StackOverflow Post there they mention to check for SystemParameters.ScrollWidth Property but again I din find any help from their. Can anybody please help me to fix my issue. Any answer will be appreciated.

推荐答案

我想的 SystemParameters.VerticalScrollBarWidth 是你在找什么。

I think SystemParameters.VerticalScrollBarWidth is what you are looking for.

这篇关于如何找到在C#中的ScrollViewer垂直滚动条的宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆