WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridTableSelectCellsMouseController - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridTableSelectCellsMouseController

    Implements the cell selection behavior of a grid control.

    Inheritance
    System.Object
    NonFinalizeDisposable
    GridSubComponent
    GridMouseController
    GridSelectCellsMouseController
    GridTableSelectCellsMouseController
    Implements
    System.IDisposable
    IMouseController
    IGridFocusHelper
    Inherited Members
    GridSelectCellsMouseController.ToString()
    GridSelectCellsMouseController.GetAllowFixFocus()
    GridSelectCellsMouseController.Dispose(Boolean)
    GridSelectCellsMouseController.MouseHoverEnter()
    GridSelectCellsMouseController.MouseHover(MouseEventArgs)
    GridSelectCellsMouseController.MouseHoverLeave(EventArgs)
    GridSelectCellsMouseController.MouseDown(MouseEventArgs)
    GridSelectCellsMouseController.MouseMove(MouseEventArgs)
    GridSelectCellsMouseController.MouseUp(MouseEventArgs)
    GridSelectCellsMouseController.CancelMode()
    GridSelectCellsMouseController.MultiExtendedShouldMoveCurrentCell
    GridSelectCellsMouseController.Name
    GridSelectCellsMouseController.Cursor
    GridSubComponent.Grid
    NonFinalizeDisposable.Dispose()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Grid.Grouping
    Assembly: Syncfusion.Grid.Grouping.Windows.dll
    Syntax
    public class GridTableSelectCellsMouseController : GridSelectCellsMouseController, IDisposable, IMouseController, IGridFocusHelper

    Constructors

    GridTableSelectCellsMouseController(GridTableControl)

    Initializes a new instance of the GridTableSelectCellsMouseController class with the specified instance of the GridTableControl class.

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

    An instance of the GridTableControl class.

    Methods

    GridCurrentCellExternalMove(GridDirectionType, Int32, Boolean)

    Overrides and determines whether the current grid cell can move externally or not.

    Declaration
    protected override bool GridCurrentCellExternalMove(GridDirectionType direction, int num, bool extendSelection)
    Parameters
    Type Name Description
    GridDirectionType direction

    The direction to be moved.

    System.Int32 num

    The no. of cells to be moved.

    System.Boolean extendSelection

    If True the selection is extended. Otherwise False.

    Returns
    Type Description
    System.Boolean
    Overrides
    GridSelectCellsMouseController.GridCurrentCellExternalMove(GridDirectionType, Int32, Boolean)

    HitTest(MouseEventArgs, IMouseController)

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

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

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

    IMouseController controller

    An instance of the IMouseController interface for mouse controllers to be used with MouseControllerDispatcher.

    Returns
    Type Description
    System.Int32

    returns HitTest value

    Overrides
    GridSelectCellsMouseController.HitTest(MouseEventArgs, IMouseController)

    ProcessSetCurrentCell(Int32, Int32, GridSetCurrentCellOptions)

    Overrides and process the ProcessSetCurrentCell(Int32, Int32, GridSetCurrentCellOptions) method.

    Declaration
    protected override void ProcessSetCurrentCell(int rowIndex, int colIndex, GridSetCurrentCellOptions flags)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The row index of the current cell.

    System.Int32 colIndex

    The column index of the current cell.

    GridSetCurrentCellOptions flags

    The enum value for specifying the setting the current cell.

    Overrides
    GridSelectCellsMouseController.ProcessSetCurrentCell(Int32, Int32, GridSetCurrentCellOptions)

    Implements

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