Class
TileDragDropService

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectDisposableObjectRadObjectRadServiceRadDragDropServiceTileDragDropService

Implements: ICustomTypeDescriptorIDisposableIMessageListenerINotifyPropertyChanged

Inherited Members RadDragDropService.messageFilterAddedRadDragDropService.xOutlineFormOffsetRadDragDropService.yOutlineFormOffsetRadDragDropService.beginPointRadDragDropService.DisposeManagedResources()RadDragDropService.HandleLeftButtonUp()RadDragDropService.HandleEscKeyDown()RadDragDropService.OnPreviewDragHint(PreviewDragHintEventArgs)RadDragDropService.OnPreviewDragOver(RadDragOverEventArgs)RadDragDropService.RestoreOriginalMouseCursor()RadDragDropService.SetHintWindowPosition(Point)RadDragDropService.ShouldBeginDrag(Point, Point)RadDragDropService.OnPreviewDragStart(PreviewDragStartEventArgs)RadDragDropService.PerformStart()RadDragDropService.Commit()RadDragDropService.OnPreviewDropTarget(PreviewDropTargetEventArgs)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

TileDragDropService(RadPanoramaElement)

Declaration

cs-api-definition
public TileDragDropService(RadPanoramaElement owner)

Parameters

owner

RadPanoramaElement

Properties

AutoScrollOffset

Gets or sets the offset from the edges of the control at which automatic scrolling starts.

Declaration

cs-api-definition
public int AutoScrollOffset { get; set; }

Property Value

int

Methods

CanPlaceElementAtPosition(int, int, int, int)

Declaration

cs-api-definition
protected virtual bool CanPlaceElementAtPosition(int rowIndex, int columnIndex, int colSpan, int rowSpan)

Parameters

rowIndex

int

columnIndex

int

colSpan

int

rowSpan

int

Returns

bool

CanStart(object)

Determines whether the service may be started. Validation is as follows:

  1. Check whether Enabled is true.
  2. Check the context through IsContextValid method. An exception is thrown if context is invalid.
  3. Checks the current state - it should be Initial or Stopped.

Declaration

cs-api-definition
protected override bool CanStart(object context)

Parameters

context

object

Returns

bool

Overrides RadDragDropService.CanStart(object)

GetCellAtPoint(TileGroupElement, Point)

Declaration

cs-api-definition
protected virtual Point GetCellAtPoint(TileGroupElement group, Point location)

Parameters

group

TileGroupElement

location

Point

Returns

Point

GetCellCoordinates(TileGroupElement, int, int)

Declaration

cs-api-definition
protected PointF GetCellCoordinates(TileGroupElement group, int rowIndex, int columnIndex)

Parameters

group

TileGroupElement

rowIndex

int

columnIndex

int

Returns

PointF

GetCellCoordinates(int, int)

Declaration

cs-api-definition
protected PointF GetCellCoordinates(int rowIndex, int columnIndex)

Parameters

rowIndex

int

columnIndex

int

Returns

PointF

GetDropTarget(Point, out Point)

Declaration

cs-api-definition
protected override ISupportDrop GetDropTarget(Point mousePosition, out Point resultDropLocation)

Parameters

mousePosition

Point

resultDropLocation

Point

Returns

ISupportDrop

Overrides RadDragDropService.GetDropTarget(Point, out Point)

GetTargetCell(RadTileElement, Point)

Declaration

cs-api-definition
protected virtual Point GetTargetCell(RadTileElement source, Point location)

Parameters

source

RadTileElement

location

Point

Returns

Point

GetTargetCell(TileGroupElement, Point)

Declaration

cs-api-definition
protected virtual Point GetTargetCell(TileGroupElement group, Point dropLocation)

Parameters

group

TileGroupElement

dropLocation

Point

Returns

Point

GetTargetGroup(RectangleF)

Declaration

cs-api-definition
protected virtual TileGroupElement GetTargetGroup(RectangleF tileRectangle)

Parameters

tileRectangle

RectangleF

Returns

TileGroupElement

HandleGroupedDragDrop(RadDropEventArgs)

Declaration

cs-api-definition
protected virtual void HandleGroupedDragDrop(RadDropEventArgs e)

Parameters

e

RadDropEventArgs

HandleMouseMove(Point)

Declaration

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

Parameters

mousePos

Point

Overrides RadDragDropService.HandleMouseMove(Point)

HandleUngroupedDragDrop(RadDropEventArgs)

Declaration

cs-api-definition
protected virtual void HandleUngroupedDragDrop(RadDropEventArgs e)

Parameters

e

RadDropEventArgs

IsDropTargetValid(ISupportDrop)

Declaration

cs-api-definition
protected override bool IsDropTargetValid(ISupportDrop dropTarget)

Parameters

dropTarget

ISupportDrop

Returns

bool

Overrides RadDragDropService.IsDropTargetValid(ISupportDrop)

OffsetHoveredTile(Point)

Declaration

cs-api-definition
protected bool OffsetHoveredTile(Point clientPoint)

Parameters

clientPoint

Point

Returns

bool

OnPreviewDragDrop(RadDropEventArgs)

Declaration

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

Parameters

e

RadDropEventArgs

Overrides RadDragDropService.OnPreviewDragDrop(RadDropEventArgs)

OnScrollTimerTick()

Declaration

cs-api-definition
protected virtual void OnScrollTimerTick()

PerformStop()

Stops the service. Performs the core logic.

Declaration

cs-api-definition
protected override void PerformStop()

Overrides RadDragDropService.PerformStop()

PrepareContext()

Declaration

cs-api-definition
protected override bool PrepareContext()

Returns

bool

Overrides RadDragDropService.PrepareContext()