Thank you for the provided code snippet.
You can subscribe to the PreviewClosed event of the RadWindow and show a confirm dialog, for example, and if the user doesn't want to close, you can set the Cancel property to true.
var AssetWindow = new RadWindow
Header = "Asset Information",
Owner = Application.Current.MainWindow,
WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner,
Content = new UserControl()
AssetWindow.PreviewClosed += AssetWindow_PreviewClosed;
private void AssetWindow_PreviewClosed(object sender, WindowPreviewClosedEventArgs e)
e.Cancel = true;
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.