Category / Section
How to change the visibility of formula bar and headers at runtime in WinForms Spreadsheet (SfSpreadsheet)?
1 min read
Visibility of formula bar and header at runtime
Spreadsheet allows you to change the visibility of Formula bar and Headers at run time.
Formula Bar visibility:
You can change this by setting FormulaBarVisibility property of SfSpreadsheet.
C#
Spreadsheet.FormulaBarVisibility = Visibility.Collapsed;
Headers visibility
You can change this by calling the SetRowColumnHeadersVisibility method of Spreadsheet.
C#
Spreadsheet.SetRowColumnHeadersVisibility(false);
The following screenshot illustrates the Spreadsheet after collapse visibility of Formula Bar and Headers.
Samples: