View.ComputeHorizontalScrollRange 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 horizontal range that the horizontal scrollbar represents.
[Android.Runtime.Register("computeHorizontalScrollRange", "()I", "GetComputeHorizontalScrollRangeHandler")]
protected virtual int ComputeHorizontalScrollRange ();
[<Android.Runtime.Register("computeHorizontalScrollRange", "()I", "GetComputeHorizontalScrollRangeHandler")>]
abstract member ComputeHorizontalScrollRange : unit -> int
override this.ComputeHorizontalScrollRange : unit -> int
Returns
the total horizontal range represented by the horizontal scrollbar
- Attributes
Remarks
Compute the horizontal range that the horizontal scrollbar represents.
The range is expressed in arbitrary units that must be the same as the units used by #computeHorizontalScrollExtent()
and #computeHorizontalScrollOffset()
.
The default range is the drawing width of this view.
Java documentation for android.view.View.computeHorizontalScrollRange()
.
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.