View.ScrollBarStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the current scrollbar style. -or- Specify the style of the scrollbars.
public virtual Android.Views.ScrollbarStyles ScrollBarStyle { [Android.Runtime.Register("getScrollBarStyle", "()I", "GetGetScrollBarStyleHandler")] get; [Android.Runtime.Register("setScrollBarStyle", "(I)V", "GetSetScrollBarStyle_IHandler")] set; }
[<get: Android.Runtime.Register("getScrollBarStyle", "()I", "GetGetScrollBarStyleHandler")>]
[<set: Android.Runtime.Register("setScrollBarStyle", "(I)V", "GetSetScrollBarStyle_IHandler")>]
member this.ScrollBarStyle : Android.Views.ScrollbarStyles with get, set
Property Value
the current scrollbar style
- Attributes
Remarks
Property getter documentation:
Returns the current scrollbar style.
Java documentation for android.view.View.getScrollBarStyle()
.
Property setter documentation:
Specify the style of the scrollbars. The scrollbars can be overlaid or inset. When inset, they add to the padding of the view. And the scrollbars can be drawn inside the padding area or on the edge of the view. For example, if a view has a background drawable and you want to draw the scrollbars inside the padding specified by the drawable, you can use SCROLLBARS_INSIDE_OVERLAY or SCROLLBARS_INSIDE_INSET. If you want them to appear at the edge of the view, ignoring the padding, then you can use SCROLLBARS_OUTSIDE_OVERLAY or SCROLLBARS_OUTSIDE_INSET.
Java documentation for android.view.View.setScrollBarStyle(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.