Hi,

I have a DataTemplate for a listbox ie, ItemTemplate="{StaticResource
ListBoxItemTemplate}"  that when I put into the App.xaml wont work, but if I
put it in the UserControl.Resources section in the same file does work. Is
this something related to there being no DynamicResource option with
Silverlight? I thought that would have worked as I have Styles in the
App.xaml file and they work no problems.

Actually, I have a MouseLeftButtonDown= handler in the datatemplate, maybe
thats the bit it's not liking... yep, I just tested it without the handler
and it works. Obviously I need the handler so I guess I have to leave it in
the same file. Unless there is another way around that?

cheers,
Stephen



------------------------------------------------------------------- 
OzSilverlight.com - to unsubscribe from this list, send a message back to the 
list with 'unsubscribe' as the subject.
Powered by mailenable.com - List managed by www.readify.net

Reply via email to