How can I make a Windows 8 Metro scrollviewer respond to mousewheel?

后端 未结 3 528
无人共我
无人共我 2021-02-09 10:16

I\'m currently writing an app for Windows 8 using Metro and C#. In my app I use a combination of scrollviewer and gridview to show my data. My problem is however, how can I make

3条回答
  •  不要未来只要你来
    2021-02-09 11:01

    The "get_pageTranslation" is actually the "PageTranslation" property on the MouseWheelParameters, you access it by saying:

    wheelParameters.PageTranslation
    

    this:

    get_PageTranslation()
    

    is the name of the method which implements the PageTranslation property, but it is not accessible from C# or C++ applications.

提交回复
热议问题