I'm using a RadWindow.Prompt within a Silverlight application as we are testing out your product. If I have a theme set for the application, say Office_Black, the Application will crash when the Prompt is issued. I've realized that the error is due to the RadWindow.Prompt's theme being set to the default.
Using the DialogParameters I am able to build the RadWindow.Prompt with preloaded values included a Theme, but I do not know how to set the Theme = to a theme object. Currently the themes are referenced as Dll's and when I retrieve Telerik.Windows.Controls.Theme.ApplicationTheme, this is a string and not a Theme object.
Can someone provide a little insight on how to set the Theme = to a theme object given the above scenario? Below is my code in C#. Thanks in advance.
RadWindow.Prompt(new DialogParameters
{
Header = "Enter Name",
Closed = RadWindowClosed,
DefaultPromptResultValue = "John Doe",
Theme = ????
});
Using the DialogParameters I am able to build the RadWindow.Prompt with preloaded values included a Theme, but I do not know how to set the Theme = to a theme object. Currently the themes are referenced as Dll's and when I retrieve Telerik.Windows.Controls.Theme.ApplicationTheme, this is a string and not a Theme object.
Can someone provide a little insight on how to set the Theme = to a theme object given the above scenario? Below is my code in C#. Thanks in advance.
RadWindow.Prompt(new DialogParameters
{
Header = "Enter Name",
Closed = RadWindowClosed,
DefaultPromptResultValue = "John Doe",
Theme = ????
});