MonobjcMonobjc Documented Class Library
NSControl..::..ControlDidFailToValidatePartialStringErrorDescriptionEventHandler Delegate
NamespacesMonobjc.AppKitNSControlNSControl..::..ControlDidFailToValidatePartialStringErrorDescriptionEventHandler

Invoked when the formatter for the cell belonging to control (or selected cell) rejects a partial string a user is typing into the cell.

Original signature is '- (void)control:(NSControl *)control didFailToValidatePartialString:(NSString *)string errorDescription:(NSString *)error'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate void ControlDidFailToValidatePartialStringErrorDescriptionEventHandler(
	NSControl control,
	NSString string,
	NSString error
)
Public Delegate Sub ControlDidFailToValidatePartialStringErrorDescriptionEventHandler ( _
	control As NSControl, _
	string As NSString, _
	error As NSString _
)
public delegate void ControlDidFailToValidatePartialStringErrorDescriptionEventHandler(
	NSControl^ control, 
	NSString^ string, 
	NSString^ error
)
Parameters
control (NSControl)
The control whose cell rejected the string.
string (NSString)
The string that includes the character that caused the rejection.
error (NSString)
A localized, user-presentable string that explains why the string was 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)