Enumeration used by the HorizontalScrollBarPolicy and
VerticalScrollBarPolicy properties.
Namespace: yWorks.CanvasAssembly: yWorks.yFilesNET.Viewer (in yWorks.yFilesNET.Viewer.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public enum ScrollBarVisibility |
| Visual Basic |
|---|
Public Enumeration ScrollBarVisibility |
Members
| Member name | Description | ||
|---|---|---|---|
| Never | 0 | Never display the scroll bar, even if not all of the content is visible. | |
| AsNeeded | 1 | Display the scroll bar when needed. This is the default behavior in most applications. | |
| Always | 2 | Always display the scroll bar. If it is not needed, i.e. if all content is already displaying, the scroll bar will remain visible but cannot be moved. |