The Entry attribute has a Keyboard property, so you should be able to do

[Entry(Keyboard=UIKeyboardType.DecimalType)]

for a number pad. The autocorrect and autocaps isn't exposed - you
would need to do some changes in Reflect.cs (see what
AlignmentAttribute does, and is used in BindingContext, you wanna do
the same thing, but for the other properties)

I DO have a very old version of MT.D as my base, so it may be in a
more recent version on github (I made some changes and never
bothered/managed to merge into what Miguel has updated it to, tho to
ne honest, I've not had any bugs either!)

On Thu, Jul 7, 2011 at 18:39, vbisbest <[email protected]> wrote:
> I dont see an obvious way to disable the autocorrect and spell checking
> feature of a text field using the auto binding feature of the dialog
> controller.  For instance I have a User Name field and it auto capitalizes
> the first letter which I dont want.  I see you can customize the keyboard
> style, but thats about it.
>
> public class Settings
> {
>   [Entry ("User Name")]
>   public string user name;
>
>   [Password ("Password")]
>   public string password
> }
>
> Thanks,
> Ray
>
>
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/DialogViewController-and-UITextField-autocorrect-feature-tp3652177p3652177.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to