MonobjcMonobjc Documented Class Library
ControlTextShouldEndEditing Method (control, fieldEditor)
NamespacesMonobjc.AppKitINSControlTextEditingDelegateControlTextShouldEndEditing(NSControl, NSText)

Invoked when the insertion point tries to leave a cell of the control that has been edited.

Original signature is '- (BOOL)control:(NSControl *)control textShouldEndEditing:(NSText *)fieldEditor'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool ControlTextShouldEndEditing(
	NSControl control,
	NSText fieldEditor
)
Function ControlTextShouldEndEditing ( _
	control As NSControl, _
	fieldEditor As NSText _
) As Boolean
bool ControlTextShouldEndEditing(
	NSControl^ control, 
	NSText^ fieldEditor
)
Parameters
control (NSControl)
The control for which editing is about to end.
fieldEditor (NSText)
The field editor of the control. You can use this parameter to get the edited text.
Return Value
YES if the insertion point should be allowed to end the editing session; otherwise, NO.
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)