Spread ASP.NET 6.0 Product Documentation
Visible Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : Visible Property


Glossary Item Box

Gets or sets whether to display the sheet.

Syntax

Visual Basic (Declaration) 
Public Property Visible As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim value As Boolean
 
instance.Visible = value
 
value = instance.Visible
C# 
public bool Visible {get; set;}

Property Value

true to display the sheet; false to hide the sheet

Remarks

Remember that sheets are zero-indexed, so the first sheet is numbered 0.

Note: if the component only has one sheet and you hide it, then nothing shows up in the component.

Example

This example hides a sheet in a multiple sheet component.
C#Copy Code
FarPoint.Web.Spread.SheetViewsv;
sv=FpSpread1.Sheets[4];
sv.Visible=false;
Visual BasicCopy Code
DimsvAsFarPoint.Web.Spread.SheetView
sv=FpSpread1.Sheets(4)
sv.Visible=False

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.