MonobjcMonobjc Documented Class Library
CurrentContext Property
NamespacesMonobjc.AppKitNSGraphicsContextCurrentContext

Returns the current graphics context of the current thread.

Original signature is '+ (NSGraphicsContext *)currentContext'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSGraphicsContext CurrentContext { get; set; }
Public Shared Property CurrentContext As NSGraphicsContext
	Get
	Set
public:
static property NSGraphicsContext^ CurrentContext {
	NSGraphicsContext^ get ();
	void set (NSGraphicsContext^ value);
}
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)