skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class DragDropOptions

An object that holds information about the current drag/drop operation.

Inheritance
System.Object
DragDropOptions
Namespace: Telerik.Windows.Controls.DragDrop
Assembly: Telerik.Windows.Controls.dll

Syntax

public class DragDropOptions : Object
Remarks

Used for giving information about and customizing a drag/drop operation.

Constructors

DragDropOptions()

Declaration
public DragDropOptions()

Properties

ArrowCue

Gets or sets the arrow that will appear during dragging.

Declaration
public ContentControl ArrowCue { get; set; }
Property Value
System.Windows.Controls.ContentControl

Remarks

The SourceCue can only be changed during the DragQuery stage.

ArrowCueDisplayBehavior

Controls Arrow Cue host position in relation to the other windows.This option is only applied in WPF native mode.

Declaration
public VisualCueBehavior ArrowCueDisplayBehavior { get; set; }
Property Value
VisualCueBehavior

Remarks

This option is only applied in WPF native mode.

CurrentCursor

Gets or sets the current mouse cursor while performing drag operation.

Declaration
public Cursor CurrentCursor { get; set; }
Property Value
System.Windows.Input.Cursor

CurrentDragPoint

Gets the point where the mouse is relative to the root canvas.

Declaration
public Point CurrentDragPoint { get; }
Property Value
System.Windows.Point

Destination

Gets the element that has registered the AllowDrop.

Declaration
public FrameworkElement Destination { get; set; }
Property Value
System.Windows.FrameworkElement

DragCue

Gets or sets the element that will be dragged visually.

Declaration
public object DragCue { get; set; }
Property Value
System.Object

Remarks

The SourceCue can only be changed during the DragQuery stage.

DragCueDisplayBehavior

Controls Drag Cue host position in relation to the other windows.

Declaration
public VisualCueBehavior DragCueDisplayBehavior { get; set; }
Property Value
VisualCueBehavior

Remarks

This option is only applied in WPF native mode.

DropDataObject

Gets or sets the object that will be passed on native Drag Drop operations.

Declaration
public DataObject DropDataObject { get; set; }
Property Value
System.Windows.DataObject

Remarks

This option is only applied in WPF native mode.

Effects

Gets or sets the DragDrop effects during native Drag Drop operations.

Declaration
public Nullable<DragDropEffects> Effects { get; set; }
Property Value
System.Nullable<System.Windows.DragDropEffects>

Remarks

This option is only applied in WPF native mode.

MouseClickPoint

Gets the point where the mouse was first pressed relative to the root canvas.

Declaration
public Point MouseClickPoint { get; }
Property Value
System.Windows.Point

ParticipatingVisualRoots

Gets a collection with the visual roots what will participate in the drag/drop operation but are not descendants of the application root visual.

Declaration
public IList<UIElement> ParticipatingVisualRoots { get; }
Property Value
System.Collections.Generic.IList<System.Windows.UIElement>

Remarks

All popups that should participate in the drag/drop should be added in this collection.

Payload

Gets or sets the data object that is transferred in the drag/drop operation.

Declaration
public object Payload { get; set; }
Property Value
System.Object

Remarks

The Payload can only be set during the DragQuery stage of DragQuery.

RelativeDragPoint

Gets the point where the mouse is relative to the destination element.

Declaration
public Point RelativeDragPoint { get; }
Property Value
System.Windows.Point

Source

Gets the source that has registered with AllowDrag.

Declaration
public FrameworkElement Source { get; }
Property Value
System.Windows.FrameworkElement

Status

Gets the current status of the drag and drop operation.

Declaration
public DragStatus Status { get; }
Property Value
DragStatus

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.