Class TreeGridCurrentCellRequestNavigatingEventArgs
Provides event data for the CurrentCellRequestNavigating event.
Inherited Members
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public class TreeGridCurrentCellRequestNavigatingEventArgs : CancelEventArgs
Remarks
This event is raised when a hyperlink cell is clicked, allowing developers to handle navigation or cancel the default navigation behavior.
Constructors
TreeGridCurrentCellRequestNavigatingEventArgs(string, object?, int, int)
Initializes a new instance of the TreeGridCurrentCellRequestNavigatingEventArgs class.
Declaration
public TreeGridCurrentCellRequestNavigatingEventArgs(string navigateText, object? record, int rowIndex, int columnIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | navigateText | The text to be used for navigation. |
| object | record | The data record associated with the cell. |
| int | rowIndex | The row index of the cell. |
| int | columnIndex | The column index of the cell. |
Properties
ColumnIndex
Gets the column index of the cell.
Declaration
public int ColumnIndex { get; }
Property Value
| Type |
|---|
| int |
NavigateText
Gets the text to be used for navigation.
Declaration
public string NavigateText { get; }
Property Value
| Type |
|---|
| string |
Remarks
This property contains either the DisplayBinding value (if specified) or the MappingName value from the bound data record.
Record
Gets the data record associated with the cell.
Declaration
public object? Record { get; }
Property Value
| Type |
|---|
| object |
Remarks
This property provides access to the complete data object of the row containing the hyperlink cell.
RowIndex
Gets the row index of the cell.
Declaration
public int RowIndex { get; }
Property Value
| Type |
|---|
| int |