menu

WPF

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

    Show / Hide Table of Contents

    Class QueryRowHeightEventArgs

    Provides data for QueryRowHeight event.

    Inheritance
    System.Object
    System.EventArgs
    GridEventArgs
    GridHandledEventArgs
    QueryRowHeightEventArgs
    Inherited Members
    GridEventArgs.OriginalSender
    GridHandledEventArgs.Handled
    System.EventArgs.Empty
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.WPF.dll
    Syntax
    public class QueryRowHeightEventArgs : GridHandledEventArgs
    Remarks

    To change the height of the row, need to enable the Handled in GridHandledEventArgs of QueryRowHeight event.

    Constructors

    QueryRowHeightEventArgs(Int32, Double, Object)

    Initializes a new instance of the QueryRowHeightEventArgs class.

    Declaration
    public QueryRowHeightEventArgs(int index, double height, object originalSource)
    Parameters
    Type Name Description
    System.Int32 index

    The index of the row.

    System.Double height

    The height of the row.

    System.Object originalSource

    The source of the event.

    Properties

    Height

    Gets or sets the height of the row.

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

    The height of the row.

    Remarks

    Row height can be set to this property based on RowIndex.

    RowIndex

    Gets the index of the row to get the row height.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved