3

When a StringElement has A Tapped Action associated with it, how do I get it to display a UITableViewCellAccessory.DisclosureIndicator ?

I can subclass it and roll my own, but I'd rather stick to the MonoTouch.Dialog framework.

StringElement s = new StringElement (item.Title);
s.Tapped += delegate { ShowDomainItem (s); };
Ian Vink
  • 66,960
  • 104
  • 341
  • 555

2 Answers2

5

Try StyledStringElement that allows many more settings to be configured than the StringElement.

miguel.de.icaza
  • 32,654
  • 6
  • 58
  • 76
2

To expand on what Miguel said:

new StyledStringElement ("Movie Cast") { Accessory = UITableViewCellAccessory.DisclosureIndicator }

BRogers
  • 3,534
  • 4
  • 23
  • 32