iphone - Changing EntryElement keyboard returnkeytype monotouch.dialog -
i'm using code changing keyboard returnkeytype
of entry element in monotouch.dialog
yet show 'return' on keyboard.
protected override monotouch.uikit.uitextfield createtextfield (system.drawing.rectanglef frame) { try { var field= base.createtextfield (frame); field .returnkeytype = uireturnkeytype.done; return field ; } catch (exception ex) { rltlog .handleexception (ex); return null ; } }
am wrong in thin
by looking on monotouch.dialog source codes find elemet, has attribute porpose. should use code this:
rltentryelement createserverurlentry(){ try { servernameentryelement = new entryelement ("website url","placeholder", "value"); servernameentryelement .returnkeytype = uireturnkeytype .done ; return servernameentryelement ; } catch (exception ex) { handleexception (ex); return null ; } }
Comments
Post a Comment