ScrollView.ComputeScrollDeltaToGetChildRectOnScreen(Rect) 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 amount to scroll in the Y direction in order to get a rectangle completely on the screen (or, if taller than the screen, at least the first screen size chunk of it).
[Android.Runtime.Register("computeScrollDeltaToGetChildRectOnScreen", "(Landroid/graphics/Rect;)I", "GetComputeScrollDeltaToGetChildRectOnScreen_Landroid_graphics_Rect_Handler")]
protected virtual int ComputeScrollDeltaToGetChildRectOnScreen (Android.Graphics.Rect? rect);
[<Android.Runtime.Register("computeScrollDeltaToGetChildRectOnScreen", "(Landroid/graphics/Rect;)I", "GetComputeScrollDeltaToGetChildRectOnScreen_Landroid_graphics_Rect_Handler")>]
abstract member ComputeScrollDeltaToGetChildRectOnScreen : Android.Graphics.Rect -> int
override this.ComputeScrollDeltaToGetChildRectOnScreen : Android.Graphics.Rect -> int
Parameters
- rect
- Rect
The rect.
Returns
The scroll delta.
- Attributes
Remarks
Compute the amount to scroll in the Y direction in order to get a rectangle completely on the screen (or, if taller than the screen, at least the first screen size chunk of it).
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.