我有一个由反射创建的对话框,如下所示。当单击日期时,弹出窗口会改变形状,并呈现挤压的日期选择器,请参见下面的内容。
下面是我的课程以供参考。


[Preserve(AllMembers = true)]
public class EventEntity
{
[Section("Date of Measurement", "")]
[Indexed]
[Date]
public DateTime Date ;
[Section("Measurement Details", "")]
[Caption("Height")]
[Entry(Placeholder= "Centimeters",KeyboardType = UIKeyboardType.PhonePad)]
public string HeightCM ;
[Caption("Weight")]
[Entry(Placeholder= "Kilograms",KeyboardType = UIKeyboardType.PhonePad)]
public string WeightKG ;
[Caption("Head Circumference")]
[Entry(Placeholder = "Centimeters", KeyboardType = UIKeyboardType.PhonePad)]
public string HeadCircumferenceCM;
[Skip]
public int ChildFK ;
[Skip]
[PrimaryKey, AutoIncrement]
public int PK;
}发布于 2011-04-07 23:25:42
如果你给我提供一个自包含的测试用例,我可以研究一下调试。我从未在iPad中真正使用过MonoTouch.Dialog ;-)
https://stackoverflow.com/questions/4804430
复制相似问题