MonobjcMonobjc Documented Class Library
ControlIsValidObject Event

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++
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)