Spread ASP.NET 6.0 Product Documentation
Sheet Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > RowEditTemplateContainer Class : Sheet Property


Glossary Item Box

Gets the sheet.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Sheet As SheetView
Visual Basic (Usage)Copy Code
Dim instance As RowEditTemplateContainer
Dim value As SheetView
 
value = instance.Sheet
C# 
public SheetView Sheet {get;}

Property Value

SheetView object containing the sheet

Example

This example sets a preview row and the preview row template container.
C#Copy Code
FpSpread1.ActiveSheetView.Cells[1, 1].Text = "test";
RowEditTemplateContainer c= new RowEditTemplateContainer(FpSpread1.ActiveSheetView);
ListBox1.Items.Add(c.Sheet.RowCount.ToString());
ListBox1.Items.Add(c.Sheet.ColumnCount.ToString());
 ListBox1.Items.Add(c.Sheet.Cells[1, 1].Text);
Visual BasicCopy Code
FpSpread1.ActiveSheetView.Cells(1, 1).Text = "test"
Dim c As New RowEditTemplateContainer(FpSpread1.ActiveSheetView)
ListBox1.Items.Add(c.Sheet.RowCount.ToString())
ListBox1.Items.Add(c.Sheet.ColumnCount.ToString())
ListBox1.Items.Add(c.Sheet.Cells(1, 1).Text)

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.