How to enable a two-finger drag on a mac in Silverlight?

Posted by Edward Tanguay on Stack Overflow See other posts from Stack Overflow or by Edward Tanguay
Published on 2010-06-17T20:24:13Z Indexed on 2010/06/17 23:13 UTC
Read the original article Hit count: 288

Filed under:
|
|
|

In a Silverlight 4 application I have a ScrollViewer which I enable the user to scroll with the mouse wheel by using SetIsMouseWheelScrollingEnabled():

<ScrollViewer 
    x:Name="CodeBoxScrollViewerModelSingular"
    tk:DockPanel.Dock="Left" 
    Style="{StaticResource ScrollViewerCodeBoxStyle}">
    <TextBox Text="{Binding SingularModelFileContent}"
         Style="{StaticResource TextBoxCodeBoxStyle}"/>
</ScrollViewer>

CodeBoxScrollViewerModelSingular.SetIsMouseWheelScrollingEnabled(true);  

However, someone tested it on a Mac and said:

The only problem I noticed on a quick test was that I couldn't scroll down by using a two-finger drag, which has been standard UI behavior on the Mac for several years now.

Is there any way to enable a "two-finger drag" on the Mac as you can enable mouse wheel scrolling?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about mac