Spread Silverlight Documentation
Visible Property (Worksheet)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : Visible Property
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()
See Also

Reference

Worksheet Class
Worksheet Members