3
Vote

Using like Toolbar

description

Hi,
cant use Menu like Toolbar (with images):
    <!--Menu that uses like ToolBar with images-->
    <menu:Menu x:Name="MainMenu3" Grid.Row="2" Background="DarkSeaGreen">
        <menu:MenuItem>
            <menu:MenuItem.ItemTemplate>
                <DataTemplate>
                    <Image Source="/Images/add2.png"/>
                </DataTemplate>
            </menu:MenuItem.ItemTemplate>
        </menu:MenuItem>
        <menu:MenuItem>
            <menu:MenuItem.ItemTemplate>
                <DataTemplate>
                    <Image Source="/Images/document_edit.png"/>
                </DataTemplate>
            </menu:MenuItem.ItemTemplate>
        </menu:MenuItem>
        <menu:MenuItem>
            <menu:MenuItem.ItemTemplate>
                <DataTemplate>
                    <Image Source="/Images/delete2.png"/>
                </DataTemplate>
            </menu:MenuItem.ItemTemplate>
        </menu:MenuItem>
    </menu:Menu>
 
this is are bug?
can you help me?
 
Thanks

comments

VorTechS wrote Jan 19, 2010 at 12:57 PM

I'm struggling to work out how to use an image in the data template also...

wrote Mar 2, 2010 at 10:06 AM

wrote Feb 13, 2013 at 6:33 PM