Class GridUnboundCellTextBoxRenderer
GridUnboundCellTextBoxRenderer is a class for cell renderer that displays the unbound column value in a GridCell. 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
Inherited Members
Namespace: Syncfusion.SfDataGrid
Assembly: Syncfusion.SfDataGrid.iOS.dll
Syntax
public class GridUnboundCellTextBoxRenderer : GridVirtualizingCellRenderer<UILabel, UITextField>, IGridCellRenderer, IDisposable
Constructors
GridUnboundCellTextBoxRenderer()
Initializes a new instance of the GridUnboundCellTextBoxRenderer class.
Declaration
public GridUnboundCellTextBoxRenderer()
Methods
CanUpdateBinding(DataColumnBase)
Determines whether the binding for the column can be updated. Implement this method to update binding on particular renderer when the data context is set.
Declaration
public override bool CanUpdateBinding(DataColumnBase dataColumnBase)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumnBase | The corresponding column for which the binding update should be determined. |
Returns
Type | Description |
---|---|
System.Boolean | True if the binding is updated for the column, otherwise false. |
Overrides
OnCreateDisplayUIView()
Creates a new UIKit.UILabel view and initializes it with the required properties.
Declaration
protected override UILabel OnCreateDisplayUIView()
Returns
Type | Description |
---|---|
UIKit.UILabel | A new UIKit.UILabel view. |
Overrides
OnInitializeDisplayView(DataColumnBase, UILabel)
Initializes the column element of a Syncfusion.SfDataGrid.DataColumn object with the given UIKit.UILabel view and required values.
Declaration
public override void OnInitializeDisplayView(DataColumnBase dataColumn, UILabel view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
UIKit.UILabel | view | A UIKit.UILabel view object to be hosted inside the column element. |
Overrides
OnUpdateCellValue(DataColumnBase)
Updates the cell value of the associated column.
Declaration
protected override void OnUpdateCellValue(DataColumnBase dataColumn)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The data column. |
Overrides
OnUpdateDisplayValue(DataColumnBase, UILabel)
Updates the column element of a Syncfusion.SfDataGrid.DataColumn object with the given UIKit.UILabel view and required values.
Declaration
public override void OnUpdateDisplayValue(DataColumnBase dataColumn, UILabel view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
UIKit.UILabel | view | A UIKit.UILabel view to be updated inside the column element. |