C1.WPF 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 UIElement, _ Optional ByVal mode As C1DragHelperMode, _ Optional ByVal initialThreshold As Double, _ Optional ByVal captureElementOnPointerPressed As Boolean, _ Optional ByVal handledEventsToo As Boolean, _ Optional ByVal useManipulationEvents As Boolean, _ Optional ByVal useRightButton As Boolean _ )
'Usage
Dim element As UIElement Dim mode As C1DragHelperMode Dim initialThreshold As Double Dim captureElementOnPointerPressed As Boolean Dim handledEventsToo As Boolean Dim useManipulationEvents As Boolean Dim useRightButton As Boolean Dim instance As New C1DragHelper(element, mode, initialThreshold, captureElementOnPointerPressed, handledEventsToo, useManipulationEvents, useRightButton)
public C1DragHelper( UIElement element, C1DragHelperMode mode, double initialThreshold, bool captureElementOnPointerPressed, bool handledEventsToo, bool useManipulationEvents, bool useRightButton )
public: C1DragHelper( UIElement^ element, C1DragHelperMode mode, double initialThreshold, bool captureElementOnPointerPressed, bool handledEventsToo, bool useManipulationEvents, 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