StringElement's Selected explicitly calls

tableView.DeselectRow (indexPath, true);

which will turn the blue off :) So.... don't. :)

On Tue, Jul 10, 2012 at 12:01 PM, Phil Cockfield <[email protected]> wrote:

> I'm trying to something along the lines of the screen in the *Calendar*app 
> where you set the
> *Starts* and *Ends* times.
>
> I have two *StringElement*'s that Im' using as the *Starts* and 
> *Ends*buttons, and when one or the other is selected I am showing a 
> UIDatePicker.
>
>       Root = new RootElement("Schedule"){
>         new Section(""){
>           (startElement = new StringElement("Starts")),
>           (endElement = new StringElement("Ends"))
>         }
>       };
>
> What I can't see how to do is to make either* startElement* or *endElement
> * a "stateful" button.  That is to say, when it is selected, it retains
> it's blue background, expressing that this is the value that is being
> edited by the *DatePicker*.
>
> Is this possible with* StringElement*?  Equally, I can't see anything
> obvious to do this on the *StyledStringElement*.
>
> Thanks everyone.
> --
> *Phil *Cockfield
>
>
>
>
> _______________________________________________
> 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/

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
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