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

The TabbedWindow not working with the Fluent Theme on a clean machine.

3 Answers 90 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 17 Jun 2019, 12:47 PM

 

I have 4 machines 2 Dev with VS / Telerik and 2 Test both are clean Win 10 machines. When I run the project below in Dev it works perfectly but in Test the theme get's all screwed up and goes mostly transparent.

 

I have tried this with couple of other themes and it works fine and I have tried it with the Tab Control rather than the TabbedWindow and that also works. It looks like a combination of Fluent and TabbedWindow breaks.

 

To recreate, make a simple 1 page App, add the TabbedWindow and some content, then set the Fluent Theme in the code behind. 

You have to test this on a "clean" machine, without VS or Telerik installed for it to break.

 <Grid>
  <telerik:RadTabbedWindow >
     <telerik:RadTabbedWindow.Items>
          <telerik:RadTabItem Header="Test Tab">
                <telerik:RadGridView />
          </telerik:RadTabItem>
      </telerik:RadTabbedWindow.Items>
   </telerik:RadTabbedWindow >
 </Grid>

 

public MainWindow()
        {
            StyleManager.ApplicationTheme = new FluentTheme();
            InitializeComponent();
        }

 

3 Answers, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 20 Jun 2019, 08:30 AM
Hi Richard,

Thank you for the provided files.

Looking at the attached images the RadTabbedWindow is placed inside a WPF Window. The RadTabbedWindow control is intended to be used as a separate window. Placing it inside a window will lead to unexpected behavior. For example, the close button will not work. You can take a look at the Getting Started help article which describes how you can use the RadTabbedWindow as MainWindow. I have prepared a sample project to demonstrate this approach. You can find it attached to this reply. Can you give it a try and let me know if observe any issues running it on your side?

Regards,
Dinko
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 21 Jun 2019, 03:39 PM

Hi Dinko,

Thank you for your reply, I sorry to hear that it can't be used inside of a standard window. That is not going to work in my use case and I'll have to take the TabbedWindow out of my application. 

Thanks,

Richard

0
Dinko | Tech Support Engineer
Telerik team
answered on 26 Jun 2019, 10:52 AM
Hello Richard,

The RadTabbedWindow is a combination of two controls RadTabControl and RadWindow. Have you consider using RadTabControl instead? I think RadTabControl is what you are looking for. You can get familiar with the control with its Getting Started help article.

Regards,
Dinko
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.
Tags
TabbedWindow
Asked by
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Richard
Top achievements
Rank 2
Iron
Veteran
Iron
Share this question
or