MonobjcMonobjc Documented Class Library
TokenFieldCellStyleForRepresentedObject Method (tokenFieldCell, representedObject)
NamespacesMonobjc.AppKitINSTokenFieldCellDelegateTokenFieldCellStyleForRepresentedObject(NSTokenFieldCell, Id)

Allows the delegate to return the token style for editing the specified represented object.

Original signature is '- (NSTokenStyle)tokenFieldCell:(NSTokenFieldCell *)tokenFieldCell styleForRepresentedObject:(id)representedObject'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSTokenStyle TokenFieldCellStyleForRepresentedObject(
	NSTokenFieldCell tokenFieldCell,
	Id representedObject
Function TokenFieldCellStyleForRepresentedObject ( _
	tokenFieldCell As NSTokenFieldCell, _
	representedObject As Id _
) As NSTokenStyle
NSTokenStyle TokenFieldCellStyleForRepresentedObject(
	NSTokenFieldCell^ tokenFieldCell, 
	Id^ representedObject
tokenFieldCell (NSTokenFieldCell)
The token field cell that sent the message.
representedObject (Id)
A represented object of the token field cell.
Return Value
The style that should be used to display the representedObject. Possible values are shown in NSTokenStyle_Values.
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)