ComponentOne FinancialChart for WPF
C1.WPF Namespace / ScrollViewerTouchBehavior Class / SetTouchBehavior Method
The scroll viewer that will be able to be scrolled with the finger.
The touch behavior instance.



In This Topic
    SetTouchBehavior Method
    In This Topic
    Sets a touch behavior to a ScrollViewer.
    Syntax
    'Declaration
     
    
    Public Shared Sub SetTouchBehavior( _
       ByVal scrollViewer As ScrollViewer, _
       ByVal value As ScrollViewerTouchBehavior _
    ) 
    'Usage
     
    
    Dim scrollViewer As ScrollViewer
    Dim value As ScrollViewerTouchBehavior
     
    ScrollViewerTouchBehavior.SetTouchBehavior(scrollViewer, value)
    public static void SetTouchBehavior( 
       ScrollViewer scrollViewer,
       ScrollViewerTouchBehavior value
    )
    public:
    static void SetTouchBehavior( 
       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