Spread WPF Documentation
Workbook Property (Worksheet)
Example 


Gets the parent workbook for this sheet.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public ReadOnly Property Workbook As Workbook
'Usage
 
Dim instance As Worksheet
Dim value As Workbook
 
value = instance.Workbook
[System.ComponentModel.DefaultValue()]
public Workbook Workbook {get;}

Property Value

The parent workbook for this sheet.
Example
This example uses the Workbook property.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].Workbook.ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).Workbook.ToString())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.