Spread Silverlight 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 uses 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, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.