menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomizationDndHelper - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CustomizationDndHelper

    Inheritance
    System.Object
    CustomizationDndHelper
    Implements
    System.IDisposable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools.XPMenus
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class CustomizationDndHelper : IDisposable

    Constructors

    CustomizationDndHelper(IDndTrackingControl)

    Declaration
    public CustomizationDndHelper(IDndTrackingControl control)
    Parameters
    Type Name Description
    IDndTrackingControl control

    Properties

    AllowRecord

    Declaration
    public bool AllowRecord { get; set; }
    Property Value
    Type
    System.Boolean

    CueRect

    Declaration
    protected Rectangle CueRect { get; set; }
    Property Value
    Type
    System.Drawing.Rectangle

    Dragging

    Declaration
    public bool Dragging { get; set; }
    Property Value
    Type
    System.Boolean

    ParentItem

    Declaration
    public IBarItemContainer ParentItem { get; set; }
    Property Value
    Type
    IBarItemContainer

    Methods

    CanDropItem(BarItem, DragEventArgs)

    Declaration
    protected virtual bool CanDropItem(BarItem item, DragEventArgs e)
    Parameters
    Type Name Description
    BarItem item
    System.Windows.Forms.DragEventArgs e
    Returns
    Type
    System.Boolean

    Dispose()

    Declaration
    public void Dispose()

    Finalize()

    Declaration
    protected void Finalize()

    GetUpdatedHitItem(ref BarItem, ref Boolean)

    Declaration
    protected virtual void GetUpdatedHitItem(ref BarItem hitItem, ref bool beforeOrAfter)
    Parameters
    Type Name Description
    BarItem hitItem
    System.Boolean beforeOrAfter

    InsertItem(BarItem, BarItem, Boolean)

    Declaration
    public virtual void InsertItem(BarItem hitItem, BarItem droppedItem, bool beforeOrAfter)
    Parameters
    Type Name Description
    BarItem hitItem
    BarItem droppedItem
    System.Boolean beforeOrAfter

    InsertItem(BarItem, BarItem, Boolean, Boolean)

    Declaration
    public virtual void InsertItem(BarItem hitItem, BarItem droppedItem, bool beforeOrAfter, bool record)
    Parameters
    Type Name Description
    BarItem hitItem
    BarItem droppedItem
    System.Boolean beforeOrAfter
    System.Boolean record

    InsertNewItem(NewMenuItem, DragEventArgs)

    Declaration
    public virtual void InsertNewItem(NewMenuItem newMenuItem, DragEventArgs e)
    Parameters
    Type Name Description
    NewMenuItem newMenuItem
    System.Windows.Forms.DragEventArgs e

    OnDragDrop(DragEventArgs)

    Declaration
    public void OnDragDrop(DragEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs e

    OnDragOver(DragEventArgs)

    Declaration
    public void OnDragOver(DragEventArgs drgevent)
    Parameters
    Type Name Description
    System.Windows.Forms.DragEventArgs drgevent

    PaintCueCursor(Graphics)

    Declaration
    public void PaintCueCursor(Graphics g)
    Parameters
    Type Name Description
    System.Drawing.Graphics g

    RemoveItem(BarItem)

    Declaration
    public virtual void RemoveItem(BarItem itemToRemove)
    Parameters
    Type Name Description
    BarItem itemToRemove

    RemoveItem(BarItem, Boolean)

    Declaration
    public virtual void RemoveItem(BarItem itemToRemove, bool record)
    Parameters
    Type Name Description
    BarItem itemToRemove
    System.Boolean record

    Reset()

    Declaration
    public void Reset()

    ResetItem(BarItem, Boolean)

    Declaration
    public void ResetItem(BarItem itemToReset, bool messageboxshow)
    Parameters
    Type Name Description
    BarItem itemToReset
    System.Boolean messageboxshow

    UpdateInsertionCue(DragDropEffects, BarItem, Boolean)

    Declaration
    protected void UpdateInsertionCue(DragDropEffects effect, BarItem barItem, bool beforeOrAfter)
    Parameters
    Type Name Description
    System.Windows.Forms.DragDropEffects effect
    BarItem barItem
    System.Boolean beforeOrAfter

    Implements

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