Class GanttViewDragDropService
Represents the class that handles the drag drop operations in RadGanttView.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class GanttViewDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener
Constructors
GanttViewDragDropService(RadGanttViewElement)
Initializes a new instance of the GanttViewDragDropService class.
Declaration
public GanttViewDragDropService(RadGanttViewElement owner)
Parameters
RadGanttViewElement
owner
The owner. |
Properties
Location
Location from where Drag is started
Declaration
public Point Location { get; set; }
Property Value
System.Drawing.Point
|
Owner
Gets or sets the owner.
Declaration
public RadGanttViewElement Owner { get; set; }
Property Value
RadGanttViewElement
The owner. |
Methods
HandleMouseMove(Point)
Handles the mouse move.
Declaration
protected override void HandleMouseMove(Point mousePos)
Parameters
System.Drawing.Point
mousePos
The mouse pos. |
Overrides
OnPreviewDragDrop(RadDropEventArgs)
Raises the PreviewDragDrop event.
Declaration
protected override void OnPreviewDragDrop(RadDropEventArgs e)
Parameters
RadDropEventArgs
e
The RadDropEventArgs instance containing the event data. |
Overrides
OnPreviewDragOver(RadDragOverEventArgs)
Raises the PreviewDragOver event.
Declaration
protected override void OnPreviewDragOver(RadDragOverEventArgs e)
Parameters
RadDragOverEventArgs
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
RadServiceStartingEventArgs
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
RadServiceStoppingEventArgs
e
|
Overrides
PrepareContext()
Prepares the context for the drag drop operation.
Declaration
protected override bool PrepareContext()
Returns
System.Boolean
|