4

I'm using Monotouch.Dialog for creating a page in my iphone monotouch application. The question is that is there a way for making entry element read only in the table?

Husein Behboudi Rad
  • 5,434
  • 11
  • 57
  • 115

1 Answers1

5

Inherit EntryElement and override CreateTextField

    protected override UITextField CreateTextField(System.Drawing.RectangleF frame)
    {
        var field = base.CreateTextField(frame);
        field.Enabled = false;
        return field;
    }
Igor Antsiferov
  • 273
  • 2
  • 9