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

RadWindow.Header.IsTabStop

4 Answers 79 Views
Window
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Veteran
Michael asked on 18 Jan 2018, 09:54 PM

Does anybody know what's the right way to remove the radwindow header from the tab navigation cycle?

 

<telerik:RadWindow IsTabStop="False">

is permitted but doesn't have the desired effect.

 

 

<telerik:RadWindow>

     <telerik:RadWindow.Header
        IsTabStop="False"
        >
        Manage Styles
    </telerik:RadWindow.Header>

Is not permitted... "Attribute is not allowed in property element"

 

 

Thanks

 

4 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 23 Jan 2018, 12:25 PM
Hi Michael,

Thank you for the attached picture.

The header of the RadWindow is represented by TextBlock which is not focusable by default. Is it possible to elaborate more on your approach? Have you specified custom header for the RadWindow? Are you using NoXAML binaries and if yes which theme are you referencing?

I have prepared sample project to test your scenario. You can find it attached to this reply. When you run the project, press tab to navigate between the controls. You can observe that only the TextBox and the Button are focused. 

Regards,
Dinko
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
Michael
Top achievements
Rank 1
Veteran
answered on 26 Jan 2018, 10:34 PM

Hi Dinko, thanks for getting back to me.

I'm using the xaml binaries 2018.1.116.45 

Theme: Expression_Dark

0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 30 Jan 2018, 11:27 AM
Hi Michael,

Thank you for the additional information.

To change this behavior when using an Expression_Dark theme you can extract and edit the default template of the RadWindow control. Check the Editing Control Templates help article which describes how to get the default template of the control. In the extracted template navigate to a ContentControl with x:Name="HeaderContent" and set its Focusable property to false.

I have prepared sample project which demonstrates this approach. You can find the project attached to this reply.

Regards,
Dinko
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
Michael
Top achievements
Rank 1
Veteran
answered on 31 Jan 2018, 07:56 AM
Thanks, this did the trick for me.
Tags
Window
Asked by
Michael
Top achievements
Rank 1
Veteran
Answers by
Dinko | Tech Support Engineer
Telerik team
Michael
Top achievements
Rank 1
Veteran
Share this question
or