0

我有一个反射创建的对话框,如下所示。单击日期时,弹出框会改变形状并使日期选择器被压扁,见下文。

我的班级在下面供参考。

在此处输入图像描述

在此处输入图像描述

[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;

}
4

1 回答 1

0

如果您为我提供一个独立的测试用例,我可以考虑调试它。我从来没有真正在 iPad 中使用过 MonoTouch.Dialog ;-)

于 2011-04-07T15:25:41.743 回答