Spread Windows Forms 7.0 Product Documentation
GetEditor Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : GetEditor Method


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

Glossary Item Box

Gets the editor used to edit a specified cell on this sheet.

Syntax

Visual Basic (Declaration) 
Public Overridable Function GetEditor( _
   ByVal row As Integer, _
   ByVal column As Integer _
) As IEditor
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim value As IEditor
 
value = instance.GetEditor(row, column)
C# 
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.
C#Copy Code
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);
Visual BasicCopy Code
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)

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.