SpreadsheetVirtualizingCellRendererBase<E> Class
  
  
  
  
    Inheritance
    System.Object
    
    SpreadsheetVirtualizingCellRendererBase<E>
      
      
      
      
   
  
    Implements
    
    System.IDisposable
   
  
  
  Assembly: Syncfusion.Spreadsheet.Windows.dll
  
  
    public abstract class SpreadsheetVirtualizingCellRendererBase<E> : SpreadsheetCellRendererBase, ISpreadsheetCellRenderer, IDisposable where E : Control, new()
   
  Type Parameters
  
  Constructors
  
  
  
  
  
  
  
  Declaration
  
    public SpreadsheetVirtualizingCellRendererBase()
   
  Fields
  
  
  
  
  
  
  Declaration
  
    protected VirtualizingCellUIElementBin<E> EditRecycleBin
   
  Field Value
  
  Properties
  
  
  
  
  
  Gets or sets a value indicating whether elements can be recycled when scrolled out of view.
In this case when a cell is scrolled out of view
it is moved into a recycle bin and the next time a new element is scrolled into
view the element is recovered from the recycle bin and reinitialized with the
new content of the cell. The default value is false.
 
  
  Declaration
  
    public bool AllowRecycle { get; set; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
        true if elements can be recycled when scrolled out of view; otherwise, false. 
 | 
      
    
  
  Methods
  
  
  
  
  
  
  
  Declaration
  
    public override sealed bool BeginEdit(RowColumnIndex cellRowColumnIndex, SpreadsheetColumn column)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  
  
  
  
  
  Declaration
  
    public override void ClearRecycleBin()
   
  Overrides
  
  
  
  
  
  
  
  Declaration
  
    protected override void Dispose(bool disposing)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean | 
        disposing | 
         | 
      
    
  
  Overrides
  
  
  
  
  
  
  
  Declaration
  
    public override sealed bool EndEdit(RowColumnIndex cellRowColumnIndex, SpreadsheetColumn column)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  
  
  
  
  
  Declaration
  
    public void InitializeEditElement(RowColumnIndex rowColumnIndex, E uiElement, SpreadsheetColumn column)
   
  Parameters
  
  
  
  
  
  
  
  Declaration
  
    protected virtual E OnCreateEditUIElement()
   
  Returns
  
  
  
  
  
  
  
  Declaration
  
    protected virtual void OnEditElementLostFocus(object sender, EventArgs e)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Object | 
        sender | 
         | 
      
      
        | System.EventArgs | 
        e | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected virtual void OnEditingComplete(Control currentRendererElement)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Windows.Forms.Control | 
        currentRendererElement | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected virtual void OnEnteredEditMode(Control currentRendererElement)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Windows.Forms.Control | 
        currentRendererElement | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected abstract void OnInitializeEditElement(RowColumnIndex rowColumnIndex, E uiElement, SpreadsheetColumn column)
   
  Parameters
  
  
  
  
  
  
  
  Declaration
  
    protected virtual void OnUnwireEditUIElement(E uiElement)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | E | 
        uiElement | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected virtual void OnUpdateEditElement(E uiElement, Rectangle rect)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | E | 
        uiElement | 
         | 
      
      
        | System.Drawing.Rectangle | 
        rect | 
         | 
      
    
  
  
  
  
  
  
  
  Declaration
  
    protected virtual void OnWireEditUIElement(E uiElement)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | E | 
        uiElement | 
         | 
      
    
  
  Implements
  
  
      System.IDisposable