Declined
Last Updated: 29 Jan 2019 09:24 by ADMIN
David
Created on: 19 Dec 2018 05:18
Category: UI for WPF
Type: Bug Report
0
Using fluent theme with dark , sub window are not dark
I'm using the fluent theme in my app. When I load ColorVariation.Dark, everything is dark except a sub-window. This is a window created by my main window. Its main control is TabControl with most of the tabs items being ListBoxes using data templates. The Listboxes display dark but the window itself is light along with the first tab item which is just a grid with TextBoxes. I don't specify background color on any of these controls so I assumed they would come from the theme. Do I have to do something to pass the info th a sub-window?
5 comments
ADMIN
Martin Ivanov
Posted on: 28 Dec 2018 07:09
Hello David,

I am afraid that without reproducing this I can't tell what exactly happens. Anyway, if you succeed isolating the issue please don't hesitate to provide more information on it.

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.
David
Posted on: 28 Dec 2018 02:28

I already set the IsWindowsThemeEnabled static property of the ribbon window to False.

Isolating the issue may take some time, but I'll try.

ADMIN
Martin Ivanov
Posted on: 26 Dec 2018 09:12
Hello David,

Can you try setting the IsWindowsThemeEnabled static property of the ribbon window to False before it gets initialized. This is demonstrated in the Ribbon Window article. If this doesn't help I would advise you to isolate the issue in a project and send it over so I can take a look what happens.

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.
David
Posted on: 21 Dec 2018 19:47

Your app works just the opposite of mine. Your sub-window gets dark but the main window stays light. My main window is a RadRibbonWindow and I'm using the no-xaml implicit theme setting.

I've further notice that all of my sub-windows do not get dark regardless of where their created.

ADMIN
Martin Ivanov
Posted on: 21 Dec 2018 15:19
Hello David,

I wasn't able to reproduce the reported behavior. Can you please take a look at the attached project and let me know if I am missing something?

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.
Attached Files: