<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:enums="clr-namespace:StructureHelper.Infrastructure.Enums"
                    xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
                    xmlns:infrastructure="clr-namespace:StructureHelper.Infrastructure"
                    xmlns:mouseEventTriggers="clr-namespace:StructureHelper.Infrastructure.UI.Triggers.MouseEventTriggers">
    <ContextMenu x:Key="PrimitiveCRUD">
        <MenuItem Header="Edit" Command="{Binding Edit}">
            <MenuItem.Icon>
                <Image Width="16" Height="16" Source="/Windows/MainWindow/Edit.png" />
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="Copy" Command="{Binding Copy}">
            <MenuItem.Icon>
                <Image Width="16" Height="16" Source="/Windows/MainWindow/Copy.png" />
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="Copy To" Command="{Binding CopyTo}">
            <MenuItem.Icon>
                <Image Width="16" Height="16" Source="/Windows/MainWindow/Copy.png" />
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="Delete" Command="{Binding Delete}">
            <MenuItem.Icon>
                <Image Width="16" Height="16" Source="/Windows/MainWindow/Delete.png" />
            </MenuItem.Icon>
        </MenuItem>
        <Separator/>
        <MenuItem Header="To Foreground" Command="{Binding SetToFront}">
            <MenuItem.Icon>
                <Image Width="16" Height="16" Source="/Windows/MainWindow/ToForeground.png" />
            </MenuItem.Icon>
        </MenuItem>
        <MenuItem Header="To Background" Command="{Binding SetToBack}">
            <MenuItem.Icon>
                <Image Width="16" Height="16" Source="/Windows/MainWindow/ToBackground.png" />
            </MenuItem.Icon>
        </MenuItem>
        <Separator/>
        <MenuItem Header="Set as host" Command="{Binding SetAsHostCommand}">
        </MenuItem>
        <MenuItem Header="Set material to primitives" Command="{Binding SetMaterialToPrimitivesCommand}"/>
        <MenuItem Header="Set host to primitives" Command="{Binding SetHostToPrimitivesCommand}"/>
    </ContextMenu>
</ResourceDictionary>