Skip to content

Commit

Permalink
Merge pull request #180 from walterlv/t/walterlv/navigation-focusable
Browse files Browse the repository at this point in the history
Don't let the ItemsControls in Navigation Fluents focusable.
  • Loading branch information
pomianowski committed May 11, 2022
2 parents ac5ba87 + c1f5dce commit 0c8531e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/WPFUI/Styles/Controls/NavigationFluent.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@
<ItemsControl
Grid.Row="0"
Width="250"
Focusable="False"
ItemsSource="{TemplateBinding Items}"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollBarVisibility="Disabled">
Expand All @@ -279,6 +280,7 @@

<ItemsControl
Grid.Row="1"
Focusable="False"
ItemsSource="{TemplateBinding Footer}"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollBarVisibility="Disabled">
Expand All @@ -298,4 +300,4 @@
</Style.Resources>
</Style>

</ResourceDictionary>
</ResourceDictionary>
4 changes: 3 additions & 1 deletion src/WPFUI/Styles/Controls/NavigationStore.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@
<ItemsControl
Grid.Row="0"
Width="250"
Focusable="False"
ItemsSource="{TemplateBinding Items}"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollBarVisibility="Disabled">
Expand All @@ -262,6 +263,7 @@

<ItemsControl
Grid.Row="1"
Focusable="False"
ItemsSource="{TemplateBinding Footer}"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollBarVisibility="Disabled">
Expand All @@ -284,4 +286,4 @@
</Style.Resources>
</Style>

</ResourceDictionary>
</ResourceDictionary>

0 comments on commit 0c8531e

Please sign in to comment.