Click or drag to resize
RadDragDropService Class
Represents a service that manages drag and drop actions.
Inheritance Hierarchy
SystemObject
  Telerik.WinControlsDisposableObject
    Telerik.WinControlsRadObject
      Telerik.WinControlsRadService
        Telerik.WinControlsRadDragDropService
          More...

Namespace: Telerik.WinControls
Assembly: Telerik.WinControls (in Telerik.WinControls.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
public class RadDragDropService : RadService, 
	IMessageListener

The RadDragDropService type exposes the following members.

Constructors
  NameDescription
Public methodRadDragDropService
Initializes a new instance of the DragDropService class.
Top
Properties
  NameDescription
Public propertyAvailableAtDesignTime
Determines whether the service is available at design-time. False by default.
(Inherited from RadService.)
Public propertyBindingContext
Gets or sets the BindingContext for the object.
(Inherited from RadObject.)
Protected propertyBitState
Gets the RadBitVector64 structure that holds all the bit states of the object.
(Inherited from DisposableObject.)
Protected propertyCanCommit
Determines whether a drop operation will be committed (a valid drop target is found).
Public propertyContext
Gets the context associated with the current operation. This member is valid only while the Service is started or paused.
(Inherited from RadService.)
Public propertyDropLocation
Gets the current drop location in the context of the current target.
Public propertyDropTarget
Gets current drop target, where the mouse cursor points.
Public propertyEnabled
Determines whether the Service is enabled (may be started). If the Service is working and its is disabled, it will end its current operation.
(Inherited from RadService.)
Protected propertyEvents
Provides a simple list of delegates.
(Inherited from DisposableObject.)
Protected propertyHintWindow
Gets the Hint window.
Protected propertyInitialized
Public propertyInvalidCursor
Gets or sets the cursor to be used when a valid drop target is hit-tested.
Public propertyIsDesignMode
Determines whether the element is in design mode.
(Inherited from RadObject.)
Public propertyIsDisposed
Determines whether the object is already disposed.
(Inherited from DisposableObject.)
Public propertyIsDisposing
Determines whether the object is in a process of being disposed of.
(Inherited from DisposableObject.)
Public propertyName
Gets the name of the service.
(Inherited from RadService.)
Public propertyPropertyFilter
Gets or sets a Filter instance, used to filter the ICustomPropertyDescriptor.GetProperties collection.
(Inherited from RadObject.)
Public propertyPropertyValues
Gets a collection containing property values.
(Inherited from RadObject.)
Public propertyRadObjectType
Gets the RadObjectType which is associated with this system type.
(Inherited from RadObject.)
Public propertyState
Gets the current state of the service.
(Inherited from RadService.)
Public propertyUseDefaultPreview
Determines whether a default preview is generated for a ISupportDrag instance if its GetPreview method returns null.
Public propertyValidCursor
Gets or sets the cursor to be used when a valid drop target is hit-tested.
Top
Methods
  NameDescription
Protected methodAbort
Aborts the current operation without applying any changes.
(Inherited from RadService.)
Protected methodAddStylePropertySetting
Registers a style setting for this instance.
(Inherited from RadObject.)
Public methodBeginDrag
Begins a drag pass. Allows for service automation.
Public methodBindProperty
Binds the specified property to a property of the provided binding source object.
(Inherited from RadObject.)
Public methodCanOperate
Determines whether the service is operational and may perform actions.
(Inherited from RadService.)
Protected methodCanRaisePropertyChangeNotifications
Determines whether the object can raise PropertyChanging and PropertyChanged notifications. Current implementation checks whether the object is disposing or is already disposed of.
(Inherited from RadObject.)
Protected methodCanStart (Overrides RadServiceCanStart(Object).)
Protected methodClearPropertyStore
Removes all references to external property modifiers such as property bindings, style settings and animations.
(Inherited from RadObject.)
Protected methodCoerceValue
Allows inheritors to force a coersion of the current calculated value for the given property.
(Inherited from RadObject.)
Protected methodCommit (Overrides RadServiceCommit.)
Public methodDispose
Releases all resources associated with this object.
(Inherited from DisposableObject.)
Protected methodDispose(Boolean)
Performs the actual Dispose logic.
(Inherited from DisposableObject.)
Protected methodDisposeManagedResources (Overrides RadObjectDisposeManagedResources.)
Protected methodDisposeUnmanagedResources
Releases any UNMANAGED resources used by this object. NOTE: If you declare some unmanaged resources in your class, you should override its finalizer and put disposing logic there also.
(Inherited from DisposableObject.)
Public methodDoMouseMove
Mocks a mouse move to a specific point. Allows for service automation.
Public methodEndDrag
Ends a drag pass. Allows for service automation.
Public methodEndDrag(Point, RadControl)
Ends a drag pass. Allows for service automation.
Protected methodGetBitState
Gets the current bit state for the object, defined by the provided key.
(Inherited from DisposableObject.)
Protected methodGetDefaultValue
Allows inheritors to provide custom default value.
(Inherited from RadObject.)
Protected methodGetDropTarget
Protected methodGetInheritedValue
Searches up in the chain of InheritanceParents for a value for the specified property.
(Inherited from RadObject.)
Public methodGetPropertyValue
Gets the RadPropertyValue structure that holds information about the specified property's effective value for this instance. May be null if no effective value is recorded.
(Inherited from RadObject.)
Public methodGetRegisteredRadProperty
Gets the registered property with the specified name.
(Inherited from RadObject.)
Public methodGetValue
Retrieves the current value for the specified property.
(Inherited from RadObject.)
Public methodGetValueSource
Gets the source of the current value for the specified property.
(Inherited from RadObject.)
Protected methodHandleMouseMove
Protected methodIsContextValid
Evaluates the provided context. Some services may not operate without certain context provided.
(Inherited from RadService.)
Protected methodIsDropTargetValid
Protected methodIsPropertyCancelable
Determines whether the specified property may be canceled.
(Inherited from RadObject.)
Protected methodOnBitStateChanged
Notifies the object for a change in its bit state.
(Inherited from DisposableObject.)
Protected methodOnEnabledChanged
Notifies for a change in the Enabled state.
(Inherited from RadService.)
Protected methodOnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the standard .NET PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnNotifyPropertyChanged(String)
Raises the PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnPreviewDragDrop
Protected methodOnPreviewDragHint
Protected methodOnPreviewDragOver
Protected methodOnPreviewDragStart
Protected methodOnPreviewDropTarget
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
(Inherited from RadObject.)
Protected methodOnPropertyChanging
Raises the RadPropertyChanging event.
(Inherited from RadObject.)
Protected methodOnStarted
Notifies that the service has been successfully started. Allows inheritors to perform some additional logic upon start.
(Inherited from RadService.)
Protected methodOnStarting
Notifies that a start request has occured. Cancelable.
(Inherited from RadService.)
Protected methodOnStopped
Notifies that a running operation has stopped. Allows inheritors to perform some additional logic upon stop.
(Inherited from RadService.)
Protected methodOnStopping
Notifies that a stop request has occured. Cancelable.
(Inherited from RadService.)
Public methodPause
Pauses a currently running operation.
(Inherited from RadService.)
Protected methodPerformDispose
Performs the core resources release logic.
(Inherited from DisposableObject.)
Protected methodPerformPause
Performs the core Pause logic.
(Inherited from RadService.)
Protected methodPerformResume
Performs the core Resume logic.
(Inherited from RadService.)
Protected methodPerformStart (Overrides RadServicePerformStart.)
Protected methodPerformStop (Overrides RadServicePerformStop.)
Protected methodPrepareContext
Public methodRemoveStylePropertySetting(IPropertySetting)
Called when element style condition changes. This method is used internally.
(Inherited from RadObject.)
Public methodRemoveStylePropertySetting(RadProperty)
Called when element style condition changes. This method is used internally.
(Inherited from RadObject.)
Public methodResetValue(RadProperty)
Resets the current value of the specified property. This method will remove any effective value modifier (such as style or animation setting) for the specified property.
(Inherited from RadObject.)
Public methodResetValue(RadProperty, ValueResetFlags)
Resets the current value of the specified property using the provided flags.
(Inherited from RadObject.)
Protected methodResetValueCore
Resets the specified property value, using the provided reset flags.
(Inherited from RadObject.)
Public methodResume
Resumes previously paused operation.
(Inherited from RadService.)
Public methodResumePropertyNotifications
Resumes property notifications after a previous SuspendPropertyNotifications call.
(Inherited from RadObject.)
Protected methodSetBitState
Applies the specified boolean value to the BitVector of the object.
(Inherited from DisposableObject.)
Protected methodSetContext
Sets the provided object as the current context.
(Inherited from RadService.)
Public methodSetDefaultValueOverride
Applies the provided value as an override of the Default value provided by the specified property's metadata.
(Inherited from RadObject.)
Protected methodSetHintWindowPosition
Public methodSetValue
Applies the provided value as Local for the specified property.
(Inherited from RadObject.)
Public methodSetValueAtDesignTime
Applies the specified value as Local for the desired property and raises the flag IsLocalValueSetAtDesignTime for that property. All design-time direct property modifications (e.g. item.Text = "Item1") should be done through this method for the property to be properly serialized. If a property is modified through a property grid, the custom property descriptor will automatically apply this logic. This method is used internally.
(Inherited from RadObject.)
Protected methodSetValueCore
Performs the core logic of updating property value.
(Inherited from RadObject.)
Public methodStatic memberShouldBeginDrag
Public methodShouldSerializeProperty
Determines whether the property defined by the provided property descriptor should be serialized.
(Inherited from RadObject.)
Public methodStart
Starts the Service. If the service was previously paused, it should be re-started with the Resume method.
(Inherited from RadService.)
Public methodStop
Stops currently working or previously stopped service.
(Inherited from RadService.)
Public methodSuspendPropertyNotifications
Allows PropertyChanging and PropertyChanged notifications to be temporary suspended.
(Inherited from RadObject.)
Public methodUnbindProperty
Removes the binding for the specified property.
(Inherited from RadObject.)
Public methodUpdateValue
Forces re-evaluation of the current value for the specified property.
(Inherited from RadObject.)
Protected methodUpdateValueCore
Performs the core value update logic.
(Inherited from RadObject.)
Top
Events
  NameDescription
Public eventDisposed (Inherited from DisposableObject.)
Public eventDisposing (Inherited from DisposableObject.)
Public eventPreviewDragDrop
Public eventPreviewDragHint
Public eventPreviewDragOver
Public eventPreviewDragStart
Public eventPreviewDropTarget
Public eventPropertyChanged
Occurs when a property of an object changes. Note: if a property which is not a RadProperty changes, the developer is responsible for firing this event by using the INotifyPropertyChanged API.
(Inherited from RadObject.)
Public eventRadPropertyChanged
Occurs when a property of a RadObject changes.
(Inherited from RadObject.)
Public eventRadPropertyChanging
Occurs prior to property of a RadObject changes.
(Inherited from RadObject.)
Public eventStarted
Raised right after the service is started.
(Inherited from RadService.)
Public eventStarting
Raised when the service is about to be started.
(Inherited from RadService.)
Public eventStopped
Raised when the service is stopped.
(Inherited from RadService.)
Public eventStopping
Raised when the service is about to be stopped.
(Inherited from RadService.)
Top
Fields
Extension Methods
  NameDescription
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodCheckAccessOverloaded. (Defined by DispatcherExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodIsLocalValueSet
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Top
See Also
Inheritance Hierarchy
SystemObject
  Telerik.WinControlsDisposableObject
    Telerik.WinControlsRadObject
      Telerik.WinControlsRadService
        Telerik.WinControlsRadDragDropService
          Telerik.WinControls.UIAppointmentDraggingBehavior
          Telerik.WinControls.UIDetailListViewDragDropService
          Telerik.WinControls.UIGanttViewDragDropService
          Telerik.WinControls.UILayoutControlDragDropService
          Telerik.WinControls.UIListControlDragDropService
          Telerik.WinControls.UIListViewDragDropService
          Telerik.WinControls.UIPivotFieldListDragDropService
          Telerik.WinControls.UIPivotGridDragDropService
          Telerik.WinControls.UIRadGridViewDragDropService
          Telerik.WinControls.UIRadPageViewDragDropService
          Telerik.WinControls.UITileDragDropService
          Telerik.WinControls.UITreeViewDragDropService