MonobjcMonobjc Documented Class Library
ControlTextViewDoCommandBySelector Method (control, textView, command)
NamespacesMonobjc.AppKitINSControlTextEditingDelegateControlTextViewDoCommandBySelector(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++
bool ControlTextViewDoCommandBySelector(
	NSControl control,
	NSTextView textView,
	IntPtr command
)
Function ControlTextViewDoCommandBySelector ( _
	control As NSControl, _
	textView As NSTextView, _
	command As IntPtr _
) As Boolean
bool ControlTextViewDoCommandBySelector(
	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)