Class DataGridHyperlinkCellRenderer
A class for cell renderer that displays SfDataGridLabel in a DataGridCell. The class provides strong typed override methods for initializing Content of the cell and arranging the cell visuals.
Updates to appearance and Content of child elements, creation and unloading of views will not trigger layout or render calls in parent canvas.
Inheritance
System.Object
DataGridHyperlinkCellRenderer
Inherited Members
Namespace: Syncfusion.Maui.DataGrid
Assembly: Syncfusion.Maui.DataGrid.dll
Syntax
public class DataGridHyperlinkCellRenderer : DataGridCellRenderer<ContentView, View>, IDataGridCellRenderer, IDisposable
Constructors
DataGridHyperlinkCellRenderer()
Initializes a new instance of the DataGridHyperlinkCellRenderer class.
Declaration
public DataGridHyperlinkCellRenderer()
Methods
OnCreateDisplayUIView()
Creates the view for the display UI.
Declaration
protected override ContentView OnCreateDisplayUIView()
Returns
| Type |
|---|
| Microsoft.Maui.Controls.ContentView |
Overrides
Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.ContentView, Microsoft.Maui.Controls.View>.OnCreateDisplayUIView()
OnInitializeDisplayView(DataColumnBase, ContentView)
Initializes settings of the display view.
Declaration
protected override void OnInitializeDisplayView(DataColumnBase dataColumn, ContentView view)
Parameters
| Type | Name | Description |
|---|---|---|
| Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn | |
| Microsoft.Maui.Controls.ContentView | view |
Overrides
Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.ContentView, Microsoft.Maui.Controls.View>.OnInitializeDisplayView(Syncfusion.Maui.DataGrid.DataColumnBase, Microsoft.Maui.Controls.ContentView)
OnSetCellStyle(DataColumnBase)
Sets the styles for the DataGridCell.
Declaration
protected override void OnSetCellStyle(DataColumnBase dataColumn)
Parameters
| Type | Name | Description |
|---|---|---|
| Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn | The dataColumn to apply the style. |
Overrides
Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.ContentView, Microsoft.Maui.Controls.View>.OnSetCellStyle(Syncfusion.Maui.DataGrid.DataColumnBase)
OnUpdateCellValue(DataColumnBase)
Updates the cell value of the associated column.
Declaration
protected override void OnUpdateCellValue(DataColumnBase dataColumn)
Parameters
| Type | Name | Description |
|---|---|---|
| Syncfusion.Maui.DataGrid.DataColumnBase | dataColumn |
Overrides
Syncfusion.Maui.DataGrid.DataGridCellRenderer<Microsoft.Maui.Controls.ContentView, Microsoft.Maui.Controls.View>.OnUpdateCellValue(Syncfusion.Maui.DataGrid.DataColumnBase)
Implements
System.IDisposable