Release 2010.1
If you instantiate a RadWindow in code, call ShowDialog, and then Close, the window still opens and doesn't close.
var window = new RadWindow |
{ |
Header = "Test Window", |
ResizeMode = (ResizeMode.NoResize), |
Padding = new Thickness(10), |
WindowStartupLocation = (WindowStartupLocation.CenterScreen), |
WindowState = (WindowState.Normal), |
ModalBackground = new SolidColorBrush(Colors.White) {Opacity = .65D}, |
MaxHeight = Application.Current.Host.Content.ActualHeight, |
Content = "Test Content" |
}; |
window.ShowDialog(); // Other Code |
window.Close(); |