MonobjcMonobjc Documented Class Library
TextShouldEndEditing Method (textObject)
NamespacesMonobjc.AppKitNSMatrixTextShouldEndEditing(NSText)

Requests permission to end editing.

Original signature is '- (BOOL)textShouldEndEditing:(NSText *)textObject'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool TextShouldEndEditing(
	NSText textObject
)
Public Overridable Function TextShouldEndEditing ( _
	textObject As NSText _
) As Boolean
public:
virtual bool TextShouldEndEditing(
	NSText^ textObject
)
Parameters
textObject (NSText)
The text object requesting permission to end editing.
Return Value
YES if the text object should proceed to finish editing and resign first responder status. If the delegate returns NO, the text object selects all of its text and remains the first responder. The textShouldEndEditing: method returns NO if the text field contains invalid contents; otherwise it returns the value passed back from control:textShouldEndEditing:.
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)