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

Invoked when the insertion point leaves a cell belonging to the specified control, but before the value of the cell’s object is displayed.

Original signature is '- (BOOL)control:(NSControl *)control isValidObject:(id)object'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool ControlIsValidObjectEventHandler(
	NSControl control,
	Id object
Public Delegate Function ControlIsValidObjectEventHandler ( _
	control As NSControl, _
	object As Id _
) As Boolean
public delegate bool ControlIsValidObjectEventHandler(
	NSControl^ control, 
	Id^ object
control (NSControl)
The control whose object value needs to be validated.
object (Id)
The object value to validate.
Return Value
YES if you want to allow the control to display the specified value; otherwise, NO to reject the value and return the cursor to the control's cell.
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)