Class GridVirtualizingCellRendererBase<E>
Represents the abstract class for drawing the virtualizing cell renderer collection.
Inheritance
Inherited Members
Namespace: Syncfusion.WinForms.DataGrid.Renderers
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public abstract class GridVirtualizingCellRendererBase<E> : GridCellRendererBase, IGridCellRenderer<TableControl>, IDisposable where E : Control, new()
Type Parameters
Name | Description |
---|---|
E | Represents the System.Windows.Forms.Control |
Constructors
GridVirtualizingCellRendererBase()
Initializes a new instance of the GridVirtualizingCellRendererBase<E> class. class.
Declaration
public GridVirtualizingCellRendererBase()
Methods
BeginEdit(DataColumnBase, RowColumnIndex)
Begins the editing of the cell with editor control.
Declaration
public override sealed bool BeginEdit(DataColumnBase column, RowColumnIndex cellRowColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | column | The DataColumnBase. |
RowColumnIndex | cellRowColumnIndex | The current cell row and column index. |
Returns
Type | Description |
---|---|
System.Boolean | Returns the result of current cell begin editing. |
Overrides
EndEdit(DataColumnBase, RowColumnIndex)
Ends the editing of the cell.
Declaration
public override sealed bool EndEdit(DataColumnBase column, RowColumnIndex cellRowColumnIndex)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | column | The DataColumnBase. |
RowColumnIndex | cellRowColumnIndex | The current cell row and column index. |
Returns
Type | Description |
---|---|
System.Boolean | Returns the result of the end editing of the cell. |
Overrides
InitializeEditElement(DataColumnBase, RowColumnIndex, E)
Initializes the editor control of the current cell.
Declaration
public void InitializeEditElement(DataColumnBase column, RowColumnIndex rowColumnIndex, E uiElement)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | column | The DataColumnBase of the current cell. |
RowColumnIndex | rowColumnIndex | The row and column index of the current cell. |
E | uiElement | The editor control of the current cell. |
OnCreateEditUIElement()
Creates the new UI element.
Declaration
protected virtual E OnCreateEditUIElement()
Returns
Type | Description |
---|---|
E | Returns the new UI element. |
OnEditingComplete(DataColumnBase, E)
Occurs when the editing of the cell completes.
Declaration
protected virtual void OnEditingComplete(DataColumnBase column, E currentRendererElement)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | column | The DataColumnBase. |
E | currentRendererElement | The editor control of the cell. |
OnEnteredEditMode(E)
Occurs when editor control entering the edit mode.
Declaration
protected virtual void OnEnteredEditMode(E currentRendererElement)
Parameters
Type | Name | Description |
---|---|---|
E | currentRendererElement | The editor control of the cell. |
OnInitializeEditElement(DataColumnBase, RowColumnIndex, E)
Occurs when initializing the editor control.
Declaration
protected virtual void OnInitializeEditElement(DataColumnBase column, RowColumnIndex rowColumnIndex, E uiElement)
Parameters
Type | Name | Description |
---|---|---|
DataColumnBase | column | The DataColumnBase of the current cell. |
RowColumnIndex | rowColumnIndex | The row and column index of the current cell. |
E | uiElement | The editor control of the current cell. |
OnUnwireEditUIElement(E)
Occurs while unwire the UI element from the grid.
Declaration
protected virtual void OnUnwireEditUIElement(E uiElement)
Parameters
Type | Name | Description |
---|---|---|
E | uiElement | The element that needs to be unwired. |
OnWireEditUIElement(E)
Occurs while creating the editable UI Element.
Declaration
protected virtual void OnWireEditUIElement(E uiElement)
Parameters
Type | Name | Description |
---|---|---|
E | uiElement | The UI element that need to be create. |