MonobjcMonobjc Documented Class Library
SetColor Method (color)

Adjusts the receiver to make the specified color the currently selected color. (required)

Original signature is '- (void)setColor:(NSColor *)color'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
void SetColor(
	NSColor color
Sub SetColor ( _
	color As NSColor _
void SetColor(
	NSColor^ color
color (NSColor)
The color to set as the currently selected color.
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)