This is a migrated thread and some comments may be shown as answers.

Arrow keys navigation

2 Answers 45 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Maurício
Top achievements
Rank 1
Maurício asked on 17 Jun 2014, 02:32 PM
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 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 18 Jun 2014, 11:06 AM
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.
 
0
Maurício
Top achievements
Rank 1
answered on 18 Jun 2014, 11:09 AM
Nice, thank you Kalin!
Tags
ListBox
Asked by
Maurício
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Maurício
Top achievements
Rank 1
Share this question
or