alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class RowResizingEventArgs

    Provides data for RowResizing event.

    Inheritance
    System.Object
    GridCancelEventArgs
    RowResizingEventArgs
    Inherited Members
    GridCancelEventArgs.OriginalSender
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class RowResizingEventArgs : GridCancelEventArgs

    Constructors

    RowResizingEventArgs(Object)

    Initializes a new instance of the RowResizingEventArgs class.

    Declaration
    public RowResizingEventArgs(object originalSource)
    Parameters
    Type Name Description
    System.Object originalSource

    The source of the event.

    Properties

    Height

    Gets or sets the height of the row being resized.

    Declaration
    public double Height { get; set; }
    Property Value
    Type Description
    System.Double

    The height of the row being resized. A value of 0 hides the row.

    Reason

    Gets the reason for row resizing operation.

    Declaration
    public RowResizingReason Reason { get; }
    Property Value
    Type Description
    RowResizingReason

    Returns the RowResizingReason that specifies the reason for row resizing operation.

    RowData

    Gets the data object associated with the row being resized.

    Declaration
    public object RowData { get; }
    Property Value
    Type Description
    System.Object

    The data object of the row being resized, or null when the row has not yet been generated by the row generator (e.g. while restoring a hidden row — the row is only rebuilt by the row generator's MeasureOverride pass, so RowData may be null for ResizeStarting and Resizing reasons on the unhide path). Consumers must null-check RowData before dereferencing it in a RowResizing event handler.

    RowIndex

    Gets the index of the row that is being resized.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type Description
    System.Int32

    An index of the row.

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