How to find Vertical Scrollbar width of a Scrollviewer in C#

前端 未结 2 777
心在旅途
心在旅途 2020-12-17 09:07

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

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-17 09:41

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

提交回复
热议问题