alexa
menu

WinForms

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

    Show / Hide Table of Contents

    Class GridResizeCellsBehavior

    Defines behavior for resizing rows or columns.

    Inheritance
    System.Object
    GridResizeCellsBehavior
    Namespace: Syncfusion.Windows.Forms.Grid
    Assembly: Syncfusion.Grid.Windows.dll
    Syntax
    public sealed class GridResizeCellsBehavior : Enum
    Remarks

    You can customize the mouse controller's behavior at run-time while the user is performing the action by subscribing to the ResizingColumns and ResizingRows events.

    Fields

    AllowDragOutside

    Allow the user to drag the mouse outside the grid client area and resize the specific row or column.

    Declaration
    public const GridResizeCellsBehavior AllowDragOutside
    Field Value
    Type
    GridResizeCellsBehavior

    IgnoreHeaders

    Do not allow the user to resize rows or columns by grabbing the divider between row or column headers. Use this option only when combined with InsideGrid.

    Declaration
    public const GridResizeCellsBehavior IgnoreHeaders
    Field Value
    Type
    GridResizeCellsBehavior

    InsideGrid

    Allow the user to resize rows or columns from anywhere inside the grid by grabbing the divider between row or column headers.

    Declaration
    public const GridResizeCellsBehavior InsideGrid
    Field Value
    Type
    GridResizeCellsBehavior

    None

    Turn off resizing rows and columns with mouse.

    Declaration
    public const GridResizeCellsBehavior None
    Field Value
    Type
    GridResizeCellsBehavior

    OutlineBounds

    Emphasize original cell bounds of tracked row / column.

    Declaration
    public const GridResizeCellsBehavior OutlineBounds
    Field Value
    Type
    GridResizeCellsBehavior

    OutlineHeaders

    Show a header pressed when the user resizes the associated row or column.

    Declaration
    public const GridResizeCellsBehavior OutlineHeaders
    Field Value
    Type
    GridResizeCellsBehavior

    ResizeAll

    Resize all rows or columns when the user resizes one row or column with the mouse.

    Declaration
    public const GridResizeCellsBehavior ResizeAll
    Field Value
    Type
    GridResizeCellsBehavior

    ResizeSingle

    Resize a single row or column (or the selected range) when the user resizes one row or column with the mouse.

    Declaration
    public const GridResizeCellsBehavior ResizeSingle
    Field Value
    Type
    GridResizeCellsBehavior
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved