menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridCellInfo - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridCellInfo

    Represents a class contains information about the particular cell.

    Inheritance
    System.Object
    GridCellInfo
    Implements
    System.IEquatable<GridCellInfo>
    Namespace: Syncfusion.UI.Xaml.Grid
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public class GridCellInfo : Object, IEquatable<GridCellInfo>

    Constructors

    GridCellInfo(GridColumn, Boolean, Int32)

    Initializes a new instance of GridCellInfo class for Filter row.

    Declaration
    public GridCellInfo(GridColumn column, bool isFilterRow, int rowIndex)
    Parameters
    Type Name Description
    GridColumn column

    Corresponding column of the selected cell in summary row.

    System.Boolean isFilterRow

    Indicates whether the corresponding row is FilterRow.

    System.Int32 rowIndex

    The corresponding index of summary row.

    GridCellInfo(GridColumn, Int32, GridUnBoundRow)

    Initialize a new instance of GridCellInfo class for UnBoundRow.

    Declaration
    public GridCellInfo(GridColumn column, int rowIndex, GridUnBoundRow unBoundRow)
    Parameters
    Type Name Description
    GridColumn column

    Corresponding column of the selected cell in UnBoundRow.

    System.Int32 rowIndex

    Corresponding index of the selected cell in UnBoundRow.

    GridUnBoundRow unBoundRow

    Contains the data item of the selected cell in UnBoundRow.

    GridCellInfo(GridColumn, Int32, Boolean)

    Initializes a new instance of GridCellInfo class for summary row.

    Declaration
    public GridCellInfo(GridColumn column, int rowIndex, bool isAddnewrow)
    Parameters
    Type Name Description
    GridColumn column

    Corresponding column of the selected cell in summary row.

    System.Int32 rowIndex

    The corresponding index of summary row.

    System.Boolean isAddnewrow

    GridCellInfo(GridColumn, Object, NodeEntry, Int32, Boolean)

    Initializes a new instance of GridCellInfo class for data row.

    Declaration
    public GridCellInfo(GridColumn column, object rowData, NodeEntry nodeEntry, int rowIndex = -1, bool isAddnewrow = false)
    Parameters
    Type Name Description
    GridColumn column

    Corresponding column that contains the selected cell.

    System.Object rowData

    The data item of the corresponding selected cell.

    NodeEntry nodeEntry

    The node entry of the corresponding selected cell.

    System.Int32 rowIndex

    (Optional) zero-based index of the summary row.

    System.Boolean isAddnewrow

    (Optional) Indicates whether the selected cell is in AddNewRow or not.

    Properties

    Column

    Gets the column that contains the selected cell.

    Declaration
    public GridColumn Column { get; }
    Property Value
    Type
    GridColumn

    GridUnboundRowInfo

    Gets or sets the GridUnBoundRow information of the selected unbound row cell.

    Declaration
    public GridUnBoundRow GridUnboundRowInfo { get; set; }
    Property Value
    Type Description
    GridUnBoundRow

    The corresponding GridUnBoundRow information for the selected unbound row cell.

    IsAddNewRow

    Gets or sets a value that determines whether the corresponding selected cell is in AddNewRow.

    Declaration
    public bool IsAddNewRow { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the corresponding selected cell is in AddNewRow; otherwise, false.

    IsDataRowCell

    Gets a value that indicates whether the corresponding selected cell is data row cell.

    Declaration
    public bool IsDataRowCell { get; }
    Property Value
    Type Description
    System.Boolean

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

    IsFilterRow

    Gets a value indicating whether this row index is FilterRow index.

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

    True if the rowIndex is FilterRow, false if not.

    IsUnBoundRow

    Gets or sets a value that determines whether the corresponding selected cell is UnBoundRow cell.

    Declaration
    public bool IsUnBoundRow { get; }
    Property Value
    Type Description
    System.Boolean

    true if the selected cell is UnBoundRow cell; otherwise, false.

    RowData

    Gets the data item of the corresponding selected cell.

    Declaration
    public object RowData { get; }
    Property Value
    Type
    System.Object

    RowIndex

    Gets the corresponding row index of summary row, Details View, UnBoundRow.

    Declaration
    public int RowIndex { get; }
    Property Value
    Type
    System.Int32

    Methods

    Equals(GridCellInfo)

    Compares whether the current cell info is equal to other cell info of the same type.

    Declaration
    public bool Equals(GridCellInfo other)
    Parameters
    Type Name Description
    GridCellInfo other

    The cell info to compare with the current cell info.

    Returns
    Type Description
    System.Boolean

    true if the current cell info is equal to the other cell info; otherwise, false.

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    The specified object.

    Returns
    Type Description
    System.Boolean

    true if the specified object is equal to the current object; otherwise false.

    GetHashCode()

    Returns the hash code for the GridCellInfo instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Returns the hash code.

    Implements

    System.IEquatable<>

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved