翻转滚动WPF [英] flip scrollbar WPF
本文介绍了翻转滚动WPF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
喜
我建立,显示从0到最高统治者的控制。 0值是在底部,最大是在一个更高的y,则0(直到我们滚动到它的最大不可见)。
中的问题是,虽然0是向下,最大为向上。 0值滚动条的,并且它的最大下跌。
我想滚动条将被翻转。
我怎么能做到这一点。
Hi I am building a control that shows a ruler from 0 to a maximum. The 0 value is at the bottom and the maximum is in a higher y then the 0(The maximum is not visible until we scroll to it). The problem is that while 0 is down and the maximum is up. The 0 value of the scroll bar is up and the maximum is down. I want that the scroll bar will be flipped. How can I do that ?
推荐答案
花花公子,想简单:
<ScrollBar.RenderTransform>
<RotateTransform Angle="180"/>
</ScrollBar.RenderTransform>
问候
Regards
这篇关于翻转滚动WPF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文