MonoTouch.UIKit.UIView.SetNeedsDisplayInRect Method
Marks a region of the view as dirty and queues a redraw operation on that region.

Syntax

[MonoTouch.Foundation.Export("setNeedsDisplayInRect:")]
public virtual void SetNeedsDisplayInRect (System.Drawing.RectangleF rect)

Parameters

rect
The region that will be marked as dirty.

Remarks

This method is invoked if a region of the contents of the view need to be refreshed due to a change of state or geometry. Invoking this method will cause the UIView.Draw(System.Drawing.RectangleF) method to be invoked.

Alternatively you can use the UIView.SetNeedsDisplay method if you want to repaint the entire view.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0