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