Enum
ScrollBarVisibility

Definition

Namespace:Telerik.WinControls.Spreadsheet.UI

Assembly:Telerik.WinControls.RadSpreadsheet.dll

Syntax:

cs-api-definition
public enum ScrollBarVisibility

Fields

Auto

A System.Windows.Controls.Primitives.ScrollBar appears and the dimension of the System.Windows.Controls.ScrollViewer is applied to the content when the viewport cannot display all of the content. For a horizontal System.Windows.Controls.Primitives.ScrollBar, the width of the content is set to the System.Windows.Controls.ScrollViewer.ViewportWidth of the System.Windows.Controls.ScrollViewer. For a vertical System.Windows.Controls.Primitives.ScrollBar, the height of the content is set to the System.Windows.Controls.ScrollViewer.ViewportHeight of the System.Windows.Controls.ScrollViewer.

Declaration

cs-api-definition
Auto = 1

Field Value

ScrollBarVisibility

Disabled

A System.Windows.Controls.Primitives.ScrollBar does not appear even when the viewport cannot display all of the content. The dimension of the content is set to the corresponding dimension of the System.Windows.Controls.ScrollViewer parent. For a horizontal System.Windows.Controls.Primitives.ScrollBar, the width of the content is set to the System.Windows.Controls.ScrollViewer.ViewportWidth of the System.Windows.Controls.ScrollViewer. For a vertical System.Windows.Controls.Primitives.ScrollBar, the height of the content is set to the System.Windows.Controls.ScrollViewer.ViewportHeight of the System.Windows.Controls.ScrollViewer.

Declaration

cs-api-definition
Disabled = 0

Field Value

ScrollBarVisibility

Hidden

A System.Windows.Controls.Primitives.ScrollBar does not appear even when the viewport cannot display all of the content. The dimension of the System.Windows.Controls.ScrollViewer is not applied to the content.

Declaration

cs-api-definition
Hidden = 2

Field Value

ScrollBarVisibility

Visible

A System.Windows.Controls.Primitives.ScrollBar always appears. The dimension of the System.Windows.Controls.ScrollViewer is applied to the content. For a horizontal System.Windows.Controls.Primitives.ScrollBar, the width of the content is set to the System.Windows.Controls.ScrollViewer.ViewportWidth of the System.Windows.Controls.ScrollViewer. For a vertical System.Windows.Controls.Primitives.ScrollBar, the height of the content is set to the System.Windows.Controls.ScrollViewer.ViewportHeight of the System.Windows.Controls.ScrollViewer.

Declaration

cs-api-definition
Visible = 3

Field Value

ScrollBarVisibility

In this article
DefinitionFieldsAutoDisabledHiddenVisible
Not finding the help you need?
Contact Support