GrapeCity.Xaml.SpreadSheet.Data
Visible Property (Worksheet)
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : Visible Property
Gets or sets a value that indicates whether to display the sheet.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property Visible As Boolean
'Usage
 
Dim instance As Worksheet
Dim value As Boolean
 
instance.Visible = value
 
value = instance.Visible
[DefaultValue()]
public 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.Sheets(0).StartingColumnNumber = 2
GcSpreadSheet1.Sheets(0).StartingRowNumber = 2
GcSpreadSheet1.Sheets.Count = 2
GcSpreadSheet1.Sheets(1).Visible = False
See Also

Reference

Worksheet Class
Worksheet Members