Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class ListViewDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener
Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceListViewDragDropService...
Implements:
Inherited Members
Constructors
Properties
C#
public ListViewDataItem DraggedItem { get; }
C#
public List<ListViewDataItem> DraggedItems { get; }
C#
public RadListViewElement Owner { get; }
Methods
Determines whether the service may be started. Validation is as follows:
- Check whether Enabled is true.
- Check the context through IsContextValid method. An exception is thrown if context is invalid.
- Checks the current state - it should be Initial or Stopped.
C#
protected virtual void DisposeDragHint()
C#
protected virtual Size GetDragHintSize(ISupportDrop dropTarget)
C#
protected virtual void HandleDropBetweenListViews(RadDropEventArgs e)
C#
protected override bool IsDropTargetValid(ISupportDrop dropTarget)
Overrides:
C#
protected override void OnPreviewDragDrop(RadDropEventArgs e)
Overrides:
C#
protected override void OnPreviewDragOver(RadDragOverEventArgs e)
Overrides:
Performs the core Start logic.
C#
protected override void PerformStart()
Overrides:
Stops the service. Performs the core logic.
C#
protected override void PerformStop()
Overrides:
C#
protected virtual void PrepareDragHint()