WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DragDropHelper

    Show / Hide Table of Contents

    Class DragDropHelper

    Class Represents the DragDrop helper for the TDI layout panel

    Inheritance
    System.Object
    DragDropHelper
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class DragDropHelper : DependencyObject

    Fields

    DragDropTemplateProperty

    Represents the property for the bool DragDropTemplateProperty DependencyProperty

    Declaration
    public static readonly DependencyProperty DragDropTemplateProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsDragSourceProperty

    Represents the property for the bool IsDragSourceProperty DependencyProperty

    Declaration
    public static readonly DependencyProperty IsDragSourceProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    IsDropTargetProperty

    Represents the property for the bool IsDropTargetProperty DependencyProperty

    Declaration
    public static readonly DependencyProperty IsDropTargetProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    m_Source

    Represents the source of Document Tab Control

    Declaration
    public static DocumentTabControl m_Source
    Field Value
    Type Description
    DocumentTabControl

    m_Target

    Represents the Target of Document Tab Control

    Declaration
    public static DocumentTabControl m_Target
    Field Value
    Type Description
    DocumentTabControl

    ShowDragAdornerProperty

    Represents the ShowDragAdorner Dependency property

    Declaration
    public static readonly DependencyProperty ShowDragAdornerProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    Properties

    DraggedItem

    Gets the dragged item.

    Declaration
    public TabItemExt DraggedItem { get; }
    Property Value
    Type Description
    TabItemExt

    The dragged item.

    IsDragging

    Gets a value indicating whether this instance is dragging.

    Declaration
    public bool IsDragging { get; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is dragging; otherwise, false.

    Methods

    GetDragDropTemplate(DependencyObject)

    Gets the drag drop template.

    Declaration
    public static DataTemplate GetDragDropTemplate(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj DependencyObject.

    Returns
    Type Description
    System.Windows.DataTemplate

    DataTemplate DragDropTemplateProperty

    GetInstance()

    Gets the instance.

    Declaration
    public static DragDropHelper GetInstance()
    Returns
    Type Description
    DragDropHelper

    DragDrop Helper

    GetIsDragSource(DependencyObject)

    Gets the is drag source.

    Declaration
    public static bool GetIsDragSource(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj DependencyObject.

    Returns
    Type Description
    System.Boolean

    bool IsDragSourceProperty

    GetIsDropTarget(DependencyObject)

    Gets the is drop target.

    Declaration
    public static bool GetIsDropTarget(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj DependencyObject.

    Returns
    Type Description
    System.Boolean

    bool IsDropTargetProperty

    GetShowDragAdorner(DependencyObject)

    Gets the value of the ShowDragAdorner dependency property.

    Declaration
    public static bool GetShowDragAdorner(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj DependencyObject.

    Returns
    Type Description
    System.Boolean

    bool ShowDragAdornerProperty

    SetDragDropTemplate(DependencyObject, DataTemplate)

    Sets the drag drop template.

    Declaration
    public static void SetDragDropTemplate(DependencyObject obj, DataTemplate value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj DependencyObject.

    System.Windows.DataTemplate value

    The value DependencyObject.

    SetIsDragSource(DependencyObject, Boolean)

    Sets the is drag source.

    Declaration
    public static void SetIsDragSource(DependencyObject obj, bool value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj DependencyObject.

    System.Boolean value

    if set to true [value].

    SetIsDropTarget(DependencyObject, Boolean)

    Sets the is drop target.

    Declaration
    public static void SetIsDropTarget(DependencyObject obj, bool value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj DependencyObject.

    System.Boolean value

    if set to true [value].

    SetShowDragAdorner(DependencyObject, Boolean)

    Sets the value of the ShowDragAdorner dependency property.

    Declaration
    public static void SetShowDragAdorner(DependencyObject obj, bool value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj DependencyObject.

    System.Boolean value

    if set to true [value].

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved