diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/IconBox.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/IconBox.cs index c0a4e5a16c..ba4c9d8c17 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/IconBox.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/IconBox.cs @@ -7,6 +7,8 @@ using Microsoft.CmdPal.UI.Deferred; using Microsoft.UI.Dispatching; using Microsoft.UI.Xaml; using Microsoft.UI.Xaml.Controls; +using Microsoft.UI.Xaml.Input; + using Windows.Foundation; namespace Microsoft.CmdPal.UI.Controls; @@ -49,6 +51,12 @@ public partial class IconBox : ContentControl /// public event TypedEventHandler? SourceRequested; + public IconBox() + { + TabFocusNavigation = KeyboardNavigationMode.Once; + IsTabStop = false; + } + private static void OnSourcePropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { if (d is IconBox @this)