ClassDragEventArgs
Contains arguments relevant to all drag-and-drop events (, , , and ).
Definition
Namespace:Telerik.Windows.DragDrop
Assembly:Telerik.Windows.Controls.dll
Syntax:
public sealed class DragEventArgs : RadRoutedEventArgs
Inheritance: objectRadRoutedEventArgsDragEventArgs
Properties
AllowedEffects
Gets a member of the System.Windows.DragDropEffects enumeration that specifies which operations are allowed by the originator of the drag event.
Declaration
public DragDropEffects AllowedEffects { get; }
Property Value
DragDropEffects
Data
Gets or sets the data that will be used for drag-and-drop operation.(Setting the data will override everything that has already been set).
Declaration
[SuppressMessage("Microsoft.Naming", "CA1721:PropertyNamesShouldNotMatchGetMethods", Justification = "Introducing breaking change. Need to mark it for deprecation first.")]
public object Data { get; }
Property Value
Effects
Gets or sets the target drop-and-drop operation.
Declaration
public DragDropEffects Effects { get; set; }
Property Value
DragDropEffects
Methods
GetPosition(IInputElement)
Returns a drop point that is relative to a specified System.Windows.UIElement.
Declaration
public Point GetPosition(IInputElement relativeTo)
Parameters
relativeTo
IInputElement
A UIElement object for which to get a relative drop point.
Returns
Point
A drop point that is relative to the element specified in relativeTo.
InvokeEventHandler(Delegate, object)
When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation.