Class DataGridQueryRowHeightEventArgs
Provides data for the QueryRowHeight event.
Inheritance
System.Object
DataGridQueryRowHeightEventArgs
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridQueryRowHeightEventArgs : HandledEventArgs
Constructors
DataGridQueryRowHeightEventArgs(Int32, Double, Object)
Initializes a new instance of the DataGridQueryRowHeightEventArgs class using the specified index, height and source.
Declaration
public DataGridQueryRowHeightEventArgs(int index, double height, object originalSource)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the row for which the height is queried. |
System.Double | height | The queried height of the row. |
System.Object | originalSource | The source that triggers the event. |
Properties
Height
Gets or sets the height of the row.
Declaration
public double Height { get; set; }
Property Value
Type |
---|
System.Double |
RowIndex
Gets the index of the row.
Declaration
public int RowIndex { get; }
Property Value
Type |
---|
System.Int32 |
Methods
GetIntrinsicRowHeight(Int32, Boolean, List<String>)
Gets the row height to fit that row based on the content.
Declaration
public double GetIntrinsicRowHeight(int rowIndex, bool canIncludeHiddenColumns = false, List<string> excludedColumns = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | The collection of new added columns in sorting. |
System.Boolean | canIncludeHiddenColumns | It considers the hidden columns also in auto size calculation. |
System.Collections.Generic.List<System.String> | excludedColumns | The collection of column names which should be excluded for auto-fit calculation. Typically the column names are MappingName. |
Returns
Type |
---|
System.Double |