Class
RadGridViewDragDropService

Represents a service that manages drag and drop actions in RadGridView

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

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

Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceRadGridViewDragDropService

Implements: ICustomTypeDescriptorIDisposableIMessageListenerINotifyPropertyChanged

Inherited Members RadDragDropService.messageFilterAddedRadDragDropService.xOutlineFormOffsetRadDragDropService.yOutlineFormOffsetRadDragDropService.beginPointRadDragDropService.DisposeManagedResources()RadDragDropService.HandleLeftButtonUp()RadDragDropService.HandleEscKeyDown()RadDragDropService.PrepareContext()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.OnPreviewDragDrop(RadDropEventArgs)RadDragDropService.GetDropTarget(Point, out Point)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.OnStarting(RadServiceStartingEventArgs)RadService.OnStopped()RadService.OnStopping(RadServiceStoppingEventArgs)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

RadGridViewDragDropService(RadGridViewElement)

Initializes a new instance of the RadGridViewDragDropService class.

Declaration

cs-api-definition
public RadGridViewDragDropService(RadGridViewElement gridViewElement)

Parameters

gridViewElement

RadGridViewElement

The grid view element.

Properties

AllowAutoScrollColumnsWhileDragging

Gets or sets the allow auto scroll columns while dragging.

Declaration

cs-api-definition
public bool AllowAutoScrollColumnsWhileDragging { get; set; }

Property Value

bool

The allow auto scroll columns while dragging.

AllowAutoScrollRowsWhileDragging

Gets or sets the allow auto scroll rows while dragging.

Declaration

cs-api-definition
public bool AllowAutoScrollRowsWhileDragging { get; set; }

Property Value

bool

The allow auto scroll rows while dragging.

Behavior

Gets the behavior.

Declaration

cs-api-definition
public IGridDragDropBehavior Behavior { get; }

Property Value

IGridDragDropBehavior

The behavior.

GridViewElement

Gets the grid view element.

Declaration

cs-api-definition
public RadGridViewElement GridViewElement { get; }

Property Value

RadGridViewElement

The grid view element.

Methods

DisposeDragHint()

Disposes the drag hint.

Declaration

cs-api-definition
protected virtual void DisposeDragHint()

GetDragDropBehavior()

Gets the drag drop behavior.

Declaration

cs-api-definition
protected virtual IGridDragDropBehavior GetDragDropBehavior()

Returns

IGridDragDropBehavior

GetTableElementAtPoint(Point)

Gets the table element at point.

Declaration

cs-api-definition
protected GridTableElement GetTableElementAtPoint(Point point)

Parameters

point

Point

The point.

Returns

GridTableElement

HandleMouseMove(Point)

Handles the mouse move.

Declaration

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

Parameters

mousePosition

Point

The mouse position.

Overrides RadDragDropService.HandleMouseMove(Point)

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)

OnPreviewDropTarget(PreviewDropTargetEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnPreviewDropTarget(PreviewDropTargetEventArgs e)

Parameters

e

PreviewDropTargetEventArgs

The PreviewDropTargetEventArgs instance containing the event data.

Overrides RadDragDropService.OnPreviewDropTarget(PreviewDropTargetEventArgs)

PerformStop()

Performs the stop.

Declaration

cs-api-definition
protected override void PerformStop()

Overrides RadDragDropService.PerformStop()

PrepareDragHint(ISupportDrop)

Prepares the drag hint.

Declaration

cs-api-definition
protected virtual void PrepareDragHint(ISupportDrop dropTarget)

Parameters

dropTarget

ISupportDrop

The drop target.

SetDragDropBehavior()

Sets the drag drop behavior.

Declaration

cs-api-definition
protected virtual void SetDragDropBehavior()

UpdateDragHintLocation(Point)

Updates the drag hint location.

Declaration

cs-api-definition
protected virtual void UpdateDragHintLocation(Point mousePosition)

Parameters

mousePosition

Point

The mouse position.