View.ComputeVerticalScrollOffset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compute the vertical offset of the vertical scrollbar's thumb within the horizontal range.
[Android.Runtime.Register("computeVerticalScrollOffset", "()I", "GetComputeVerticalScrollOffsetHandler")]
protected virtual int ComputeVerticalScrollOffset ();
[<Android.Runtime.Register("computeVerticalScrollOffset", "()I", "GetComputeVerticalScrollOffsetHandler")>]
abstract member ComputeVerticalScrollOffset : unit -> int
override this.ComputeVerticalScrollOffset : unit -> int
Returns
the vertical offset of the scrollbar's thumb
- Attributes
Remarks
Compute the vertical offset of the vertical scrollbar's thumb within the horizontal range. This value is used to compute the position 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 #computeVerticalScrollExtent()
.
The default offset is the scroll offset of this view.
Java documentation for android.view.View.computeVerticalScrollOffset()
.
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.