Class SfTreeGridHyperlinkLabel
A specialized label for hyperlink cells that handles tap events and hover color changes.
Namespace: Syncfusion.Maui.TreeGrid
Assembly: Syncfusion.Maui.TreeGrid.dll
Syntax
public class SfTreeGridHyperlinkLabel : Label
Remarks
This label is used specifically for hyperlink columns. It provides:
- Support for HyperlinkTextColor and HyperlinkHoveredTextColor bindings
- Tap gesture handling for navigation
- Platform-specific hover state handling
- Automatic underline decoration (non-macOS platforms)
Follows DataGrid's approach by using standard MAUI Label on all platforms and handling color bindings through binding updates in OnTouch event.
Constructors
SfTreeGridHyperlinkLabel()
Initializes a new instance of the SfTreeGridHyperlinkLabel class.
Declaration
public SfTreeGridHyperlinkLabel()
Methods
InitializeProperties(SfTreeGrid, TreeGridDataColumnBase)
Initializes TreeGrid properties.
Declaration
public void InitializeProperties(SfTreeGrid treeGrid, TreeGridDataColumnBase dataColumn)
Parameters
| Type | Name | Description |
|---|---|---|
| SfTreeGrid | treeGrid | |
| TreeGridDataColumnBase | dataColumn |