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

How to configure newly created TabbedWindow from popped out tab

2 Answers 92 Views
TabbedWindow
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Richard asked on 10 Jun 2019, 09:02 AM

When a user drags a tab out of a host TabbedWindow it creates a new TabbedWindow to host the Tab but this new TabbedWindow  doesn't inherit the configuration of the original parent. 

What would be the best way to get a handle on this new TabbedWindow and apply configuration style. E.g. disable the new tab button. 

Thanks,

Richard

(PS. I love this new control, it has really helped me)

2 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 11 Jun 2019, 07:01 AM
Hello Richard,

To achieve your requiremetn you can use the TabbedWindowCreating event of RadTabbedWindow. In the event handler you can get the dragged tab from the event arguments and apply whatever settings you want. I hope this helps.

(PS. It is great to hear that you are happy with the control)

Regards,
Martin Ivanov
Progress TelerikWant 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
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
answered on 14 Jun 2019, 12:39 PM
Thank you that's perfect, exactly what I needed. 
Tags
TabbedWindow
Asked by
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Martin Ivanov
Telerik team
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Share this question
or