menu

WinForms

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

    Show / Hide Table of Contents

    Class GridTableControlDragHeaderMouseController

    Defines a class that provides the mouse controller support for dragging column headers within the GridTableControl or dragging them to the GridGroupDropArea.

    Inheritance
    System.Object
    GroupDragHeaderMouseControllerBase
    GridTableControlDragHeaderMouseController
    Implements
    IMouseController
    IGridFocusHelper
    Inherited Members
    GroupDragHeaderMouseControllerBase.CheckMouseButtons(MouseEventArgs)
    GroupDragHeaderMouseControllerBase.ClickCellsController
    GroupDragHeaderMouseControllerBase.Cursor
    GroupDragHeaderMouseControllerBase.DragHeaderVisible
    GroupDragHeaderMouseControllerBase.GetAllowFixFocus()
    GroupDragHeaderMouseControllerBase.GetColumnDescriptorAtMousePosition()
    GroupDragHeaderMouseControllerBase.GetGridTableControl()
    GroupDragHeaderMouseControllerBase.GetRedArrowIndicatorLocation(Boolean, GridColumnDescriptor)
    GroupDragHeaderMouseControllerBase.GridGroupDropArea
    GroupDragHeaderMouseControllerBase.IsMouseOverGroupDropArea()
    GroupDragHeaderMouseControllerBase.MouseHover(MouseEventArgs)
    GroupDragHeaderMouseControllerBase.MouseHoverEnter()
    GroupDragHeaderMouseControllerBase.MouseHoverLeave(EventArgs)
    GroupDragHeaderMouseControllerBase.Name
    GroupDragHeaderMouseControllerBase.ResetClickCellsController()
    GroupDragHeaderMouseControllerBase.ShouldShowDragBitmap()
    GroupDragHeaderMouseControllerBase.ShouldShowRedArrowIndicator()
    GroupDragHeaderMouseControllerBase.ShouldShowRemoveCursor()
    GroupDragHeaderMouseControllerBase.Table
    GroupDragHeaderMouseControllerBase.TableDescriptor
    GroupDragHeaderMouseControllerBase.UpdateRedArrowIndicator()
    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.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public class GridTableControlDragHeaderMouseController : GroupDragHeaderMouseControllerBase, IMouseController, IGridFocusHelper

    Constructors

    GridTableControlDragHeaderMouseController(GridTableControl)

    Initializes a new instance of the GridTableControlDragHeaderMouseController class specified with the grid it operates on

    Declaration
    public GridTableControlDragHeaderMouseController(GridTableControl grid)
    Parameters
    Type Name Description
    GridTableControl grid

    The instance of the GridTableControl class associated with the mouse controller.

    Methods

    CancelMode()

    Overrides and performs the CancelMode operation when the current mouse operation is canceled.

    Declaration
    public override void CancelMode()
    Overrides
    GroupDragHeaderMouseControllerBase.CancelMode()

    HitTest(MouseEventArgs, IMouseController)

    Overrides and HitTest is called to determine whether your controller wants to handle the mouse events based current context.

    Declaration
    public override int HitTest(MouseEventArgs e, IMouseController controller)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    A System.Windows.Forms.MouseEventArgs contains the event data.

    IMouseController controller

    A IMouseController that has indicated to handle the mouse event.

    Returns
    Type Description
    System.Int32

    A non-zero value if the button can and wants to handle the mouse event; 0 if the mouse event is unrelated for this button.

    Overrides
    GroupDragHeaderMouseControllerBase.HitTest(MouseEventArgs, IMouseController)

    MouseDown(MouseEventArgs)

    Overrides and triggered when the System.Windows.Forms.Control.MouseDown is done and this controller signaled in HitTest that it wants to handle mouse events pressed by the user.

    Declaration
    public override void MouseDown(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    A System.Windows.Forms.MouseEventArgs contains the event data.

    Overrides
    GroupDragHeaderMouseControllerBase.MouseDown(MouseEventArgs)

    MouseMove(MouseEventArgs)

    Overrides and triggered when the System.Windows.Forms.Control.MouseMove event is done for the active controller after a MouseDown message when the user moves the mouse pointer.

    Declaration
    public override void MouseMove(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    A System.Windows.Forms.MouseEventArgs contains the event data.

    Overrides
    GroupDragHeaderMouseControllerBase.MouseMove(MouseEventArgs)

    MouseUp(MouseEventArgs)

    Overrides and triggered when the System.Windows.Forms.Control.MouseUp event is called for the active controller after a MouseDown message when the user releases the mouse button.

    Declaration
    public override void MouseUp(MouseEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.MouseEventArgs e

    A System.Windows.Forms.MouseEventArgs contains the event data.

    Overrides
    GroupDragHeaderMouseControllerBase.MouseUp(MouseEventArgs)

    Implements

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