Spread for ASP.NET 7.0 Product Documentation
Sheet Property
See Also  Example Support Options
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 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

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