In wpf I used to have the following:
<r:MenuTool Caption="Book List" ItemContainerStyle="{StaticResource BookMenuItemStyle}" ItemsSource="{Binding Source={StaticResource BooksList}}" ItemTemplate="{StaticResource BooksTemplate}">
How to do the same in silverlight MenuTool. I don't see properties for ItemContainerStyle, ItemsSource and ItemTemplate
Raj
Hi Raj,
Unfortunatelly, you can't do this with the Silverlight MenuTool. The reason is that the WPF MenuTool is derived from ItemsControl while the Silverlight MenuTool is derived from DependencyObject. There are certain limitations in Silverlight we had to overcome that are causing this discrepancy.
Hope this helps,
Is there any other way to bind a collection to a menutool?
Georgi,
Thanks for the clarification.