Share via


NSView.LockFocusIfCanDraw 方法

定义

[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

返回

属性

适用于