Hey all,

I have a question on Databindings.

I had a ListBox and was using a binding in the Listbox.ItemTemplate like;

<ListBox.ItemTemplate>
    <DataTemplate>
        <StackPanel Style="{StaticResource MenuStackPanel}">
            <TextBlock Text="{Binding Title}" Style="{StaticResource
TitleBlock}"/>
        </StackPanel>
    </DataTemplate>
</ListBox.ItemTemplate>

but I've replaced the whole ItemTemplateStyle and am not sure how to bind
the content to the Title again.

it now looks like;

<ListBox x:Name="pageList" SelectionChanged="pageList_SelectionChanged"
ItemContainerStyle="{StaticResource PageListBoxItem}" />

have been searching and can't find any specific examples...

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