Specifies when a scroll bar is shown and whether the viewport constrains the content size.
Definition
Namespace:Telerik.WinControls.Spreadsheet.UI
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public enum ScrollBarVisibility
Fields
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.
Auto = 1
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.
Disabled = 0
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.
Hidden = 2
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.
Visible = 3