ComponentOne Basic Library for WPF and Silverlight
SetTouchBehavior Method (ScrollViewerTouchBehavior)


C1.Silverlight Namespace > ScrollViewerTouchBehavior Class : SetTouchBehavior Method
The scroll viewer that will be able to be scrolled with the finger.
The touch behavior instance.
Sets a touch behavior to a ScrollViewer.
Syntax
'Declaration
 
Public Shared Sub SetTouchBehavior( _
   ByVal scrollViewer As System.Windows.Controls.ScrollViewer, _
   ByVal value As ScrollViewerTouchBehavior _
) 
'Usage
 
Dim scrollViewer As System.Windows.Controls.ScrollViewer
Dim value As ScrollViewerTouchBehavior
 
ScrollViewerTouchBehavior.SetTouchBehavior(scrollViewer, value)
public static void SetTouchBehavior( 
   System.Windows.Controls.ScrollViewer scrollViewer,
   ScrollViewerTouchBehavior value
)

Parameters

scrollViewer
The scroll viewer that will be able to be scrolled with the finger.
value
The touch behavior instance.
See Also

Reference

ScrollViewerTouchBehavior Class
ScrollViewerTouchBehavior Members