UIView.DrawRect(CGRect, UIViewPrintFormatter) Method

Definition

Developers should override this method if their appr draws the UIView contents.

C#
[Foundation.Export("drawRect:forViewPrintFormatter:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DrawRect(CoreGraphics.CGRect area, UIKit.UIViewPrintFormatter formatter);

Parameters

area
CGRect

The area that should be drawn.

Attributes

Remarks

Developers directly over-riding UIView need not call the base-class implementation.

Applies to

Product Versions
Xamarin iOS SDK 12