Sdílet prostřednictvím


View.OverScrollMode Property

Definition

Returns the over-scroll mode for this view. -or- Set the over-scroll mode for this view.

public virtual Android.Views.OverScrollMode OverScrollMode { [Android.Runtime.Register("getOverScrollMode", "()I", "GetGetOverScrollModeHandler")] get; [Android.Runtime.Register("setOverScrollMode", "(I)V", "GetSetOverScrollMode_IHandler")] set; }
[<get: Android.Runtime.Register("getOverScrollMode", "()I", "GetGetOverScrollModeHandler")>]
[<set: Android.Runtime.Register("setOverScrollMode", "(I)V", "GetSetOverScrollMode_IHandler")>]
member this.OverScrollMode : Android.Views.OverScrollMode with get, set

Property Value

This view's over-scroll mode.

Attributes

Remarks

Property getter documentation:

Returns the over-scroll mode for this view. The result will be one of #OVER_SCROLL_ALWAYS, #OVER_SCROLL_IF_CONTENT_SCROLLS (allow over-scrolling only if the view content is larger than the container), or #OVER_SCROLL_NEVER.

Java documentation for android.view.View.getOverScrollMode().

Property setter documentation:

Set the over-scroll mode for this view. Valid over-scroll modes are #OVER_SCROLL_ALWAYS, #OVER_SCROLL_IF_CONTENT_SCROLLS (allow over-scrolling only if the view content is larger than the container), or #OVER_SCROLL_NEVER.

Setting the over-scroll mode of a view will have an effect only if the view is capable of scrolling.

Java documentation for android.view.View.setOverScrollMode(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.

Applies to