Share via


View.ComputeVerticalScrollRange Method

Definition

Compute the vertical range that the vertical scrollbar represents.

[Android.Runtime.Register("computeVerticalScrollRange", "()I", "GetComputeVerticalScrollRangeHandler")]
protected virtual int ComputeVerticalScrollRange ();
[<Android.Runtime.Register("computeVerticalScrollRange", "()I", "GetComputeVerticalScrollRangeHandler")>]
abstract member ComputeVerticalScrollRange : unit -> int
override this.ComputeVerticalScrollRange : unit -> int

Returns

the total vertical range represented by the vertical scrollbar

        &lt;p&gt;The default range is the drawing height of this view.&lt;/p&gt;
Attributes

Remarks

Compute the vertical range that the vertical scrollbar represents.

The range is expressed in arbitrary units that must be the same as the units used by #computeVerticalScrollExtent() and #computeVerticalScrollOffset().

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

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