UIKit.UIView.SetNeedsDisplay Method
Marks the view dirty and queues a redraw operation on it.

Syntax

[Foundation.Export("setNeedsDisplay")]
public virtual void SetNeedsDisplay ()

Remarks

This method is invoked if 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.CoreGraphics.CGRect) method to be invoked.

Alternatively you can use the UIView.SetNeedsDisplayInRect(System.Drawing.CoreGraphics.CGRect) method to only mark a specific region of the view to be repainted.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0