Spread Windows Forms 12.0 Product Documentation
Visible Property (RowHeader)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > RowHeader Class : Visible Property
Gets or sets whether the row header is visible.
Public Property Visible As Boolean
Dim instance As RowHeader
Dim value As Boolean
instance.Visible = value
value = instance.Visible
public bool Visible {get; set;}

Property Value

Boolean: true to display the header; false otherwise

Set the ColumnHeader Visible property to manage the display of column headers.

To allow printing of the row header, use the ShowRowHeader property in the PrintInfo class.

This example hides the headers.
fpSpread1.ActiveSheet.ColumnHeader.RowCount = 3; 

fpSpread1.ActiveSheet.RowHeader.ColumnCount = 3; 
DialogResult dlg; 
dlg = MessageBox.Show("Do you want to hide the headers?"); 

if (dlg == DialogResult.OK) 
fpSpread1.ActiveSheet.ColumnHeader.Visible = false; 
fpSpread1.ActiveSheet.RowHeader.Visible = false;
fpSpread1.ActiveSheet.ColumnHeader.RowCount = 3 

fpSpread1.ActiveSheet.RowHeader.ColumnCount = 3 

Dim dlg As DialogResult 
dlg = MessageBox.Show("Do you want to hide the headers?") 

If dlg = DialogResult.OK Then 
fpSpread1.ActiveSheet.ColumnHeader.Visible = False 
fpSpread1.ActiveSheet.RowHeader.Visible = False 

End If
See Also


RowHeader Class
RowHeader Members
Visible Property (ColumnHeader)
ShowRowHeader Property (PrintInfo)

User-Task Documentation

Showing or Hiding Headers