Udostępnij za pośrednictwem


View.NestedScrollingEnabled Property

Definition

Returns true if nested scrolling is enabled for this view. -or- Enable or disable nested scrolling for this view.

public virtual bool NestedScrollingEnabled { [Android.Runtime.Register("isNestedScrollingEnabled", "()Z", "GetIsNestedScrollingEnabledHandler")] get; [Android.Runtime.Register("setNestedScrollingEnabled", "(Z)V", "GetSetNestedScrollingEnabled_ZHandler")] set; }
[<get: Android.Runtime.Register("isNestedScrollingEnabled", "()Z", "GetIsNestedScrollingEnabledHandler")>]
[<set: Android.Runtime.Register("setNestedScrollingEnabled", "(Z)V", "GetSetNestedScrollingEnabled_ZHandler")>]
member this.NestedScrollingEnabled : bool with get, set

Property Value

true if nested scrolling is enabled

Attributes

Remarks

Property getter documentation:

Returns true if nested scrolling is enabled for this view.

If nested scrolling is enabled and this View class implementation supports it, this view will act as a nested scrolling child view when applicable, forwarding data about the scroll operation in progress to a compatible and cooperating nested scrolling parent.

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

Property setter documentation:

Enable or disable nested scrolling for this view.

If this property is set to true the view will be permitted to initiate nested scrolling operations with a compatible parent view in the current hierarchy. If this view does not implement nested scrolling this will have no effect. Disabling nested scrolling while a nested scroll is in progress has the effect of #stopNestedScroll() stopping the nested scroll.

Java documentation for android.view.View.setNestedScrollingEnabled(boolean).

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

See also