0

I need to call catch action of ImageView inside NSTableCellView.

I add some action for it, but when I click the row action is not called... enter image description here

I have set accept touch event property true, but no result

PatientTableView.AcceptsTouchEvents = true;
Nininea
  • 2,671
  • 6
  • 31
  • 57

1 Answers1

0

image view does not support click action (use NSButton for that).

It does support an action when a user drags an image on to it (if the imageview is set to editable). Never used this thought. I never use actions in xcode. But always subscribe to an event on the control in c#. For the default action this is the Activated event.

svn
  • 1,235
  • 10
  • 22