Spread ASP.NET 6.0 Product Documentation
GetDefaultEditor Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : GetDefaultEditor Method


Glossary Item Box

Gets the default editor used to edit the cell.

Syntax

Visual Basic (Declaration) 
Public Function GetDefaultEditor() As IEditor
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As IEditor
 
value = instance.GetDefaultEditor()
C# 
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.
C#Copy Code
FarPoint.Web.Spread.SheetViewsv=FpSpread1.ActiveSheetView;
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultEditor()));
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultRenderer()));
Visual BasicCopy Code
DimsvAsFarPoint.Web.Spread.SheetView
sv=FpSpread1.ActiveSheetView
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultEditor()))
ListBox1.Items.Add(Convert.ToString(sv.GetDefaultRenderer()))

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.