MonobjcMonobjc Documented Class Library
ControlDidFailToValidatePartialStringErrorDescriptionMessage Method (control, string, error)
NamespacesMonobjc.AppKitNSControl..::..NSControlTextEditingDelegateEventDispatcherControlDidFailToValidatePartialStringErrorDescriptionMessage(NSControl, NSString, NSString)

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 void ControlDidFailToValidatePartialStringErrorDescriptionMessage(
	NSControl control,
	NSString string,
	NSString error
Public Sub ControlDidFailToValidatePartialStringErrorDescriptionMessage ( _
	control As NSControl, _
	string As NSString, _
	error As NSString _
void ControlDidFailToValidatePartialStringErrorDescriptionMessage(
	NSControl^ control, 
	NSString^ string, 
	NSString^ error
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)