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

Adding a search Textbox to Header

2 Answers 215 Views
Window
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Richard asked on 14 Nov 2019, 07:38 PM

Hi, I'm trying to add a textbox to the window header so that I can add some search as you type functionality. However while I can add the textbox I can't interact with it. It's like it is under a layer of the header. Double clicking the textbox resizes the window, the click doesn't go through to the text box. 

Attached is an example from MS Teams. 

Thanks,

Richard

2 Answers, 1 is accepted

Sort by
0
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 14 Nov 2019, 07:43 PM

After looking online for an hour I found the answer 3 min after posting the question :) 

Maybe this will help someone else

telerik:WindowHost.HitTestable="True"

https://docs.telerik.com/devtools/wpf/controls/radwindow/how-to/focus-input-controls-in-header

 

0
Martin Ivanov
Telerik team
answered on 18 Nov 2019, 10:01 AM

Hi Richard,

Thank you for sharing your solution.

Regards,
Martin Ivanov
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Window
Asked by
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Martin Ivanov
Telerik team
Share this question
or