Spread Windows Forms 6.0 Product Documentation
ColumnHeaderVisible Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : ColumnHeaderVisible Property


Glossary Item Box

Gets or sets whether the column headers for this sheet are visible.

Syntax

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

Property Value

Boolean: true if displayed; false otherwise

Remarks

This property is equivalent to the ColumnHeader.Visible property.

Set the RowHeaderVisible property to set the display of row headers.

Example

This example hides the column and row headers.
C#Copy Code
fpSpread1.ActiveSheet.ColumnHeaderVisible = false;
fpSpread1.ActiveSheet.RowHeaderVisible = false;
Visual BasicCopy Code
FpSpread1.ActiveSheet.ColumnHeaderVisible = False
FpSpread1.ActiveSheet.RowHeaderVisible = False

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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