menu

WinUI

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

    Show / Hide Table of Contents

    Class TreeGridRowInfo

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

    Inheritance
    System.Object
    TreeGridRowInfo
    Implements
    System.IEquatable<TreeGridRowInfo>
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.TreeGrid
    Assembly: Syncfusion.Grid.WinUI.dll
    Syntax
    public class TreeGridRowInfo : Object, IEquatable<TreeGridRowInfo>, IDisposable

    Constructors

    TreeGridRowInfo(Int32, Object)

    Initializes a new instance of TreeGridRowInfo class for data row.

    Declaration
    public TreeGridRowInfo(int rowIndex, object rowData)
    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.

    Properties

    IsDirty

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

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

    true if the item is removed; otherwise, false.

    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

    Dispose()

    Disposes all the resources used by the TreeGridRowInfo class.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Releases all resources used by TreeGridRowInfo class.

    Declaration
    protected virtual void Dispose(bool isDisposing)
    Parameters
    Type Name Description
    System.Boolean isDisposing

    Indicates whether the call is from Dispose method or from a finalizer.

    Equals(TreeGridRowInfo)

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

    Declaration
    public bool Equals(TreeGridRowInfo other)
    Parameters
    Type Name Description
    TreeGridRowInfo 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)

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

    GetHashCode()

    Returns the hash code for the TreeGridRowInfo instance.

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

    Returns the hash code

    Implements

    System.IEquatable<>
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved