Class TreeGridRowInfo
Represents a class that contains the information about the particular row.
Inheritance
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class TreeGridRowInfo : 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 |
Overrides
GetHashCode()
Returns the hash code for the TreeGridRowInfo instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns the hash code |