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.Android.dll
Syntax
public class GridUnboundCellTextBoxRenderer : GridVirtualizingCellRenderer<TextView, EditText>, 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 Android.Widget.TextView view and initializes it with the required properties.
Declaration
protected override TextView OnCreateDisplayUIView()
Returns
Type | Description |
---|---|
Android.Widget.TextView | A new Android.Widget.TextView view. |
Overrides
OnInitializeDisplayView(DataColumnBase, TextView)
Initializes the column element of a Syncfusion.SfDataGrid.DataColumn object with the given Android.Widget.TextView view and required values.
Declaration
public override void OnInitializeDisplayView(DataColumnBase dataColumn, TextView view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
Android.Widget.TextView | view | A Android.Widget.TextView 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, TextView)
Updates the column element of a Syncfusion.SfDataGrid.DataColumn object with the given Android.Widget.TextView view and required values.
Declaration
public override void OnUpdateDisplayValue(DataColumnBase dataColumn, TextView view)
Parameters
Type | Name | Description |
---|---|---|
Syncfusion.SfDataGrid.DataColumnBase | dataColumn | The dataColumn containing the details of the column. |
Android.Widget.TextView | view | A Android.Widget.TextView view to be updated inside the column element. |