title: UWP: Disable *specific* ListViewItem's selection with keyboard arrows
body: <p>I have an AutoSuggestBox. When I type something in, it gives me a list of "suggestions". The list is a ListView inside a Popup. Either way, I wanted some of the items in the list to be disabled, so user can't choose them. </p>
  
  <p>I did it just fine, my implementation is as follows:</p>
  
  <pre><code>&lt;AutoSuggestBox x:Name="AutoSuggest" ...
                  ItemContainerStyle="{StaticResource 
                  MyPopUpListViewItemStyle}"
  /&gt;
  
  
  &lt;Style x:Key="MyPopUpListViewItemStyle" TargetType="ListViewItem"&gt;
  ...
          &lt;Setter Property="helpers:SetterValueBindingHelper.PropertyBinding"&gt;
              &lt;Setter.Value&gt;
                  &lt;helpers:SetterValueBindingHelper
                      Property="IsEnabled"
                      Binding="{Binding Path=Content.IsItemEnabled, RelativeSource={RelativeSource Self}}" /&gt;
              &lt;/Setter.Value&gt;
          &lt;/Setter&gt;
  ...
  &lt;/Style&gt;
  </code></pre>
  
  <p>I had some problem with binding property inside a style. But everything works fine now, all the ListViewItems' "IsEnabled" property are binded to a property inside its Content. So now, user can't choose specific items with a mouse. </p>
  
  <p>My problem is! Although user can't choose an item with a mouse, he still can choose it with Up ↑ and Down ↓ arrows (and not just set them selected, but actually choose with Enter). I want the user to skip the disabled items (still being able to use the arrows to choose the regular items).</p>
  
  <p>I searched for quite a while, I did find a nice looking solution, to bind "Focusable" property from ListViewItem to whatever property of my own, but it's WPF only, since there's no "Focusable" property for my ListViewItem.</p>
  
  <p>All the possible ListViewItem properties, including: "AllowFocusOnInteraction", "IsTabStop", "AllowFocusWhenDisabled", "IsHitTestVisible" and other logically relevant things didn't work.</p>