SpreadsheetTabSelectorOptions.Visibility Property
Gets or sets a value that indicates whether the Sheet Tab Selector of the SpreadsheetControl should be displayed or hidden.
Namespace: DevExpress.XtraSpreadsheet
Assembly: DevExpress.XtraSpreadsheet.v24.2.dll
NuGet Package: DevExpress.Win.Spreadsheet
#Declaration
[XtraSerializableProperty]
public SpreadsheetElementVisibility Visibility { get; set; }
#Property Value
Type | Description |
---|---|
Spreadsheet |
A Spreadsheet |
Available values:
Name | Description |
---|---|
Default | The element of the Spreadsheet |
Visible | The element of the Spreadsheet |
Hidden | The element of the Spreadsheet |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Visibility |
---|---|
Spreadsheet |
|
#Remarks
The Visibility property only specifies the way a document is displayed in the SpreadsheetControl (with or without the Sheet Tab Selector) and does not change a workbook file.
The image below shows the appearance of the SpreadsheetControl when the Sheet Tab Selector is hidden.
Note that even if the Sheet Tab Selector is hidden, you can still switch between worksheets by using the keyboard shortcuts. Press CTRL+PAGE DOWN to move to the next worksheet in the current document, or CTRL+PAGE UP to move to the previous worksheet in the workbook.
Note
Currently, the Spreadsheet