ScrollBarVisibility Enumeration |
Specifies the visibility of a scrollbar within a ScrollViewer control.
Namespace: Windows.UI.Xaml.ControlsAssembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax public enum ScrollBarVisibility
Members
| Member name | Value | Description |
---|
| Disabled | 0 |
[DOESN'T WORK YET, BEHAVES LIKE Hidden]
A 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 ScrollViewer parent. For a horizontal ScrollBar, the width of the
content is set to the ViewportWidth of the ScrollViewer. For a vertical ScrollBar,
the height of the content is set to the ViewportHeight of the ScrollViewer.
|
| Auto | 1 |
A ScrollBar appears and the dimension of the ScrollViewer is applied to the
content when the viewport cannot display all of the content. For a horizontal
ScrollBar, the width of the content is set to the ViewportWidth of the ScrollViewer.
For a vertical ScrollBar, the height of the content is set to the ViewportHeight
of the ScrollViewer.
|
| Hidden | 2 |
A ScrollBar does not appear even when the viewport cannot display all of
the content. The dimension of the ScrollViewer is not applied to the content.
|
| Visible | 3 |
A ScrollBar always appears. The dimension of the ScrollViewer is applied
to the content. For a horizontal ScrollBar, the width of the content is set
to the ViewportWidth of the ScrollViewer. For a vertical ScrollBar, the height
of the content is set to the ViewportHeight of the ScrollViewer.
|
See Also