View.ComputeVerticalScrollRange 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 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
<p>The default range is the drawing height of this view.</p>
- 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.