A good overview for listbox customization is avail here:
http://blogs.msdn.com/delay/archive/2008/03/05/lb-sv-faq-examples-notes-tips-and-more-for-silverlight-2-beta-1-s-listbox-and-scrollviewer-controls.aspx

On Wed, May 14, 2008 at 10:54 AM, Andrea Boschin <[EMAIL PROTECTED]> wrote:

>  On Wed, May 14, 2008 at 9:45 AM, Stephen Price <[EMAIL PROTECTED]>
> wrote:
>
> > Hey all,
> >
> > I have a question on Databindings.
> >
> Your question is not really clear. I think you have assigned the
> DataTemplate to the wrong property (ItemContainerStyle). This property has
> to be used to give a <Style> to the item container. You have to assign the
> data template to the same ItemTemplate property.
>
> <ListBox x:Name="pageList" SelectionChanged="pageList_SelectionChanged"
> ItemTemplate="{StaticResource PageListBoxItem}" />
>
> But I'm not sure about your question... Is PageListBoxItem the
> DataTemplate you have put in the Resources section?
> If I didn't  understand please post a little more code.
>
> Bye
>
> --
> Andrea Boschin
> Microsoft(R) MVP - [Visual Developer - ASP/ASP.NET <http://asp.net/>]
> http://blog.boschin.it
> http://www.xedotnet.org
> http://mvp.support.microsoft.com/profile/Andrea.Boschin
>  -------------------------------------------------------------------
> 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
>



------------------------------------------------------------------- 
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