C1.Silverlight Namespace > C1DragHelper Class : C1DragHelper Constructor |
true
it will listen to mouse right button down/up events instead of left button events(In WinRT it only applies if useManipulationEvents is set to false).
'Declaration
Public Function New( _ ByVal element As System.Windows.UIElement, _ Optional ByVal mode As C1DragHelperMode, _ Optional ByVal initialThreshold As System.Double, _ Optional ByVal captureElementOnPointerPressed As System.Boolean, _ Optional ByVal handledEventsToo As System.Boolean, _ Optional ByVal useManipulationEvents As System.Boolean, _ Optional ByVal useRightButton As System.Boolean _ )
'Usage
Dim element As System.Windows.UIElement Dim mode As C1DragHelperMode Dim initialThreshold As System.Double Dim captureElementOnPointerPressed As System.Boolean Dim handledEventsToo As System.Boolean Dim useManipulationEvents As System.Boolean Dim useRightButton As System.Boolean Dim instance As New C1DragHelper(element, mode, initialThreshold, captureElementOnPointerPressed, handledEventsToo, useManipulationEvents, useRightButton)
public C1DragHelper( System.Windows.UIElement element, C1DragHelperMode mode, System.double initialThreshold, System.bool captureElementOnPointerPressed, System.bool handledEventsToo, System.bool useManipulationEvents, System.bool useRightButton )
true
it will listen to mouse right button down/up events instead of left button events(In WinRT it only applies if useManipulationEvents is set to false).Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2