<ScrollViewer.Resources>
<s:Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}">5</s:Double>
<s:Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}">5</s:Double>
<s:Double x:Key="{x:Static SystemParameters.VerticalScrollBarThumbHeightKey}">10</s:Double>
<s:Double x:Key="{x:Static SystemParameters.HorizontalScrollBarThumbWidthKey}">10</s:Double>
</ScrollViewer.Resources>
用SystemParameters类系统资源设置,前两个设置滚动条的宽度有效果,同样的方法,后面两个设置滚动条的Thumb的宽度、高度,为什么不见效果呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货