alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class SelectedCellInfo

    Represents a class that contains the information about a particular cell in SfDataGrid.

    Inheritance
    object
    SelectedCellInfo
    Implements
    IEquatable<SelectedCellInfo>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.DataGrid
    Assembly: Syncfusion.Maui.DataGrid.dll
    Syntax
    public class SelectedCellInfo : IEquatable<SelectedCellInfo>

    Constructors

    SelectedCellInfo(DataGridColumn, int, DataGridUnboundRow)

    Initializes a new instance of the SelectedCellInfo class for UnBoundRow.

    Declaration
    public SelectedCellInfo(DataGridColumn column, int rowIndex, DataGridUnboundRow unBoundRow)
    Parameters
    Type Name Description
    DataGridColumn column
    int rowIndex
    DataGridUnboundRow unBoundRow

    SelectedCellInfo(DataGridColumn, int, bool, bool)

    Declaration
    public SelectedCellInfo(DataGridColumn column, int rowIndex, bool isAddnewrow, bool isFilterRow)
    Parameters
    Type Name Description
    DataGridColumn column
    int rowIndex
    bool isAddnewrow
    bool isFilterRow

    SelectedCellInfo(DataGridColumn, object, NodeEntry, int)

    Initializes a new instance of the SelectedCellInfo class for data row.

    Declaration
    public SelectedCellInfo(DataGridColumn column, object rowData, NodeEntry nodeEntry, int rowIndex = -1)
    Parameters
    Type Name Description
    DataGridColumn column
    object rowData
    NodeEntry nodeEntry
    int rowIndex

    Properties

    Column

    Gets the DataGridColumn that contains the selected cell.

    Declaration
    public DataGridColumn? Column { get; }
    Property Value
    Type
    DataGridColumn

    GridUnboundRowInfo

    Gets a DataGridUnboundRow information of the selected unbound row cell.

    Declaration
    public DataGridUnboundRow? GridUnboundRowInfo { get; }
    Property Value
    Type
    DataGridUnboundRow

    IsAddNewRow

    Declaration
    public bool IsAddNewRow { get; set; }
    Property Value
    Type
    bool

    IsDataRow

    Gets a value indicating whether the selected cell is of a data row.

    Declaration
    public bool IsDataRow { get; }
    Property Value
    Type Description
    bool

    true if the selected cell is of a data row; otherwise, false.

    IsFilterRow

    Gets a value indicating whether the selected cell is of a filter row.

    Declaration
    public bool IsFilterRow { get; set; }
    Property Value
    Type Description
    bool

    true if the selected cell is of a filter row; otherwise, false.

    IsUnBoundRow

    Gets a value indicating whether the selected cell is of an unbound row.

    Declaration
    public bool IsUnBoundRow { get; }
    Property Value
    Type
    bool

    RowData

    Gets the underlying data object of the row that contains the selected cell.

    Declaration
    public object? RowData { get; }
    Property Value
    Type
    object

    RowIndex

    Gets the corresponding row index of the selected cell.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type
    int

    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
    Type Name Description
    SelectedCellInfo other
    Returns
    Type
    bool

    GetHashCode()

    Returns the hash code for the SelectedCellInfo instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type
    int
    Overrides
    object.GetHashCode()

    Implements

    IEquatable<T>
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved