Läs på engelska

Dela via


View.ComputeVerticalScrollExtent Method

Definition

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

C#
[Android.Runtime.Register("computeVerticalScrollExtent", "()I", "GetComputeVerticalScrollExtentHandler")]
protected virtual int ComputeVerticalScrollExtent();

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35

See also