MonobjcMonobjc Documented Class Library
NSControl..::..ControlDidFailToFormatStringErrorDescriptionEventHandler Delegate

Invoked when the formatter for the cell belonging to the specified control cannot convert a string to an underlying object.

Original signature is '- (BOOL)control:(NSControl *)control didFailToFormatString:(NSString *)string errorDescription:(NSString *)error'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool ControlDidFailToFormatStringErrorDescriptionEventHandler(
	NSControl control,
	NSString string,
	NSString error
Public Delegate Function ControlDidFailToFormatStringErrorDescriptionEventHandler ( _
	control As NSControl, _
	string As NSString, _
	error As NSString _
) As Boolean
public delegate bool ControlDidFailToFormatStringErrorDescriptionEventHandler(
	NSControl^ control, 
	NSString^ string, 
	NSString^ error
control (NSControl)
The control whose cell could not convert the string.
string (NSString)
The string that could not be converted.
error (NSString)
A localized, user-presentable string that explains why the conversion failed.
Return Value
YES if the value in the string parameter should be accepted as is; otherwise, NO if the value in the parameter should be rejected.
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)