Android.Views.View.PostInvalidate Method

Syntax

[Android.Runtime.Register("postInvalidate", "(IIII)V", "GetPostInvalidate_IIIIHandler")]
public virtual void PostInvalidate (int left, int top, int right, int bottom)

See Also

View.Invalidate(int, System.Int32, System.Int32, System.Int32)
View.Invalidate(Android.Graphics.Rect)
View.PostInvalidateDelayed(long, System.Int32, System.Int32, System.Int32, System.Int32)

Parameters

left
The left coordinate of the rectangle to invalidate.
top
The top coordinate of the rectangle to invalidate.
right
The right coordinate of the rectangle to invalidate.
bottom
The bottom coordinate of the rectangle to invalidate.

Remarks

Cause an invalidate of the specified area to happen on a subsequent cycle through the event loop. Use this to invalidate the View from a non-UI thread.

This method can be invoked from outside of the UI thread only when this View is attached to a window.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1