MonobjcMonobjc Documented Class Library
ControlTextViewDoCommandBySelectorMessage Method (control, textView, command)
NamespacesMonobjc.AppKitNSControl..::..NSControlTextEditingDelegateEventDispatcherControlTextViewDoCommandBySelectorMessage(NSControl, NSTextView, IntPtr)

Invoked when users press keys with predefined bindings in a cell of the specified control.

Original signature is '- (BOOL)control:(NSControl *)control textView:(NSTextView *)textView doCommandBySelector:(SEL)command'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public bool ControlTextViewDoCommandBySelectorMessage(
	NSControl control,
	NSTextView textView,
	IntPtr command
)
Public Function ControlTextViewDoCommandBySelectorMessage ( _
	control As NSControl, _
	textView As NSTextView, _
	command As IntPtr _
) As Boolean
public:
bool ControlTextViewDoCommandBySelectorMessage(
	NSControl^ control, 
	NSTextView^ textView, 
	IntPtr command
)
Parameters
control (NSControl)
The control whose cell initiated the message. If the control contains multiple cells, the one that initiated the message is usually the selected cell.
textView (NSTextView)
The field editor of the control.
command (IntPtr)
The selector that was associated with the binding.
Return Value
YES if the delegate object handles the key binding; 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)