Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Monotouch.Dialog 在我的 iphone monotouch 应用程序中创建一个页面。问题是有没有办法让入口元素在表中只读?
继承 EntryElement 并覆盖 CreateTextField
protected override UITextField CreateTextField(System.Drawing.RectangleF frame) { var field = base.CreateTextField(frame); field.Enabled = false; return field; }