I've got a class that is deriving from the MT.Dialog element, it looks like
this

https://gist.github.com/3851206


I've copied the way *StringElement* works, with an override of the *Selected
* method to fire the *Tapped* event.


    public override void Selected (DialogViewController dvc,
UITableView tableView, NSIndexPath indexPath)
    {
      // GRRRRR - this never gets invoked!
      if (Tapped != null)
        Tapped (this, EventArgs.Empty);
      tableView.DeselectRow (indexPath, true);
    }



Trouble is the *Selected *method is never getting invoked.  I can't see the
difference between what I've got, and the way StringElement is working.
 Any ideas what I'm missing here?

Thanks everyone!

-- 
*Phil *Cockfield
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to