MonobjcMonobjc Documented Class Library
TextShouldBeginEditing Method (textObject)
NamespacesMonobjc.AppKitNSMatrixTextShouldBeginEditing(NSText)

Requests permission to begin editing text.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool TextShouldBeginEditing(
	NSText textObject
)
Public Overridable Function TextShouldBeginEditing ( _
	textObject As NSText _
) As Boolean
public:
virtual bool TextShouldBeginEditing(
	NSText^ textObject
)
Parameters
textObject (NSText)
The text object requesting permission to begin editing.
Return Value
YES if the text object should proceed to make changes. If the delegate returns NO, the text object abandons the editing operation. The default behavior of this method is to return the value obtained from control:textShouldBeginEditing:, unless the delegate doesn’t respond to that method, in which case it returns YES, thereby allowing text editing to proceed.
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)