Would it work if you just subscribe to the click event of the outter panel? Can you send the code of your ItemTemplate.
On Mon, Apr 19, 2010 at 9:58 PM, <danlaz...@arcamis.com> wrote: > Greg, > > Shame EventSetters don't seem to work. > > You've probably seen this already, but a quick google provided this > possible semi-code-behind approach - > http://forums.silverlight.net/forums/p/94976/292325.aspx > > > *From:* Greg Keogh <g...@mira.net> > *Sent:* Monday, April 19, 2010 9:49 PM > *To:* 'ozSilverlight' <ozsilverlight@ozsilverlight.com> > *Subject:* RE: Mouseclick in ListBox > > >Not 100% sure if its the same in Silverlight but I think this should > work > > > > ItemContainerStyle doesn’t seem to work and searches hint that the > EventSetter isn’t available for Silverlight. I’ve seen a few pages were > people use behaviours to get a similar effect. I’m studying them now. > > > > Which reminds me ... In my attempts to use binding everywhere possible I > still haven’t figured out which is the most elegant way of binding commands > (button clicks etc) so as to remove all event handlers from control > code-behind. > > > > Some people use a wrapper class, some use attached properties, and they all > argue with each other. Can anyone cut though the noise on this issue and > recommend the best way of binding command handlers? > > > > Greg > > ------------------------------ > > _______________________________________________ > ozsilverlight mailing list > ozsilverlight@ozsilverlight.com > http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight > > > _______________________________________________ > ozsilverlight mailing list > ozsilverlight@ozsilverlight.com > http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight > > -- Miguel A. Madero Reyes www.miguelmadero.com (blog) m...@miguelmadero.com
_______________________________________________ ozsilverlight mailing list ozsilverlight@ozsilverlight.com http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight