ComponentOne Basic Library for WPF and Silverlight
CaptureElementOnPointerPressed Property (C1DragStartingEventArgs)


C1.WPF Namespace > C1DragStartingEventArgs Class : CaptureElementOnPointerPressed Property
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.
Syntax
'Declaration
 
Public Property CaptureElementOnPointerPressed As System.Boolean
'Usage
 
Dim instance As C1DragStartingEventArgs
Dim value As System.Boolean
 
instance.CaptureElementOnPointerPressed = value
 
value = instance.CaptureElementOnPointerPressed
public System.bool CaptureElementOnPointerPressed {get; set;}
Remarks
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.
See Also

Reference

C1DragStartingEventArgs Class
C1DragStartingEventArgs Members