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 Basic | Visual C++ |
public event NSControl..::..ControlTextViewDoCommandBySelectorEventHandler ControlTextViewDoCommandBySelector
Public Event ControlTextViewDoCommandBySelector As NSControl..::..ControlTextViewDoCommandBySelectorEventHandler
public: event NSControl..::..ControlTextViewDoCommandBySelectorEventHandler^ ControlTextViewDoCommandBySelector { void add (NSControl..::..ControlTextViewDoCommandBySelectorEventHandler^ value); void remove (NSControl..::..ControlTextViewDoCommandBySelectorEventHandler^ value); }
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)