MonobjcMonobjc Documented Class Library
ControlIsValidObjectMessage Method (control, object)
NamespacesMonobjc.AppKitNSControl..::..NSControlTextEditingDelegateEventDispatcherControlIsValidObjectMessage(NSControl, Id)

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 bool ControlIsValidObjectMessage(
	NSControl control,
	Id object
)
Public Function ControlIsValidObjectMessage ( _
	control As NSControl, _
	object As Id _
) As Boolean
public:
bool ControlIsValidObjectMessage(
	NSControl^ control, 
	Id^ object
)
Parameters
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)