Share via


View.ComputeHorizontalScrollExtent Method

Definition

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

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

Returns

the horizontal extent of the scrollbar's thumb

Attributes

Remarks

Compute the horizontal extent of the horizontal scrollbar's thumb within the horizontal 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 #computeHorizontalScrollRange() and #computeHorizontalScrollOffset().

The default extent is the drawing width of this view.

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

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