| | |
| | | <DockPanel Background="Transparent"> |
| | | <Border DockPanel.Dock="Left" BorderThickness="1,1,0,1" Background="Transparent" BorderBrush="{StaticResource PrimaryColor}" Width="50"></Border> |
| | | <ListBox DockPanel.Dock="Left" Grid.Row="0" x:Name="Menu" |
| | | Style="{StaticResource ListBoxItemStyle1}" FontSize="16" |
| | | Style="{StaticResource ListBoxItemStyle1}" FontSize="14" |
| | | BorderBrush="{StaticResource PrimaryColor}" |
| | | BorderThickness="1" |
| | | SelectionChanged="Menu_SelectionChanged" |
| | |
| | | Style="{StaticResource ListBoxItemStyle2}" |
| | | BorderBrush="Gray" |
| | | Visibility="{Binding MenuVisibility}" |
| | | SelectedItem="{Binding SelectedSubMenu}" AlternationCount="{Binding SubMenuItems.Count}" |
| | | SelectionChanged="SubMenu_SelectionChanged" |
| | | BorderThickness="0" ItemsSource="{Binding SubMenuItems}" > |
| | | SelectedItem="{Binding SelectedSubMenu,Mode=OneWay}" AlternationCount="{Binding SubMenuItems.Count}" |
| | | SelectionChanged="SubMenu_SelectionChanged" BorderThickness="0" ItemsSource="{Binding SubMenuItems}" > |
| | | </ListBox> |
| | | </DockPanel> |
| | | </Border> |