MonobjcMonobjc Documented Class Library
TakeColorFrom Method (sender)

Changes the color of the receiver to that of the specified object.

Original signature is '- (void)takeColorFrom:(id)sender'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void TakeColorFrom(
	Id sender
Public Overridable Sub TakeColorFrom ( _
	sender As Id _
virtual void TakeColorFrom(
	Id^ sender
sender (Id)
The object from which to take the new 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)