Я хочу запретить обработку событий onKeyDown для стрелок на клавиатуре в элементе управления CommandBar.
Я отключил XYFocusKeyboardNavigation, но он не работает - я все еще могу перемещаться между кнопками, используя «Влево» / «Вправо» " стрелы. Почему это так?
<CommandBar XYFocusKeyboardNavigation="Disabled">
<AppBarButton Label="menu">
<AppBarButton.Icon>
<BitmapIcon UriSource="/Help/home.png"/>
</AppBarButton.Icon>
</AppBarButton>
<AppBarButton x:Name="hideLeavesButton" Label="hide leaves" Click="HideLeavesButton_Click">
<AppBarButton.Icon>
<BitmapIcon UriSource="/Help/hideLeaves.png"/>
</AppBarButton.Icon>
</AppBarButton>
</CommandBar>