3 Comments Already

commenter
Jason Said,
December 27th, 2010 @3:22 pm  

This is great and exactly what I need — only I need it for Windows Phone. I am working on back-porting it but have stumbled on your use of . Any ideas how to get around it?

Very well done! Thank you very much.

commenter
Aaron Said,
December 27th, 2010 @4:27 pm  

What? You didn’t say what the problem you were having was …. :)

commenter
Jason Said,
December 28th, 2010 @9:54 am  

Oh. It looks like XAML tags don’t come through in your comments. Sorry about that.

The problem is that the control won’t build for WP7 with this tag in place:
ei:ExtendedVisualStateManager

Because the ExtendedVisualStateManager is SL4 specific.

And then (I don’t know if this is related) if I take the ExtendedVisualStateManager out, this line results in a NULL at runtime:

_partContainer = this.GetTemplateChild(“PART_Container”) as Panel;

even if I take out the cast to Panel, it is still null.

I see you are doing WP7 stuff now, too, so I thought you might have a better idea than I do on how to work around the SL4 specific stuff.

Thanks!
–Jason

Related Post

Please Leave Your Comments Below

Please Note: All comments are moderated, so it may take some time before your comment appears.