menu

UWP

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

    Show / Hide Table of Contents

    Class GridRowInfo

    Represents a class that contains the information about the particular row.

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

    Constructors

    GridRowInfo(Boolean, Int32)

    Initializes a new instance of GridRowInfo using the specified parameter for Filter row.

    Declaration
    public GridRowInfo(bool isFilterRow, int rowIndex)
    Parameters
    Type Name Description
    System.Boolean isFilterRow

    Indicates whether the corresponding row is FilterRow.

    System.Int32 rowIndex

    The corresponding index of the row info.

    GridRowInfo(Int32, GridUnBoundRow)

    Initializes a new instance of GridRowInfo class for UnBoundRow.

    Declaration
    public GridRowInfo(int rowIndex, GridUnBoundRow unBoundRow)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    Corresponding index of the UnBoundRow info.

    GridUnBoundRow unBoundRow

    Contains the data item of corresponding UnBoundRow.

    GridRowInfo(Int32, Boolean)

    Initializes a new instance of GridRowInfo using the specified parameter for summary row.

    Declaration
    public GridRowInfo(int rowIndex, bool isAddNewRow)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    The corresponding index of the row info.

    System.Boolean isAddNewRow

    Indicates whether the corresponding row is AddNewRow.

    GridRowInfo(Int32, Object, NodeEntry, Boolean)

    Initializes a new instance of GridRowInfo class for data row.

    Declaration
    public GridRowInfo(int rowIndex, object rowData, NodeEntry nodeEntry, bool isAddNewRow = false)
    Parameters
    Type Name Description
    System.Int32 rowIndex

    Corresponding index of the selected row.

    System.Object rowData

    Contains the corresponding data item of the selected row.

    NodeEntry nodeEntry

    Contains corresponding the node entry of the selected row.

    System.Boolean isAddNewRow

    (Optional)Indicates whether the selected row is AddNewRow.

    Properties

    GridUnboundRowInfo

    Gets or sets an UnBoundRow information when the selection is in unbound rows.

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

    The corresponding information , if the selection fount at unbound rows ; otherwise , the unbound row info is null .

    IsAddNewRow

    Gets or sets a value that determines whether the selected row is AddNewRow.

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

    true if the corresponding row is AddNewRow; otherwise, false.

    IsDataRow

    Gets or sets a value that determines whether the selected row is DataRow.

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

    true if the corresponding row is DataRow; otherwise, false.

    IsDirty

    Gets a value that indicates whether the item is removed from GridRowInfo.

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

    true if the item is removed; 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 selected row is UnBoundRow.

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

    true if the row is UnBoundRow; otherwise, false.

    NodeEntry

    Gets the NodeEntry information of the group rows.

    Declaration
    public NodeEntry NodeEntry { get; }
    Property Value
    Type Description
    NodeEntry

    Returns the corresponding NodeEntry information , if the selection found at group rows ; otherwise , the node entry is null .

    RowData

    Gets the data item for the corresponding selected row.

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

    The data item for the row.

    RowIndex

    Gets or sets the index of the corresponding selected row.

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

    The zero-based index of the corresponding selected row.

    Methods

    Equals(GridRowInfo)

    Compares whether the current row info is equal to another row info of the same type.

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

    Another row info to compare with the current row info.

    Returns
    Type Description
    System.Boolean

    true if the current row info is equal to the other row 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 GridRowInfo 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