you need to have a look inside EntryElement, and find the Entry item
(which is a UITextField) inside it. I'm not sure if it's
public/private/protected etc. And then set:

entry.ClearButtonMode = UITextFieldViewModeWhileEditing;

(actually, thats Obj-C - see what type ClearButtonMode is, and set it
appropriately)

Looks like entry is private, so you may need to subclass EntryElement,
override CreateTextField, and customize it after calling
base.CreateTextField(....)





On Thu, Jul 19, 2012 at 12:31 PM, Sayen <[email protected]> wrote:
> I cant find it out:
> Is it somehow possible to enable a Clear Button in to a EntryElement.
> Google does not realy help me...
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/EntryElement-with-ClearButton-tp4656061.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
Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
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