xamarin.ios - MonoTouch.Dialog:让 StringElement 拥有 AccessoryView

标签 xamarin.ios monotouch.dialog

当一个 StringElement 有一个与之关联的 Tapped Action 时,我如何让它显示一个 UITableViewCellAccessory.DisclosureIndicator ?

我可以将它子类化并推出我自己的,但我宁愿坚持使用 MonoTouch.Dialog 框架。

StringElement s = new StringElement (item.Title);
s.Tapped += delegate { ShowDomainItem (s); };

最佳答案

尝试 StyledStringElement,它允许配置比 StringElement 更多的设置。

关于xamarin.ios - MonoTouch.Dialog:让 StringElement 拥有 AccessoryView,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5618541/

相关文章:

ios - MonoTouch.Dialog:在同一 StringElement 中使用不同的字体

ios - 在 Monotouch.Dialog 中录制来自麦克风的声音

windows-phone-7 - MvvmCross - 共享多个 View 的 View 模型

c# - Xamarin : iOS Authentication error with Microsoft login

c# - Xamarin.iOS异步等待方法不起作用

c# - Xamarin iOS ViewCellRenderer

objective-c - 在 IOS 5 中控制网络设置

c# - MonoTouch.Dialog:在后台设置 StyledStringElement 图像

c# - 无法将 StringElement.Visible 绑定(bind)到 ViewModel 中的 bool 属性

iphone - StringElement 派生控件不更新标题