Spread WPF Documentation
Visible Property (Worksheet)
Example 


Gets or sets a value that indicates whether to display the sheet.
Syntax
'Declaration
 
<System.ComponentModel.DefaultValueAttribute()>
Public Property Visible As System.Boolean
'Usage
 
Dim instance As Worksheet
Dim value As System.Boolean
 
instance.Visible = value
 
value = instance.Visible
[System.ComponentModel.DefaultValue()]
public System.bool Visible {get; set;}

Property Value

true if the sheet is visible; otherwise, false.
Example
This example sets the Visible property.
gcSpreadSheet1.Sheets[0].StartingColumnNumber = 2;
gcSpreadSheet1.Sheets[0].StartingRowNumber = 2;
gcSpreadSheet1.Sheets.Count = 2;
gcSpreadSheet1.Sheets[1].Visible = false;
gcSpreadSheet1.Invalidate();
GcSpreadSheet1.Sheets(0).StartingColumnNumber = 2
GcSpreadSheet1.Sheets(0).StartingRowNumber = 2
GcSpreadSheet1.Sheets.Count = 2
GcSpreadSheet1.Sheets(1).Visible = False
GcSpreadSheet1.Invalidate()
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.