<UserControl x:Class="MainShell.Manual.View.ManualOperateView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:MainShell.Manual.View" xmlns:mw="http://www.maxwell-gp.com/"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <mw:SideMenu ItemsSource="{Binding MenuItemWraps}"
              SelectedItem="{Binding SelectedMenuItem, Mode=TwoWay}" 
              Grid.Row ="0" Width="150" 
              Margin="-40,0,0,0"
              ExpandMode="Accordion"
              AutoSelect="True"
              >
            <mw:SideMenu.ItemContainerStyle>
                <Style TargetType="{x:Type mw:SideMenuItem}" BasedOn="{StaticResource SideMenuItemHeaderAccordionBaseStyle}">
                    <Setter Property="Header" Value="{Binding Header}" />
                    <Setter Property="Tag" Value="{Binding Tag}" />
                </Style>
            </mw:SideMenu.ItemContainerStyle>
        </mw:SideMenu>
        <ContentControl Margin="5,0" Grid.Column="1" mw:View.Model="{Binding CurrentScreen}"/>
    </Grid>
</UserControl>
