Xamarin.Android | ComponentOne
C1.Android.Core Assembly / C1.Android.Core Namespace / ScrollBarVisibility Enumeration


In This Topic
    ScrollBarVisibility Enumeration
    In This Topic
    Specifies the visibility of a ScrollBar for scrollable content.
    Syntax
    'Declaration
     
    
    Public Enum ScrollBarVisibility 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As ScrollBarVisibility
    public enum ScrollBarVisibility : System.Enum 
    Members
    MemberDescription
    Auto 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 ScrollViewer.ViewportWidth of the ScrollViewer. For a vertical ScrollBar, the height of the content is set to the ScrollViewer.ViewportHeight of the ScrollViewer.
    Disabled 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 ScrollViewer.ViewportWidth of the ScrollViewer. For a vertical ScrollBar, the height of the content is set to the ScrollViewer.ViewportHeight of the ScrollViewer.
    Hidden 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 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 ScrollViewer.ViewportWidth of the ScrollViewer. For a vertical ScrollBar, the height of the content is set to the ScrollViewer.ViewportHeight of the ScrollViewer.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Android.Core.ScrollBarVisibility

    See Also