MonobjcMonobjc Documented Class Library
NSControl..::..ControlTextShouldEndEditingEventHandler Delegate
NamespacesMonobjc.AppKitNSControlNSControl..::..ControlTextShouldEndEditingEventHandler

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 delegate bool ControlTextShouldEndEditingEventHandler(
	NSControl control,
	NSText fieldEditor
)
Public Delegate Function ControlTextShouldEndEditingEventHandler ( _
	control As NSControl, _
	fieldEditor As NSText _
) As Boolean
public delegate bool ControlTextShouldEndEditingEventHandler(
	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)