NSView.LockFocusIfCanDraw Method

Definition

[Foundation.Export("lockFocusIfCanDraw")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Subclass NSView and implement 'DrawRect'.")]
[ObjCRuntime.ThreadSafe]
public virtual bool LockFocusIfCanDraw ();
abstract member LockFocusIfCanDraw : unit -> bool
override this.LockFocusIfCanDraw : unit -> bool

Returns

Attributes

Applies to