I have a usual UserControl with a button. I just want so show a RadWindow.Alert. Here's the Code behind:
This is done as shown in the WPF demos but in my case the buttons on the RadWindow.Alert dialog are not styled. I use Telerik Windows 8 theme. All RadButtons are style correctly in Windows 8 style but not on any of my RadWindow dialogs. What am I missing? Please see attached image.
public
partial
class
TestView
{
public
TestView()
{
InitializeComponent();
}
private
void
TestButton_OnClick(
object
sender, RoutedEventArgs e)
{
RadWindow.Alert(
new
DialogParameters
{
Content =
"Test"
,
ContentStyle = Resources[
"RadAlertStyle"
]
as
Style,
WindowStyle = Resources[
"RadWindowStyle"
]
as
Style
});
}
}
This is done as shown in the WPF demos but in my case the buttons on the RadWindow.Alert dialog are not styled. I use Telerik Windows 8 theme. All RadButtons are style correctly in Windows 8 style but not on any of my RadWindow dialogs. What am I missing? Please see attached image.