开发者

MonoTouch.Dialog: Getting StringElement to have an AccessoryView

When a StringElement has A Tapped Ac开发者_运维技巧tion 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); };


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


To expand on what Miguel said:

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜