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

Row index of the cell
Column index of the cell

Glossary Item Box

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


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)
public virtual IEditor GetEditor( 
   int row,
   int column


Row index of the cell
Column index of the cell

Return Value

IEditor object containing the editor used to edit the cell


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)


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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