Class SelectedCellInfo
Represents a class that contains the information about a particular cell in SfDataGrid.
Inheritance
System.Object
SelectedCellInfo
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class SelectedCellInfo : Object, IEquatable<SelectedCellInfo>
Constructors
SelectedCellInfo(DataGridColumn, Int32, DataGridUnboundRow)
Declaration
public SelectedCellInfo(DataGridColumn column, int rowIndex, DataGridUnboundRow unBoundRow)
Parameters
SelectedCellInfo(DataGridColumn, Int32, Boolean)
Declaration
public SelectedCellInfo(DataGridColumn column, int rowIndex, bool isAddnewrow)
Parameters
Type |
Name |
Description |
DataGridColumn |
column |
|
System.Int32 |
rowIndex |
|
System.Boolean |
isAddnewrow |
|
SelectedCellInfo(DataGridColumn, Object, NodeEntry, Int32)
Declaration
public SelectedCellInfo(DataGridColumn column, object rowData, NodeEntry nodeEntry, int rowIndex = 1)
Parameters
Properties
Column
Declaration
public DataGridColumn Column { get; }
Property Value
GridUnboundRowInfo
Declaration
public DataGridUnboundRow GridUnboundRowInfo { get; }
Property Value
IsAddNewRow
Declaration
public bool IsAddNewRow { get; set; }
Property Value
IsDataRow
Gets a value indicating whether the selected cell is of a data row.
Declaration
public bool IsDataRow { get; }
Property Value
Type |
Description |
System.Boolean |
true if the selected cell is of a data row; otherwise, false.
|
IsUnBoundRow
Gets a value indicating whether the selected cell is of an unbound row.
Declaration
public bool IsUnBoundRow { get; }
Property Value
RowData
Gets the underlying data object of the row that contains the selected cell.
Declaration
public object RowData { get; }
Property Value
RowIndex
Gets the corresponding row index of the selected cell.
Declaration
public int RowIndex { get; }
Property Value
Methods
Equals(SelectedCellInfo)
Compares whether the current cell info is equal to other cell info of the same type.
Declaration
public bool Equals(SelectedCellInfo other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Implements
System.IEquatable<>