Hi, I'm utilizing telerik's window 8 theme on the windows. But sometimes I would like to display the window as red to indicate it as an error. I would do the follow
Windows8Palette.Palette.AccentColor = Color.FromArgb(0xFF, 0xE0, 0x00, 0x00);
The issue with doing this is that I always have to change it back to the original colour after the window is shown. Any tips on a "better" way to do this.
Windows8Palette.Palette.AccentColor = Color.FromArgb(0xFF, 0xE0, 0x00, 0x00);
The issue with doing this is that I always have to change it back to the original colour after the window is shown. Any tips on a "better" way to do this.
Windows8Palette.Palette.AccentColor = Color.FromArgb(0xFF, 0xE0, 0x00, 0x00);
RadWindow.Alert(new DialogParameters
{
Content = new TextBlock { Text = message, MinWidth = 200, MaxWidth = 450, TextWrapping = TextWrapping.Wrap },
Header = header,
Theme = new Windows8Theme(),
Owner = Application.Current.MainWindow
});
Windows8Palette.Palette.AccentColor = AppConfiguration.DefaultBlue;
return header;