WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IGridFocusHelper - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface IGridFocusHelper

    Provides the GetAllowFixFocus() method which is called for the active IMouseController from within the grids System.Windows.Forms.Control.OnMouseDown(System.Windows.Forms.MouseEventArgs) handler to determine if the grid should set focus to the active current cells System.Windows.Forms.Control.

    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public interface IGridFocusHelper

    Methods

    GetAllowFixFocus()

    Implement this method in your IMouseController and return False if it would interfere with your controller's state when the current cell is focused and possibly scrolled into view.

    Declaration
    bool GetAllowFixFocus()
    Returns
    Type Description
    System.Boolean

    A System.Boolean that indicates if the grid is allowed to set the focus onto the current cells System.Windows.Forms.Control.

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