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

How to remove TabStops from RadPanelBarItem

2 Answers 47 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Louis
Top achievements
Rank 1
Louis asked on 24 Aug 2017, 02:31 PM

Hi,

I want to disable the TabStop mecanism in the RadPanelBar so that the user can't focus on the RadPanelBar or RadPanelBarItems using the "tab" key. I've managed to disable most TabStop mecanism in the RadPanelBar except for one that I really don't understand.

The following project demonstrates my problem. I would like for the tab key to navigate between the 3 textbox without the focus going to the RadPanelBarItem.

https://drive.google.com/open?id=0B9yNrE596_TZcGg5MzZvdUdTSG8

Thank you for your time!

Louis

2 Answers, 1 is accepted

Sort by
0
Accepted
Sia
Telerik team
answered on 25 Aug 2017, 09:03 AM
Hi,

If I understand correctly, you do not want to have the PanelBarItems focused at all, which can be achieved by setting the Focusable property. Please find attached the same project to my answer where I have added a setter in the Style targetting RadPanelBarItem.

Generally the RadPanelBarItem inherits from RadTreeViewItem and there you can find some logic about getting the focus.

I hope this helps.

Regards,
Sia
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Louis
Top achievements
Rank 1
answered on 25 Aug 2017, 01:14 PM

Hi,

This is just what I was missing, thank you :)

Louis

Tags
PanelBar
Asked by
Louis
Top achievements
Rank 1
Answers by
Sia
Telerik team
Louis
Top achievements
Rank 1
Share this question
or