Dela via


IViewParent.InvalidateChild(View, Rect) Method

Definition

All or part of a child is dirty and needs to be redrawn.

[Android.Runtime.Register("invalidateChild", "(Landroid/view/View;Landroid/graphics/Rect;)V", "GetInvalidateChild_Landroid_view_View_Landroid_graphics_Rect_Handler:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void InvalidateChild (Android.Views.View? child, Android.Graphics.Rect? r);
[<Android.Runtime.Register("invalidateChild", "(Landroid/view/View;Landroid/graphics/Rect;)V", "GetInvalidateChild_Landroid_view_View_Landroid_graphics_Rect_Handler:Android.Views.IViewParentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member InvalidateChild : Android.Views.View * Android.Graphics.Rect -> unit

Parameters

child
View

The child which is dirty

r
Rect

The area within the child that is invalid

Attributes

Remarks

All or part of a child is dirty and needs to be redrawn.

This member is deprecated. Use #onDescendantInvalidated(View, View) instead.

Java documentation for android.view.ViewParent.invalidateChild(android.view.View, android.graphics.Rect).

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.

Applies to