使用Xamarin和一个自定义的表格单元格(自定义UITableViewCell派生),这工作得很好: [Register("MyCell")]
public class MyCell: UITableViewCell
{
private UILabel myLabel;
public MyCell(IntPtr handle)
: base(handle)
我在Monotouch.Dialog UITableView中有一系列StyledStringElements。 我希望每隔一行设置一个不同的背景颜色(财务报告)。 是否有现有的方法来做到这一点,如果不是,我可以重写什么来启用它? 在一个标准的UITableView我会创造一个新的委托对表是这样的: public class AlternatingTableViewDelegate : UITab