WinUI | ComponentOne
C1.WinUI.Core Assembly / C1.WinUI.Core Namespace / C1DragPreviewEventArgs Class
Properties Methods


In This Topic
    C1DragPreviewEventArgs Class Members
    In This Topic

    The following tables list the members exposed by C1DragPreviewEventArgs.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether the recognition of this gesture is canceled.  
    Public PropertyGets 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.  
    Public PropertyGets or sets a value that marks the routed event as handled. Setting to true prevents most handlers along the event route from handling the same event again. (Inherited from C1.WinUI.Core.C1InputEventArgs)
    Public PropertyGets or sets the number of pixels the gesture will have to pass in order to start.  
    Public PropertyGets whether command key is pressed. (Inherited from C1.WinUI.Core.C1InputEventArgs)
    Public PropertyGets whether ctrl key is pressed. (Inherited from C1.WinUI.Core.C1InputEventArgs)
    Public PropertyGets whether shift key is pressed. (Inherited from C1.WinUI.Core.C1InputEventArgs)
    Public PropertyGets or sets the mode indicating the sort of drag to be listened.  
    Public PropertyGets the position of original touch point.  
    Public PropertyGets the arguments of the original event which raised this event. (Inherited from C1.WinUI.Core.C1InputEventArgs)
    Public PropertyGets a reference to the object that raised the event. (Inherited from C1.WinUI.Core.C1InputEventArgs)
    Public PropertyGets the type of pointer which performed the action. (Inherited from C1.WinUI.Core.C1InputEventArgs)
    Public PropertyGets or sets a value indicating whether drag will be initiated by a hold operation.  
    Top
    Public Methods
     NameDescription
    Public MethodGets the position of the pointer performing the drag gesture relatively to the specified element. (Inherited from C1.WinUI.Core.C1InputEventArgs)
    Public MethodReturns the first visual element which is hit by this event. (Inherited from C1.WinUI.Core.C1InputEventArgs)
    Top
    See Also