Interface IDragAware
Represents an interface that defines methods and properties for drag-aware window behaviors.
Namespace: Telerik.Windows.Controls.InternalWindow
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
public interface IDragAware
Methods
OnDragDelta(Point, Rect, Rect, Boolean)
Called to handle the drag delta event, allowing the implementation to respond to changes in the dragging state.
Declaration
Rect OnDragDelta(Point globalMousePosition, Rect initialRect, Rect destinationRect, bool isResize)
Parameters
System.Windows.Point
globalMousePosition
|
System.Windows.Rect
initialRect
|
System.Windows.Rect
destinationRect
|
System.Boolean
isResize
|
Returns
System.Windows.Rect
|
OnDragEnd(Point, Boolean, Boolean)
Called when a drag operation ends. This method allows for cleanup or finalization of the drag process within the drag-aware component.
Declaration
void OnDragEnd(Point globalMousePosition, bool isCancel, bool isResize)
Parameters
System.Windows.Point
globalMousePosition
|
System.Boolean
isCancel
|
System.Boolean
isResize
|
OnDragStart(Point, Boolean)
Initiates the drag operation for the window.
Declaration
void OnDragStart(Point globalMousePosition, bool isResize)
Parameters
System.Windows.Point
globalMousePosition
|
System.Boolean
isResize
|