Skip to content

Commit

Permalink
changes menubar tabnavigation behavior (#6830)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkudiess authored Mar 16, 2022
1 parent 4f59931 commit c8d9c51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/MenuBar/MenuBar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
<Setter Property="Background" Value="{ThemeResource MenuBarBackground}"/>
<Setter Property="IsTabStop" Value="False"/>
<Setter Property="Height" Value="{StaticResource MenuBarHeight}"/>
<Setter Property="TabNavigation" Value="Once"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="local:MenuBar">
<Grid x:Name="LayoutRoot" Background="{TemplateBinding Background}" HorizontalAlignment="Stretch">
<ItemsControl x:Name="ContentRoot" VerticalAlignment="Stretch" HorizontalAlignment="Left" IsTabStop="False">
<ItemsControl x:Name="ContentRoot" VerticalAlignment="Stretch" HorizontalAlignment="Left" IsTabStop="False" TabNavigation="{TemplateBinding TabNavigation}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel Orientation="Horizontal"/>
Expand Down

0 comments on commit c8d9c51

Please sign in to comment.