MonobjcMonobjc Documented Class Library
ControlTextShouldEndEditingMessage Method (control, fieldEditor)
NamespacesMonobjc.AppKitNSControl..::..NSControlTextEditingDelegateEventDispatcherControlTextShouldEndEditingMessage(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++
public bool ControlTextShouldEndEditingMessage(
	NSControl control,
	NSText fieldEditor
Public Function ControlTextShouldEndEditingMessage ( _
	control As NSControl, _
	fieldEditor As NSText _
) As Boolean
bool ControlTextShouldEndEditingMessage(
	NSControl^ control, 
	NSText^ fieldEditor
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)