Class QueryRowHeightEventArgs
Provides data for QueryRowHeight event.
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 |