MonobjcMonobjc Documented Class Library
NSTokenField..::..TokenFieldMenuForRepresentedObjectEventHandler Delegate
NamespacesMonobjc.AppKitNSTokenFieldNSTokenField..::..TokenFieldMenuForRepresentedObjectEventHandler

Allows the delegate to provide a menu for the specified represented object.

Original signature is '- (NSMenu *)tokenField:(NSTokenField *)tokenField menuForRepresentedObject:(id)representedObject'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate NSMenu TokenFieldMenuForRepresentedObjectEventHandler(
	NSTokenField tokenField,
	Id representedObject
)
Public Delegate Function TokenFieldMenuForRepresentedObjectEventHandler ( _
	tokenField As NSTokenField, _
	representedObject As Id _
) As NSMenu
public delegate NSMenu^ TokenFieldMenuForRepresentedObjectEventHandler(
	NSTokenField^ tokenField, 
	Id^ representedObject
)
Parameters
tokenField (NSTokenField)
The token field that sent the message.
representedObject (Id)
A represented object of the token field.
Return Value
The menu associated with the represented object.
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)