Arrow keys navigation

3 posts, 0 answers
  1. Maurício
    Maurício avatar
    41 posts
    Member since:
    Jan 2011

    Posted 17 Jun 2014 Link to this post

    Hello

    I would like to know if is possible to navigate through my items using the arrow keys the same way as if I am using the framework listbox.
    When you click on the arrow DOWN, the framework Listbox selects the item below the selectedItem, but when we do the same thing with the RadListBox, the selection goes to the item at the right of the selectedItem.

    Here is the code for the framework Listbox:
    <ListBox Width="700" Height="700" ItemsSource="{Binding YourSource}">
                                  <ListBox.ItemsPanel>
                                      <ItemsPanelTemplate>
                                          <UniformGrid Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ScrollContentPresenter}, Mode=FindAncestor}}" Columns="3" />
                                      </ItemsPanelTemplate>
                                  </ListBox.ItemsPanel>
                              </ListBox>

    And here for the RadListBox:
    <telerik:RadListBox Width="700" Height="700" ItemsSource="{Binding YourSource}">
                                 <telerik:RadListBox.ItemsPanel>
                                     <ItemsPanelTemplate>
                                         <UniformGrid Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type ScrollContentPresenter}, Mode=FindAncestor}}" Columns="3" />
                                     </ItemsPanelTemplate>
                                 </telerik:RadListBox.ItemsPanel>
                             </telerik:RadListBox>

  2. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 18 Jun 2014 Link to this post

    Hi Maurício,

    We are already aware of that behavior and have that logged in our internal backlog as Feature Request. However I have also logged it in the Feedback portal so you can easily vote and track its status on the following link:
    http://feedback.telerik.com/Project/143/Feedback/Details/131337-add-keyboard-navigation-capabilities-for-uniformgrid-panel-used-as-itemspaneltemp

    Hope this helps.

    Regards,
    Kalin
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Maurício
    Maurício avatar
    41 posts
    Member since:
    Jan 2011

    Posted 18 Jun 2014 in reply to Kalin Link to this post

    Nice, thank you Kalin!
Back to Top