MonobjcMonobjc Documented Class Library
UseOptimizedDrawing Method (optimizedDrawing)
NamespacesMonobjc.AppKitNSWindowUseOptimizedDrawing(Boolean)

Specifies whether the window is to optimize focusing and drawing when displaying its views.

Original signature is '- (void)useOptimizedDrawing:(BOOL)optimizedDrawing'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void UseOptimizedDrawing(
	bool optimizedDrawing
)
Public Overridable Sub UseOptimizedDrawing ( _
	optimizedDrawing As Boolean _
)
public:
virtual void UseOptimizedDrawing(
	bool optimizedDrawing
)
Parameters
optimizedDrawing (Boolean)
If YES, the window will optimize focusing and drawing for its views; if NO, it will not, in which case, the window does not preserve the Z-ordering of overlapping views when an object explicitly sends lockFocus to a view and draws directly to it, instead of using the AppKit standard display mechanism.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)