Enumeration used by the HorizontalScrollBarPolicy and VerticalScrollBarPolicy properties.

Namespace: yWorks.Canvas
Assembly: 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 nameDescription
Never0 Never display the scroll bar, even if not all of the content is visible.
AsNeeded1 Display the scroll bar when needed. This is the default behavior in most applications.
Always2 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.

See Also