IViewParent.InvalidateChildInParent(Int32[], 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.
All or part of a child is dirty and needs to be redrawn.
[Android.Runtime.Register("invalidateChildInParent", "([ILandroid/graphics/Rect;)Landroid/view/ViewParent;", "GetInvalidateChildInParent_arrayILandroid_graphics_Rect_Handler:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.IViewParent? InvalidateChildInParent (int[]? location, Android.Graphics.Rect? r);
[<Android.Runtime.Register("invalidateChildInParent", "([ILandroid/graphics/Rect;)Landroid/view/ViewParent;", "GetInvalidateChildInParent_arrayILandroid_graphics_Rect_Handler:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member InvalidateChildInParent : int[] * Android.Graphics.Rect -> Android.Views.IViewParent
Parameters
- location
- Int32[]
An array of 2 ints containing the left and top coordinates of the child to invalidate
- r
- Rect
The area within the child that is invalid
Returns
the parent of this ViewParent or null
- Attributes
Remarks
All or part of a child is dirty and needs to be redrawn.
The location array is an array of two int values which respectively define the left and the top position of the dirty child.
This method must return the parent of this ViewParent if the specified rectangle must be invalidated in the parent. If the specified rectangle does not require invalidation in the parent or if the parent does not exist, this method must return null.
When this method returns a non-null value, the location array must have been updated with the left and top coordinates of this ViewParent.
This member is deprecated. Use #onDescendantInvalidated(View, View)
instead.
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.