View.ComputeVerticalScrollExtent Method

Definition

Compute the vertical extent of the vertical scrollbar's thumb within the vertical range.

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

Returns

the vertical extent of the scrollbar's thumb

Attributes

Remarks

Compute the vertical extent of the vertical scrollbar's thumb within the vertical range. This value is used to compute the length of the thumb within the scrollbar's track.

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

The default extent is the drawing height of this view.

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

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