Class CoveredCellInfoCollection
Represents the collection of CoveredCellInfo.
Inheritance
Namespace: Syncfusion.UI.Xaml.DataGrid
Assembly: Syncfusion.Grid.WinUI.dll
Syntax
public class CoveredCellInfoCollection : List<CoveredCellInfo>
Constructors
CoveredCellInfoCollection(SfDataGrid)
Initializes a new instance of CoveredCellInfoCollection class with specified Datagrid.
Declaration
public CoveredCellInfoCollection(SfDataGrid grid)
Parameters
Type | Name | Description |
---|---|---|
SfDataGrid | grid | The specified datagrid. |
Methods
GetCoveredCellInfo(DataColumnBase)
Gets CoveredCellInfo for the specified DataColumnBase.
Declaration
public CoveredCellInfo GetCoveredCellInfo(DataColumnBase dc)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | dc | Specifies the corresponding DataColumnBase get the CoveredCellInfo. |
Returns
Type | Description |
---|---|
CoveredCellInfo | Returns the range based on DataColumnBase row and column index. |
GetCoveredCellInfo(Int32, Int32)
Gets CoveredCellInfo for the specified row and column index.
Declaration
public CoveredCellInfo GetCoveredCellInfo(int rowIndex, int columnIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | Specifies the row index. |
System.Int32 | columnIndex | Specifies the column index. |
Returns
Type | Description |
---|---|
CoveredCellInfo | Returns the range based on row and column index. |
GetCoveredCellsRange(DataRowBase)
Gets the CoveredCellInfo collection for the specified data row.
Declaration
public List<CoveredCellInfo> GetCoveredCellsRange(DataRowBase dataRow)
Parameters
Type | Name | Description |
---|---|---|
DataRowBase | dataRow | Specifies the corresponding data row to get the CoveredCellInfo collection. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<CoveredCellInfo> | Returns the CoveredCellInfo collection for the specified data row |
GetCoveredColumns(DataRowBase)
Gets the list of DataColumnBase that contains covered cell info for the specified DataRow.
Declaration
public List<DataColumnBase> GetCoveredColumns(DataRowBase dataRow)
Parameters
Type | Name | Description |
---|---|---|
DataRowBase | dataRow | Specifies the corresponding DataRow to get the list of DataColumnBase. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<DataColumnBase> | Returns the collection of DataColumnBase for the specified DataRow. |
IsInRange(CoveredCellInfo)
Determines whether the range is already present in the CoveredCells collection.
Declaration
public bool IsInRange(CoveredCellInfo coveredCell)
Parameters
Type | Name | Description |
---|---|---|
CoveredCellInfo | coveredCell | Specifies the range to get the presence from CoveredCells collection. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the range is already there in CoveredCells; otherwise, false. |