ClassListControlDragDropService
Class
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
cs-api-definition
public class ListControlDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener
Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceListControlDragDropService
Implements:
Inherited Members
Constructors
ListControlDragDropService(RadListElement)
Declaration
cs-api-definition
public ListControlDragDropService(RadListElement owner)
Parameters
owner
Methods
CanStart(object)
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.
DisposeHint()
Declaration
cs-api-definition
protected virtual void DisposeHint()
HandleMouseMove(Point)
Declaration
cs-api-definition
protected override void HandleMouseMove(Point mousePosition)
Parameters
mousePosition
Overrides
OnPreviewDragDrop(RadDropEventArgs)
Declaration
cs-api-definition
protected override void OnPreviewDragDrop(RadDropEventArgs e)
Parameters
e
Overrides
OnPreviewDragDropCore(RadListElement, RadListVisualItem)
Declaration
cs-api-definition
protected virtual void OnPreviewDragDropCore(RadListElement targetList, RadListVisualItem targetElement)
Parameters
targetList
targetElement
OnPreviewDragHint(PreviewDragHintEventArgs)
Declaration
cs-api-definition
protected override void OnPreviewDragHint(PreviewDragHintEventArgs e)
Parameters
e
Overrides
OnPreviewDragOver(RadDragOverEventArgs)
Declaration
cs-api-definition
protected override void OnPreviewDragOver(RadDragOverEventArgs e)
Parameters
e
Overrides
PerformStart()
Performs the core Start logic.
Declaration
cs-api-definition
protected override void PerformStart()
Overrides
PerformStop()
Stops the service. Performs the core logic.
Declaration
cs-api-definition
protected override void PerformStop()
Overrides
PrepareDragHint(RadListElement)
Declaration
cs-api-definition
protected virtual void PrepareDragHint(RadListElement listElement)
Parameters
listElement
UpdateHintPosition(Point)
Declaration
cs-api-definition
protected virtual void UpdateHintPosition(Point mousePosition)
Parameters
mousePosition