Class RowGenerator
A class that generates the Syncfusion.Maui.DataGrid.DataRow instances in a SfDataGrid control.
Inheritance
Implements
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class RowGenerator : Object, IDisposable
Remarks
The Syncfusion.Maui.DataGrid.DataRow objects are primary row components in a SfDataGrid control. The items collection represents the collection of DataRow objects in the SfDataGrid.
Constructors
RowGenerator(SfDataGrid)
Initializes a new instance of the RowGenerator class.
Declaration
public RowGenerator(SfDataGrid grid)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | grid | The SfDataGrid instance. |
Properties
Items
Gets or sets the collection of Syncfusion.Maui.DataGrid.DataRow objects in a SfDataGrid control.
Declaration
public List<DataRowBase> Items { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Syncfusion.Maui.DataGrid.DataRowBase> | The collection of Syncfusion.Maui.DataGrid.DataRow objects in a SfDataGrid control. |
Owner
Gets or sets the reference of the SfDataGrid control.
Declaration
public SfDataGrid Owner { get; set; }
Property Value
Type | Description |
---|---|
SfDataGrid | The reference of the SfDataGrid control. |
Methods
Dispose()
Perform final clean up before it is released from memory.
Declaration
public void Dispose()
Dispose(Boolean)
Releases the unmanaged resources used by the component and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | if true - release both managed and unmanaged resources; if false - release only unmanaged resources. |