Version

StartDragSelection Method

Called by the gesture manager when a drag selection operation is about to begin.
Syntax
'Declaration
 
Function StartDragSelection( _
   ByVal containerElement As UIElement, _
   ByVal modifierKeys As Keys, _
   ByRef initialSelection As IEnumerable(Of ISelectableItem), _
   ByRef selectableItemType As Type _
) As Boolean

Parameters

containerElement
A reference to the UIElement which contains the items to be selected.
modifierKeys
A Keys value which describes the current state of the modifier keys.
initialSelection
[out] Upon return, contains an enumerable list of ISelectableItems which represent the control's selected items at the time the drag operation began. Typically an implementer returns an empty list unless the control key is pressed, in which case the control's current selection should be returned.
selectableItemType
[out] Upon return, contains the type of the items to be selected/deselected.

Return Value

A boolean value indicating whether the operation should continue.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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

See Also