UIView.DrawRect(CGRect, UIViewPrintFormatter) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
abstract member DrawRect : CoreGraphics.CGRect * UIKit.UIViewPrintFormatter -> unit
override this.DrawRect : CoreGraphics.CGRect * UIKit.UIViewPrintFormatter -> unit
- area
- CGRect
The area that should be drawn.
- formatter
- UIViewPrintFormatter
- Attributes
Developers directly over-riding UIView need not call the base-class implementation.
Product | Versions |
---|---|
Xamarin iOS SDK | 12 |