You should attach the clicked event to the UIBarButtonItem instance instead.
----- Original Message ----- From: "Andreas Ploetzeneder" <[email protected]> To: "René Ruppert" <[email protected]> Cc: [email protected] Sent: Thursday, November 10, 2011 5:39:17 AM Subject: Re: [MonoTouch] LeftBarButton Color If anybody is interested, i solved it this way: this .NavigationItem.LeftBarButtonItem = new UIBarButtonItem( new UIImageView(tt)); this .NavigationItem.LeftBarButtonItem.Clicked+= delegate { System.Diagnostics.Debug.WriteLine( "back" ); goback(); } ; But the Clicked Event is not beeing called,... _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
