Version

InitiateDrag Method (TabDragManager)

Invoked during the StartDrag when a drag should be initiated.
Syntax
'Declaration
 
Protected Overridable Function InitiateDrag( _
   ByVal tabOffset As Point, _
   ByVal tabToDrag As ITabItem, _
   ByVal tabElement As UIElement _
) As Boolean
protected virtual bool InitiateDrag( 
   Point tabOffset,
   ITabItem tabToDrag,
   UIElement tabElement
)

Parameters

tabOffset
Amount of offset between the mouse location when pressed down on the tab and the upper left of the tab element
tabToDrag
Tab item to drag
tabElement
Element associated with the tab. This element should not be stored and may be reused.

Return Value

True if the drag operation was started
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