Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / GetEditor Method
Row index of the cell
Column index of the cell
Example


In This Topic
    GetEditor Method (SheetView)
    In This Topic
    Gets the editor used to edit a specified cell on this sheet.
    Syntax
    'Declaration
     
    Public Overridable Function GetEditor( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As IEditor
    'Usage
     
    Dim instance As SheetView
    Dim row As Integer
    Dim column As Integer
    Dim value As IEditor
     
    value = instance.GetEditor(row, column)
    public virtual IEditor GetEditor( 
       int row,
       int column
    )

    Parameters

    row
    Row index of the cell
    column
    Column index of the cell

    Return Value

    IEditor object containing the editor used to edit the cell
    Example
    This example illustrates the use of this member by returning the editor for the specified cell.
    FarPoint.Win.Spread.CellType.IEditor ed;
    fpSpread1.EditMode = true;
    ed = fpSpread1.ActiveSheet.GetEditor(0, 0);
    label1.Text = "The editor for the specified cell is a - " + Convert.ToString(ed);
    Dim ed As FarPoint.Win.Spread.CellType.IEditor
    FpSpread1.EditMode = True
    ed = FpSpread1.ActiveSheet.GetEditor(0, 0)
    Label1.Text = "The editor for the specified cell is a - " & Convert.ToString(ed)
    See Also