views:

86

answers:

1

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?

A: 

Unfortunately the MouseWheel input is only supported on Windows, this is a limitation on the Mac and its input notification system I believe.

OS X presents the two-finger drag to the platform as a mouse wheel operation.

Jeff Wilcox