Class
GanttViewDragDropService

Represents the class that handles the drag drop operations in RadGanttView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class GanttViewDragDropService : RadDragDropService, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IMessageListener

Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceGanttViewDragDropService

Implements: ICustomTypeDescriptorIDisposableIMessageListenerINotifyPropertyChanged

Inherited Members RadDragDropService.messageFilterAddedRadDragDropService.xOutlineFormOffsetRadDragDropService.yOutlineFormOffsetRadDragDropService.beginPointRadDragDropService.DisposeManagedResources()RadDragDropService.HandleLeftButtonUp()RadDragDropService.HandleEscKeyDown()RadDragDropService.OnPreviewDragHint(PreviewDragHintEventArgs)RadDragDropService.IsDropTargetValid(ISupportDrop)RadDragDropService.RestoreOriginalMouseCursor()RadDragDropService.SetHintWindowPosition(Point)RadDragDropService.ShouldBeginDrag(Point, Point)RadDragDropService.CanStart(object)RadDragDropService.OnPreviewDragStart(PreviewDragStartEventArgs)RadDragDropService.PerformStart()RadDragDropService.Commit()RadDragDropService.GetDropTarget(Point, out Point)RadDragDropService.OnPreviewDropTarget(PreviewDropTargetEventArgs)RadDragDropService.PerformStop()RadDragDropService.BeginDrag(Point, ISupportDrag)RadDragDropService.EndDrag(Point, RadControl)RadDragDropService.EndDrag()RadDragDropService.DoMouseMove(Point)RadDragDropService.CanCommitRadDragDropService.ValidCursorRadDragDropService.InitializedRadDragDropService.InvalidCursorRadDragDropService.UseDefaultPreviewRadDragDropService.DropTargetRadDragDropService.DropLocationRadDragDropService.HintWindowRadDragDropService.PreviewDragDropRadDragDropService.PreviewDragOverRadDragDropService.PreviewDropTargetRadDragDropService.PreviewDragStartRadDragDropService.PreviewDragHintRadService.CanOperate()RadService.Start(object)RadService.Stop(bool)RadService.Pause()RadService.Resume()RadService.OnStarted()RadService.IsContextValid(object)RadService.Abort()RadService.PerformResume()RadService.PerformPause()RadService.SetContext(object)RadService.OnEnabledChanged()RadService.ContextRadService.AvailableAtDesignTimeRadService.StateRadService.NameRadService.EnabledRadService.StartingRadService.StartedRadService.StoppingRadService.StoppedRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.GetValue(RadProperty)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.SetValueCore(RadPropertyValue, object, object, ValueSource)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.CanRaisePropertyChangeNotifications(RadPropertyValue)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.AddStylePropertySetting(IPropertySetting)RadObject.GetInheritedValue(RadProperty)RadObject.OnPropertyChanging(RadPropertyChangingEventArgs)RadObject.OnPropertyChanged(RadPropertyChangedEventArgs)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.IsPropertyCancelable(RadPropertyMetadata)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

GanttViewDragDropService(RadGanttViewElement)

Initializes a new instance of the GanttViewDragDropService class.

Declaration

cs-api-definition
public GanttViewDragDropService(RadGanttViewElement owner)

Parameters

owner

RadGanttViewElement

The owner.

Properties

Location

Location from where Drag is started

Declaration

cs-api-definition
public Point Location { get; set; }

Property Value

Point

Owner

Gets or sets the owner.

Declaration

cs-api-definition
public RadGanttViewElement Owner { get; set; }

Property Value

RadGanttViewElement

The owner.

Methods

HandleMouseMove(Point)

Handles the mouse move.

Declaration

cs-api-definition
protected override void HandleMouseMove(Point mousePos)

Parameters

mousePos

Point

The mouse pos.

Overrides RadDragDropService.HandleMouseMove(Point)

OnPreviewDragDrop(RadDropEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnPreviewDragDrop(RadDropEventArgs e)

Parameters

e

RadDropEventArgs

The RadDropEventArgs instance containing the event data.

Overrides RadDragDropService.OnPreviewDragDrop(RadDropEventArgs)

OnPreviewDragOver(RadDragOverEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnPreviewDragOver(RadDragOverEventArgs e)

Parameters

e

RadDragOverEventArgs

The RadDragOverEventArgs instance containing the event data.

Overrides RadDragDropService.OnPreviewDragOver(RadDragOverEventArgs)

OnStarting(RadServiceStartingEventArgs)

Notifies that a start request has occured. Cancelable.

Declaration

cs-api-definition
protected override void OnStarting(RadServiceStartingEventArgs e)

Parameters

e

RadServiceStartingEventArgs

Overrides RadService.OnStarting(RadServiceStartingEventArgs)

OnStopped()

Notifies that a running operation has stopped. Allows inheritors to perform some additional logic upon stop.

Declaration

cs-api-definition
protected override void OnStopped()

Overrides RadService.OnStopped()

OnStopping(RadServiceStoppingEventArgs)

Notifies that a stop request has occured. Cancelable.

Declaration

cs-api-definition
protected override void OnStopping(RadServiceStoppingEventArgs e)

Parameters

e

RadServiceStoppingEventArgs

Overrides RadService.OnStopping(RadServiceStoppingEventArgs)

PrepareContext()

Prepares the context for the drag drop operation.

Declaration

cs-api-definition
protected override bool PrepareContext()

Returns

bool

Overrides RadDragDropService.PrepareContext()