共用方式為


NSView.LockFocus 方法

定義

[Foundation.Export("lockFocus")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Subclass NSView and implement 'DrawRect'.")]
public virtual void LockFocus ();
abstract member LockFocus : unit -> unit
override this.LockFocus : unit -> unit
屬性

適用於