|
Also, I had to remove the page context_menu.xaml to get the solution to build. When the page is included I get these errors:
The property 'Content' does not exist on the type 'ContextMenu' in the XML namespace 'clr-namespace:WindowsPhone7UXGuide'.
and
Property 'ContextMenu' does not support values of type 'ContextMenu'.
The related xaml:
<ListBoxItem ContentTemplate="{StaticResource DoubleLineListTemplate}" HorizontalContentAlignment="Left" Margin="0,0,0,4">
<toolkit:ContextMenuService.ContextMenu>
<local:ContextMenu>
<toolkit:MenuItem Header="Item 1"/>
<toolkit:MenuItem Header="Item 2"/>
<toolkit:MenuItem Header="Item 3"/>
<toolkit:MenuItem Header="Item 4"/>
<toolkit:MenuItem Header="Item 5"/>
</local:ContextMenu>
</toolkit:ContextMenuService.ContextMenu>
<local:MultiLineItem Line1="Largest (5 items)" Line2="Press and hold to view"/>
</ListBoxItem>
and
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
xmlns:local="clr-namespace:WindowsPhone7UXGuide"
|