alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class GridRowResizingController

    Provides the base implementation for row resizing operations in SfDataGrid.

    Inheritance
    System.Object
    GridRowResizingController
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class GridRowResizingController : Object, IDisposable
    Remarks

    The GridRowResizingController handles mouse-based row resizing by dragging the bottom edge of supported rows. It mirrors the column resizing pattern of GridColumnResizingController on the Y axis and supports hiding rows (resizing to zero height) and restoring hidden rows through the resize indicator when AllowResizingHiddenRows is enabled.

    Constructors

    GridRowResizingController()

    Initializes a new instance of the GridRowResizingController class.

    Declaration
    public GridRowResizingController()

    Properties

    ResizingCursor

    Gets or sets the cursor that is displayed when the row is being resized using mouse pointer in SfDataGrid.

    Declaration
    public Cursor ResizingCursor { get; set; }
    Property Value
    Type Description
    System.Windows.Input.Cursor

    A System.Windows.Input.Cursor that represents the cursor to display when the row is resized.

    UnhideCursor

    Gets or sets the cursor that is displayed when a hidden row is being restored using mouse pointer in SfDataGrid.

    Declaration
    public Cursor UnhideCursor { get; set; }
    Property Value
    Type Description
    System.Windows.Input.Cursor

    A System.Windows.Input.Cursor that represents the cursor to display when a hidden row is restored.

    Methods

    Dispose()

    Releases all resources used by the GridRowResizingController.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Releases the unmanaged resources used by the GridRowResizingController and optionally releases the managed resources.

    Declaration
    protected virtual void Dispose(bool isDisposing)
    Parameters
    Type Name Description
    System.Boolean isDisposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    DoActionOnMouseLeftButtonDown(Point, VirtualizingCellsControl)

    Performs the mouse left-button-down action on a row. Sets the Syncfusion.UI.Xaml.Grid.GridRowResizingController.dragLine and raises the ResizeStarting event.

    Declaration
    protected virtual void DoActionOnMouseLeftButtonDown(Point pp, VirtualizingCellsControl rowElement)
    Parameters
    Type Name Description
    System.Windows.Point pp

    The pointer position in VisualContainer coordinates.

    VirtualizingCellsControl rowElement

    The row element receiving the mouse event.

    DoActionOnMouseMove(Point, VirtualizingCellsControl)

    Performs the mouse move action on a row during a row resize drag, or updates the resize cursor when hovering over a row bottom edge.

    Declaration
    protected virtual void DoActionOnMouseMove(Point pp, VirtualizingCellsControl rowElement)
    Parameters
    Type Name Description
    System.Windows.Point pp

    The current pointer position in VisualContainer coordinates.

    VirtualizingCellsControl rowElement

    The row element receiving the mouse event.

    DoActionOnMouseUp(MouseButtonEventArgs, VirtualizingCellsControl)

    Performs the mouse up action on a row, committing the final row height and raising the Resized event.

    Declaration
    protected virtual void DoActionOnMouseUp(MouseButtonEventArgs e, VirtualizingCellsControl rowElement)
    Parameters
    Type Name Description
    System.Windows.Input.MouseButtonEventArgs e

    The mouse button event arguments.

    VirtualizingCellsControl rowElement

    The row element receiving the mouse event.

    Implements

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