Class DragBehavior
Inheritance
System.Object
DragBehavior
Namespace: Telerik.Windows.Controls.InternalWindow
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public class DragBehavior : Object
Properties
IsDragging
Declaration
public bool IsDragging { get; }
Property Value
System.Boolean
|
Methods
BeginDrag(UIElement, IDragAware, Point, Rect, Action<Rect>, Boolean)
Declaration
public static DragBehavior BeginDrag(UIElement element, IDragAware aware, Point globalMousePosition, Rect initialRect, Action<Rect> positionUpdatedCallback, bool forceCapture)
Parameters
System.Windows.UIElement
element
|
IDragAware
aware
|
System.Windows.Point
globalMousePosition
|
System.Windows.Rect
initialRect
|
System.Action<System.Windows.Rect>
positionUpdatedCallback
|
System.Boolean
forceCapture
|
Returns
DragBehavior
|
BeginDrag(WindowBase, Point, Boolean)
Declaration
public static DragBehavior BeginDrag(WindowBase window, Point globalMousePosition, bool forceCapture)
Parameters
WindowBase
window
|
System.Windows.Point
globalMousePosition
|
System.Boolean
forceCapture
|
Returns
DragBehavior
|
FinishDrag(Point, Boolean)
Declaration
public void FinishDrag(Point globalMousePosition, bool isCancel)
Parameters
System.Windows.Point
globalMousePosition
|
System.Boolean
isCancel
|