Spread for ASP.NET 7.0 Product Documentation
Visible Property
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Column Class : Visible Property


Glossary Item Box

Gets or sets whether this column is visible.

Syntax

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

Property Value

Boolean: true if column is displayed; false otherwise

Example

This example shows how to hide the third (number 2 in zero-based) column.
C#Copy Code
FpSpread1.ActiveSheetView.Columns[2].Visible=false;
Visual BasicCopy Code
FpSpread1.ActiveSheetView.Columns(2).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.