[]
        
(Showing Draft Content)

C1.WinUI.Core.C1DragPreviewEventArgs

C1DragPreviewEventArgs Class

Contains information of the DragStarting event.

Inheritance
C1DragPreviewEventArgs
Namespace: C1.WinUI.Core
Assembly: C1.WinUI.Core.dll
Syntax
public class C1DragPreviewEventArgs : C1DragEventArgs

Properties

Name Description
Cancel

Gets or sets a value indicating whether the recognition of this gesture is canceled.

CaptureElementOnPointerPressed

Gets or sets a value indicating whether the element will be captured in pointer pressed event (MouseLeftButtonDown in SL and WPF and PointerPressed in WINUI) or in the first pointer move event (MouseMove in SL and WPF and PointerMoved in WINUI).Capturing the element on mouse down will cause Click, DoubleClick and MouseLeftButtonUp events not to be fired in sub-elements (nested elements in the visual tree), whereas capturing the element on the first mouse move can make it difficult for final users to drag small elements quickly.

InitialThreshold

Gets or sets the number of pixels the gesture will have to pass in order to start.

Mode

Gets or sets the mode indicating the sort of drag to be listened.

Origin

Gets the position of original touch point.

StartByHolding

Gets or sets a value indicating whether drag will be initiated by a hold operation.