Spread for ASP.NET 7.0 Product Documentation
Visible Property
See Also  Example Support Options
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.SheetView sv;
sv=FpSpread1.Sheets[4];
sv.Visible=false;
Visual BasicCopy Code
Dim sv As FarPoint.Web.Spread.SheetView
sv=FpSpread1.Sheets(4)
sv.Visible=False

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.