Spread for ASP.NET 9.0 Product Documentation
GetDefaultRenderer Method
Example 


Gets the default renderer used to render the cell.
Syntax
'Declaration
 
Public Function GetDefaultRenderer() As IRenderer
'Usage
 
Dim instance As SheetView
Dim value As IRenderer
 
value = instance.GetDefaultRenderer()
public IRenderer GetDefaultRenderer()

Return Value

IRenderer object that represents the default renderer
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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetView Class
SheetView Members
BaseRenderer Class

 

 


Copyright © GrapeCity, inc. All rights reserved.