Spread for ASP.NET 11 Product Documentation
Sheet Property (RowEditTemplateContainer)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > RowEditTemplateContainer Class : Sheet Property
Gets the sheet.
Syntax
'Declaration
 
Public ReadOnly Property Sheet As SheetView
'Usage
 
Dim instance As RowEditTemplateContainer
Dim value As SheetView
 
value = instance.Sheet
public SheetView Sheet {get;}

Property Value

SheetView object containing the sheet
Example
This example sets a preview row and the preview row template container.
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);
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)
See Also

Reference

RowEditTemplateContainer Class
RowEditTemplateContainer Members