skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

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

    Mobile

    UI for .NET MAUI UI for Xamarin

    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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 and Security
    • 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 TaskBoardColumnDragDropHelper

Represents drag and drop helper for the TaskBoardColumnContainer control.

Inheritance
System.Object
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>
TaskBoardColumnDragDropHelper
Inherited Members
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.GetItemsOfType(IEnumerable, Type)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.GetInferredItemType(IEnumerable)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.GetDraggedItems(FrameworkElement)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.GetItemsSource(FrameworkElement)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.GetContainerFromItem(FrameworkElement, Object)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.CreateDragVisualProviderState(Point, FrameworkElement, DragDropState)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.FindDragSource(FrameworkElement)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.FindDraggedItem(FrameworkElement)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.FindDropItemsControl(FrameworkElement, Object)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.FindDropTarget(FrameworkElement)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.GetItemType(FrameworkElement)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.DragDropCompleted(FrameworkElement, Object, Type, Boolean)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.DragOver(FrameworkElement, FrameworkElement, Object, Type)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.DragLeave(FrameworkElement, FrameworkElement, Object, Type)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.Drop(FrameworkElement, FrameworkElement, Object, Type)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.CreateStateForDrop(FrameworkElement, FrameworkElement, Object, Type)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.GetItemsFromDataObject(Object, Type)
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.DataConverter
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.DragDropBehavior
DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>.DragVisualProvider
Namespace: Telerik.Windows.Controls.TaskBoard
Assembly: Telerik.Windows.Controls.dll

Syntax

public class TaskBoardColumnDragDropHelper : DragDropHelper<TaskBoardColumnDragDropBehavior, DragDropState>

Constructors

TaskBoardColumnDragDropHelper()

Initializes a new instance of the TaskBoardColumnDragDropHelper class.

Declaration
public TaskBoardColumnDragDropHelper()

Methods

CreateStateForDrop(FrameworkElement, FrameworkElement, Object, Type)

Creates and initializes a DragDropState from the provided DragEventArgs.

Declaration
protected override DragDropState CreateStateForDrop(FrameworkElement dropTarget, FrameworkElement dropItemsControl, object data, Type itemType)
Parameters
System.Windows.FrameworkElement dropTarget

System.Windows.FrameworkElement dropItemsControl

System.Object data

System.Type itemType

Returns
DragDropState

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.CreateStateForDrop(System.Windows.FrameworkElement, System.Windows.FrameworkElement, System.Object, System.Type)

DragDropCompleted(FrameworkElement, Object, Type, Boolean)

When overridden in a derived class allows calling custom code on the DragDropCompleted event.

Declaration
protected override void DragDropCompleted(FrameworkElement dropItemsControl, object data, Type itemType, bool wasCanceled)
Parameters
System.Windows.FrameworkElement dropItemsControl

System.Object data

System.Type itemType

System.Boolean wasCanceled

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.DragDropCompleted(System.Windows.FrameworkElement, System.Object, System.Type, System.Boolean)

DragLeave(FrameworkElement, FrameworkElement, Object, Type)

Hides the drop visual on mouse leave.

Declaration
protected override void DragLeave(FrameworkElement dropTarget, FrameworkElement dropItemsControl, object data, Type itemType)
Parameters
System.Windows.FrameworkElement dropTarget

The object that is being dropped.

System.Windows.FrameworkElement dropItemsControl

The destination ItemsControl.

System.Object data

The drag and drop data.

System.Type itemType

The data type of the dragged item.

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.DragLeave(System.Windows.FrameworkElement, System.Windows.FrameworkElement, System.Object, System.Type)

DragOver(FrameworkElement, FrameworkElement, Object, Type)

When overridden in a derived class allows calling custom code on the DragOver event.

Declaration
protected override DragDropEffects DragOver(FrameworkElement dropTarget, FrameworkElement dropItemsControl, object data, Type itemType)
Parameters
System.Windows.FrameworkElement dropTarget

System.Windows.FrameworkElement dropItemsControl

System.Object data

System.Type itemType

Returns
System.Windows.DragDropEffects

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.DragOver(System.Windows.FrameworkElement, System.Windows.FrameworkElement, System.Object, System.Type)

Drop(FrameworkElement, FrameworkElement, Object, Type)

Drops the specified drop target.

Declaration
protected override void Drop(FrameworkElement dropTarget, FrameworkElement dropItemsControl, object data, Type itemType)
Parameters
System.Windows.FrameworkElement dropTarget

System.Windows.FrameworkElement dropItemsControl

System.Object data

System.Type itemType

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.Drop(System.Windows.FrameworkElement, System.Windows.FrameworkElement, System.Object, System.Type)

FindDraggedItem(FrameworkElement)

Finds the TaskBoardItem that contains the provided element.

Declaration
protected override FrameworkElement FindDraggedItem(FrameworkElement element)
Parameters
System.Windows.FrameworkElement element

The element that raised the DragInitialize event.

Returns
System.Windows.FrameworkElement

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.FindDraggedItem(System.Windows.FrameworkElement)

FindDragSource(FrameworkElement)

Finds the ColumnContainer that contains the provided element.

Declaration
protected override FrameworkElement FindDragSource(FrameworkElement element)
Parameters
System.Windows.FrameworkElement element

The element that raised the DragInitialize event.

Returns
System.Windows.FrameworkElement

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.FindDragSource(System.Windows.FrameworkElement)

FindDropItemsControl(FrameworkElement, Object)

Finds the ColumnContainer that should accept the dragged items.

Declaration
protected override FrameworkElement FindDropItemsControl(FrameworkElement element, object data)
Parameters
System.Windows.FrameworkElement element

The element that raised the Drop event.

System.Object data

The DataObject for the current drag operation.

Returns
System.Windows.FrameworkElement

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.FindDropItemsControl(System.Windows.FrameworkElement, System.Object)

FindDropTarget(FrameworkElement)

Finds a TaskBoardItem from the target control that contains the provided element.

Declaration
protected override FrameworkElement FindDropTarget(FrameworkElement element)
Parameters
System.Windows.FrameworkElement element

The element that raised the Drop event.

Returns
System.Windows.FrameworkElement

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.FindDropTarget(System.Windows.FrameworkElement)

GetDraggedItems(FrameworkElement)

Returns the SelectedItems list of the TaskBoard that contains the dragged item and adds the dragged item to the list if it is not already present there.

Declaration
protected override IEnumerable<object> GetDraggedItems(FrameworkElement draggedItem)
Parameters
System.Windows.FrameworkElement draggedItem

The source control of the drag operation.

Returns
System.Collections.Generic.IEnumerable<System.Object>

The items that should be dragged.

Overrides
Telerik.Windows.DragDrop.Behaviors.DragDropHelper<Telerik.Windows.Controls.TaskBoard.TaskBoardColumnDragDropBehavior, Telerik.Windows.DragDrop.Behaviors.DragDropState>.GetDraggedItems(System.Windows.FrameworkElement)

SetDropVisualPlaceholder(ContentPresenter)

Initialize the DragVisualPlaceholder used in the DragAndDrop operations.

Declaration
public void SetDropVisualPlaceholder(ContentPresenter dropVisualPlaceholder)
Parameters
System.Windows.Controls.ContentPresenter dropVisualPlaceholder

SetDropVisualProvider(TaskBoardLinearDropVisualProvider)

Initialize the DropVisualProvider used in the DragAndDrop operations.

Declaration
public void SetDropVisualProvider(TaskBoardLinearDropVisualProvider dropVisualProvider)
Parameters
TaskBoardLinearDropVisualProvider dropVisualProvider

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.