How can I pass KeyTriggers from a RadPane to the ToolWindow when created?

1 Answer 37 Views
Docking TreeView
John
Top achievements
Rank 1
John asked on 20 Nov 2024, 04:12 PM
I am working on an application that uses a DockingPanesFactory to add RadPanes to a window. These RadPanes have KeyTriggers that do not execute when floating. I understand that it is because it becomes a ToolWindow and therefore it is not in the same visual tree. How can I make sure tgatvmy key triggers get passed to the ToolWindow so the commands execute?

1 Answer, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 22 Nov 2024, 02:42 PM

Hello John,

You can use the ToolWindowCreated event of RadDocking. This should allow you to add the corresponding triggers on the ToolWindow's level.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Docking TreeView
Asked by
John
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or