Class TreeGridCellInfo
Represents a class contains information about the particular cell.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.UI.Xaml.TreeGrid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class TreeGridCellInfo : IEquatable<TreeGridCellInfo>
Constructors
TreeGridCellInfo()
Declaration
public TreeGridCellInfo()
TreeGridCellInfo(Int32, Object)
Declaration
public TreeGridCellInfo(int rowIndex, object rowData)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | rowIndex | |
| System.Object | rowData |
Properties
Column
Gets the column that contains the selected cell.
Declaration
public TreeGridColumn Column { get; set; }
Property Value
| Type |
|---|
| TreeGridColumn |
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. |
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.
Declaration
public int RowIndex { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Methods
Equals(TreeGridCellInfo)
Compares whether the current cell info is equal to other cell info of the same type.
Declaration
public bool Equals(TreeGridCellInfo other)
Parameters
| Type | Name | Description |
|---|---|---|
| TreeGridCellInfo | 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. |
Overrides
GetHashCode()
Returns the hash code for the TreeGridCellInfo instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 | Returns the hash code. |