C1.WPF Namespace > C1DragHelper Class : DragStarting Event |
'Declaration
Public Event DragStarting As System.EventHandler(Of C1DragStartingEventArgs)
'Usage
Dim instance As C1DragHelper Dim handler As System.EventHandler(Of C1DragStartingEventArgs) AddHandler instance.DragStarting, handler
public event System.EventHandler<C1DragStartingEventArgs> DragStarting
The event handler receives an argument of type C1DragStartingEventArgs containing data related to this event. The following C1DragStartingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the recognizion 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 WinRT) or in the first pointer move event (MouseMove in SL and WPF and PointerMoved in WinRT).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. |
DragHelper | Gets a reference to the C1DragHelper that originated the event. (Inherited from C1.WPF.C1DragEventArgs) |
Handled | Gets 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.WPF.C1InputEventArgs) |
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. |
OriginalEventArgs | Gets the arguments of the original event which raised this event. (Inherited from C1.WPF.C1InputEventArgs) |
OriginalSource | Gets a reference to the object that raised the event. (Inherited from C1.WPF.C1InputEventArgs) |
PointerDeviceType | Gets the type of pointer which performed the action. (Inherited from C1.WPF.C1InputEventArgs) |
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