0
我有一个反射创建的对话框,如下所示。点击日期后,弹出窗口会更改形状并呈现日期选择器压扁,请参阅下面的内容。MonoTouch.Dialog:ContentSizeForViewInPopover更改日期
我的课程以下仅供参考。
[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;
}