Spread for ASP.NET 8.0 Product Documentation
GetDefaultEditor Method
Example 


Gets the default editor used to edit the cell.
Syntax
'Declaration
 
Public Function GetDefaultEditor() As IEditor
'Usage
 
Dim instance As SheetView
Dim value As IEditor
 
value = instance.GetDefaultEditor()
public IEditor GetDefaultEditor()

Return Value

IEditor object that represents the default editor
Example
This example creates a SheetView object and assigns it to the active sheet. It returns the default editor and renderer of the sheet to a list box.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView;
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultEditor()));
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultRenderer()));
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultEditor()))
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultRenderer()))
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetView Class
SheetView Members
BaseEditor Class

User-Task Documentation

Placing and Retrieving Data

 

 


Copyright © GrapeCity, inc. All rights reserved.