Handles page-item drag operations, including immediate reordering and preview insertion hints.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadPageViewDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener
Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceRadPageViewDragDropService...
Derived Classes:
Implements:
Inherited Members
Constructors
Creates a drag service for the specified page-view element.
public RadPageViewDragDropService(RadPageViewElement owner)
The element whose items are dragged and reordered.
Methods
Determines whether a page item can be a drop target, applying NavigationView permission and nesting checks. An allowed child drop expands a collapsed target that already has subpages.
protected virtual bool CanDragOver(RadPageViewItem pageViewItem)
The prospective drop target.
Returns:Reorders items immediately in immediate mode; otherwise updates the preview insertion hint when present.
protected override void HandleMouseMove(Point mousePos)
The current pointer location in screen coordinates.
Overrides:
Applies page-item drop validation before completing the base drag-over processing.
protected override void OnPreviewDragOver(RadDragOverEventArgs e)
The drag-over event data, including the hit target.
Overrides:
Captures the dragged item and prepares an insertion hint when preview mode is enabled.
protected override void PerformStart()
Overrides:
Ends the page-item drag and releases the insertion-hint resources.
protected override void PerformStop()
Overrides:
Prepares the base drag context and adjusts the outline offset for NavigationView items.
protected override bool PrepareContext()
The result returned by the base drag-context preparation.
Overrides: