flip scrollbar WPF

前端 未结 3 1252
深忆病人
深忆病人 2021-01-21 00:46

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 s

3条回答
  •  执念已碎
    2021-01-21 01:11

    I got inspired by some answers here and decided to add mine for further reference.

    For the scrollbar it doesn't really matter whether it is rotated 180 degrees or flipped upside down but for other controls (or some style) it may be important.

    Here's my code:

    
        
            
        
    
    

提交回复
热议问题