WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface ISpreadsheetCellRenderer - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Interface ISpreadsheetCellRenderer

    Inherited Members
    System.IDisposable.Dispose()
    Namespace: Syncfusion.Windows.Forms.Spreadsheet.CellRenderer
    Assembly: Syncfusion.Spreadsheet.Windows.dll
    Syntax
    public interface ISpreadsheetCellRenderer : IDisposable

    Properties

    AllowEditInFormulaBar

    Determines whether we can edit the cell using formula bar or not

    Declaration
    bool AllowEditInFormulaBar { get; set; }
    Property Value
    Type Description
    System.Boolean

    CurrentCellRendererElement

    Returns the edit UIElement of CurrentCell.

    Declaration
    Control CurrentCellRendererElement { get; }
    Property Value
    Type Description
    System.Windows.Forms.Control

    Grid

    Returns the Grid

    Declaration
    SpreadsheetGrid Grid { get; set; }
    Property Value
    Type Description
    SpreadsheetGrid

    HasCurrentCellState

    Determines whether the renderer has current cell or not.

    Declaration
    bool HasCurrentCellState { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    BeginEdit(RowColumnIndex, SpreadsheetColumn)

    Declaration
    bool BeginEdit(RowColumnIndex cellRowColumnIndex, SpreadsheetColumn column)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex
    SpreadsheetColumn column
    Returns
    Type Description
    System.Boolean

    ClearRecycleBin()

    Declaration
    void ClearRecycleBin()

    EndEdit(RowColumnIndex, SpreadsheetColumn)

    Declaration
    bool EndEdit(RowColumnIndex cellRowColumnIndex, SpreadsheetColumn column)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex
    SpreadsheetColumn column
    Returns
    Type Description
    System.Boolean

    GetControlValue()

    Declaration
    object GetControlValue()
    Returns
    Type Description
    System.Object

    GetFormattedText(IStyle)

    Declaration
    string GetFormattedText(IStyle style)
    Parameters
    Type Name Description
    IStyle style
    Returns
    Type Description
    System.String

    HandlePointerOperations(SpreadsheetColumn, GridPointerEventArgs)

    Declaration
    bool HandlePointerOperations(SpreadsheetColumn column, GridPointerEventArgs e)
    Parameters
    Type Name Description
    SpreadsheetColumn column
    GridPointerEventArgs e
    Returns
    Type Description
    System.Boolean

    ProcessKeyEventArgs(KeyPressEventArgs)

    Declaration
    void ProcessKeyEventArgs(KeyPressEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.KeyPressEventArgs e

    RaiseSaveChanges()

    Declaration
    void RaiseSaveChanges()

    Render(SpreadsheetPaint, Rectangle, Rectangle, SpreadsheetColumn)

    Declaration
    void Render(SpreadsheetPaint paint, Rectangle cellRect, Rectangle clipRect, SpreadsheetColumn column)
    Parameters
    Type Name Description
    SpreadsheetPaint paint
    System.Drawing.Rectangle cellRect
    System.Drawing.Rectangle clipRect
    SpreadsheetColumn column

    ResetCurrentCellState()

    Declaration
    void ResetCurrentCellState()

    SetControlValue(Object)

    Declaration
    bool SetControlValue(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type Description
    System.Boolean

    SetCurrentCellState(RowColumnIndex, Control, Boolean, Boolean)

    Declaration
    void SetCurrentCellState(RowColumnIndex currentCellIndex, Control currentCellElement, bool isInEditing, bool isFocused)
    Parameters
    Type Name Description
    RowColumnIndex currentCellIndex
    System.Windows.Forms.Control currentCellElement
    System.Boolean isInEditing
    System.Boolean isFocused

    SetFocus(Boolean)

    Declaration
    void SetFocus(bool needToFocus)
    Parameters
    Type Name Description
    System.Boolean needToFocus

    ShouldGridTryToHandleKeyDown(KeyEventArgs)

    Declaration
    bool ShouldGridTryToHandleKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    System.Windows.Forms.KeyEventArgs e
    Returns
    Type Description
    System.Boolean

    UnloadUIElements()

    Declaration
    void UnloadUIElements()

    UpdateEditElement(Control, Rectangle, SpreadsheetColumn)

    Declaration
    void UpdateEditElement(Control Element, Rectangle rect, SpreadsheetColumn column)
    Parameters
    Type Name Description
    System.Windows.Forms.Control Element
    System.Drawing.Rectangle rect
    SpreadsheetColumn column
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved