<!--
 =============================================================================================
  This file was AUTO-GENERATED by "WPF Views" Xomega.Net generator.
 
  Manual CHANGES to this file WILL BE LOST when the code is regenerated.
 =============================================================================================
-->
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:app="clr-namespace:AdventureWorks.Client.Wpf"
                    xmlns:xom="clr-namespace:Xomega.Framework;assembly=Xomega.Framework.Wpf"
                    x:Class="AdventureWorks.Client.Wpf.MainMenu">
  <BooleanToVisibilityConverter x:Key="b2v"/>
  <CompositeCollection x:Key="generatedMenus" x:Shared="false">
    <MenuItem Header="{x:Static app:MainMenu.M_Sales_Title}"
              Visibility="{Binding Source={x:Static app:MainMenu.M_Sales_Visible}, Converter={StaticResource ResourceKey=b2v}}">
      <MenuItem Header="{x:Static app:MainMenu.V_CustomerListView_Title}"
                Command="app:MainMenu.V_CustomerListView_Command"
                CommandParameter="{Binding RelativeSource={RelativeSource Mode=Self}}"
                Visibility="{Binding Source={x:Static app:MainMenu.V_CustomerListView_Visible}, Converter={StaticResource ResourceKey=b2v}}"/>
      <MenuItem Header="{x:Static app:MainMenu.V_SalesOrderView_Title}"
                Command="app:MainMenu.V_SalesOrderView_Command"
                CommandParameter="{Binding RelativeSource={RelativeSource Mode=Self}}"
                Visibility="{Binding Source={x:Static app:MainMenu.V_SalesOrderView_Visible}, Converter={StaticResource ResourceKey=b2v}}"/>
      <MenuItem Header="{x:Static app:MainMenu.V_SalesOrderListView_Title}"
                Command="app:MainMenu.V_SalesOrderListView_Command"
                CommandParameter="{Binding RelativeSource={RelativeSource Mode=Self}}"
                Visibility="{Binding Source={x:Static app:MainMenu.V_SalesOrderListView_Visible}, Converter={StaticResource ResourceKey=b2v}}"/>
    </MenuItem>
  </CompositeCollection>
</ResourceDictionary>