Theme ColorVariations Do Not Work While Using RadSplashScreen

1 Answer 10 Views
SplashScreen
Zac
Top achievements
Rank 1
Zac asked on 02 Feb 2026, 07:00 AM

Hello,

I have attempted to implement the solutions listed here.

We are using various ColorVariations along with our themes, however. For example:

StyleManager.ApplicationTheme = new Windows11Theme(Windows11Palette.ColorVariation.Dark);

The solutions listed in the link above throw the following exception:

System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.

Is there a way to use theme ColorVariations along with RadSplashScreen?

Thank you

1 Answer, 1 is accepted

Sort by
0
Accepted
Nadya | Tech Support Engineer
Telerik team
answered on 02 Feb 2026, 12:00 PM

Hello, Zac,

To use ColorVariations along with the theme, you need to create a custom UserControl that hosts RadSplashScreen instance and apply the palette settings in the constructor of that UserControl. You can use the LoadPreset method there. Make sure that you load the same variation in the user control as well as when setting the ApplicationTheme. Do you have such user control created on your side? Please refer to the approach described here.

For example, here is how the user controls looks like:

public partial class SplashScreenUserControl : UserControl
{
    public SplashScreenUserControl()
    {

        Windows11Palette.LoadPreset(Windows11Palette.ColorVariation.Dark);

        InitializeComponent();
    }
}

After that use the generic Show method of RadSplashScreenManager in the start up app to display the color variation by using StyleManager.ApplicationTheme as you did:

public partial class App : Application
{
    public App()
    {
        StyleManager.ApplicationTheme = new Windows11Theme(Windows11Palette.ColorVariation.Dark);
        RadSplashScreenManager.Show<SplashScreenUserControl>();
        Thread.Sleep(5000);
        RadSplashScreenManager.Close();
    }
}

I also attached a sample project so you can test it locally.

I hope this information helps. If you have any other questions, please let me know.

Regards,
Nadya | Tech Support Engineer
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.

Zac
Top achievements
Rank 1
commented on 05 Feb 2026, 05:59 PM

Nadya,

This fixes my issue, thank you!

Tags
SplashScreen
Asked by
Zac
Top achievements
Rank 1
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or