SpreadsheetScrollbarOptions.Visibility Property

Gets or sets a value that indicates whether the SpreadsheetControl's scrollbar should be displayed or hidden.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.XtraSpreadsheet.v20.1.dll

Declaration

[XtraSerializableProperty]
public SpreadsheetScrollbarVisibility Visibility { get; set; }
<XtraSerializableProperty>
Public Property Visibility As SpreadsheetScrollbarVisibility

Property Value

Type Description
SpreadsheetScrollbarVisibility

One of the SpreadsheetScrollbarVisibility enumeration values.

Property Paths

You can access this nested property as listed below:

Object Type Path to Visibility
SpreadsheetControl
SpreadsheetControl
SpreadsheetControlOptions
.HorizontalScrollbar.Visibility
SpreadsheetControlOptions
.VerticalScrollbar.Visibility

Remarks

Use the Visibility property to control the visibility of the horizontal and vertical scrollbars in the SpreadsheetControl. Note that this property only specifies the way a document is displayed in the SpreadsheetControl and does not change a workbook file.

NOTE

Currently, the SpreadsheetScrollbarVisibility.Auto value has no effect on the visual appearance of the SpreadsheetControl - both horizontal and vertical scrollbars will be displayed despite the settings of the loaded document.

See Also