ClassGanttViewDragDropService
Represents the class that handles the drag drop operations in RadGanttView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener
Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceGanttViewDragDropService
Implements:
Inherited Members
Constructors
GanttViewDragDropService(RadGanttViewElement)
Initializes a new instance of the GanttViewDragDropService class.
Declaration
public GanttViewDragDropService(RadGanttViewElement owner)
Parameters
owner
The owner.
Properties
Location
Location from where Drag is started
Owner
Gets or sets the owner.
Declaration
public RadGanttViewElement Owner { get; set; }
Property Value
The owner.
Methods
HandleMouseMove(Point)
Handles the mouse move.
Declaration
protected override void HandleMouseMove(Point mousePos)
Parameters
mousePos
The mouse pos.
Overrides
OnPreviewDragDrop(RadDropEventArgs)
Raises the event.
Declaration
protected override void OnPreviewDragDrop(RadDropEventArgs e)
Parameters
e
The RadDropEventArgs instance containing the event data.
Overrides
OnPreviewDragOver(RadDragOverEventArgs)
Raises the event.
Declaration
protected override void OnPreviewDragOver(RadDragOverEventArgs e)
Parameters
e
The RadDragOverEventArgs instance containing the event data.
Overrides
OnStarting(RadServiceStartingEventArgs)
Notifies that a start request has occured. Cancelable.
Declaration
protected override void OnStarting(RadServiceStartingEventArgs e)
Parameters
e
Overrides
OnStopped()
Notifies that a running operation has stopped. Allows inheritors to perform some additional logic upon stop.
Declaration
protected override void OnStopped()
Overrides
OnStopping(RadServiceStoppingEventArgs)
Notifies that a stop request has occured. Cancelable.
Declaration
protected override void OnStopping(RadServiceStoppingEventArgs e)
Parameters
e
Overrides
PrepareContext()
Prepares the context for the drag drop operation.