menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridResizingRowsEventArgs - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridResizingRowsEventArgs

    Provides data about the cancelable ResizingRows event.

    Inheritance
    System.Object
    SyncfusionRoutedEventArgs
    GridResizingRowsEventArgs
    Inherited Members
    SyncfusionRoutedEventArgs.ToString()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public sealed class GridResizingRowsEventArgs : SyncfusionRoutedEventArgs
    Remarks

    GridResizingRowsEventArgs is a custom event argument class used by the ResizingRows event when the user is about to resize a row or is in the process of resizing a row.

    You can disallow the resizing of specific rows at run-time when you assign True to System.Windows.RoutedEventArgs.Handled.

    You can also limit resizing rows to a given maximum value by changing the Height value.

    Constructors

    GridResizingRowsEventArgs(RoutedEvent, Object)

    Initializes a new instance of the GridResizingRowsEventArgs class.

    Declaration
    public GridResizingRowsEventArgs(RoutedEvent routedEvent, object source)
    Parameters
    Type Name Description
    System.Windows.RoutedEvent routedEvent

    The routed event identifier for this instance of the System.Windows.RoutedEventArgs class.

    System.Object source

    An alternate source that will be reported when the event is handled. This pre-populates the System.Windows.RoutedEventArgs.Source property.

    Properties

    AllowResize

    Gets or sets a value indicating whether the current column is resizable.

    Declaration
    public bool AllowResize { get; set; }
    Property Value
    Type
    System.Boolean

    Height

    Gets or sets the height.

    Declaration
    [TraceProperty(true)]
    public double Height { get; }
    Property Value
    Type Description
    System.Double

    The height.

    InHiddenRowResize

    Indicates whether the resizing is happening for hidden rows.

    Declaration
    [TraceProperty(true)]
    public bool InHiddenRowResize { get; }
    Property Value
    Type
    System.Boolean

    Point

    Specifies the mouse hit point.

    Declaration
    public Point Point { get; }
    Property Value
    Type
    System.Windows.Point

    Reason

    Specifies the reason for this event and hints about the current state of the user action.

    Declaration
    public GridResizeCellsReason Reason { get; }
    Property Value
    Type
    GridResizeCellsReason

    Rows

    Gets or sets the index of the row.

    Declaration
    [TraceProperty(true)]
    public GridRangeInfo Rows { get; }
    Property Value
    Type Description
    GridRangeInfo

    The index of the row.

    See Also

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