On 2012.08.24 14:14, René Ruppert wrote:
Like that:

var elem = new StringElement("Tap tap!", delegate { 
this.NavigationController.PopViewController()  } );
Thanks a lot. I have bunch of delegates, but as methods in some objects and could not find what I need to go back. Was it DialogViewController or RootElement, not it's clear
UINavigationController...

thanks a lot

mel

René

Am 24.08.2012 um 13:14 schrieb Miljenko Cvjetko <[email protected]>:

Hi

How can I navigate back with events (let say Tapped for String element)? 
Programmatically

Section s = someelement.Parent as Section;
RootElement re = s.Parent as RootElement;
// how to get to DialogViewControler or something to navigate back?


Thanks

mel

PS
I have posted question in SO too:
http://stackoverflow.com/questions/12108278/monotouch-dialog-using-events-on-arbitrary-element-to-navigate-back

--
Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rješenja/Solution Architect  
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: [email protected]
w: http://www.holisticware.net

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch


--
Miljenko Cvjetko dipl.ing. ET
        Direktor/CEO
        Projektant rješenja/Solution Architect  
        Razvojni programer/Senior developer
        Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: [email protected]
w: http://www.holisticware.net

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to