New to Telerik UI for WPF? Start a free 30-day trial
Closing
Updated on Sep 15, 2025
The RadWindow can be closed by either clicking on its 'Close' button at the top-right corner or by calling the Close() method of the RadWindow instance.

Example 1: Closing a RadWindow
C#
RadWindow radWindow = new RadWindow();
radWindow.Show();
//...
radWindow.Close();hen the RadWindow gets closed, the Closed event is raised. More about events can be found here.
Prevent Closing
To disable the closing of the RadWindow via the UI you can set the CanClose property to False.
Example 2: Setting the CanClose property
C#
RadWindow radWindow = new RadWindow();
radWindow.CanClose = false;
Alternatively, you can also handle the PreviewClosed event and set the Cancel property of the event arguments to True.
Example 3: Canceling the PreviewClosed event
C#
private void RadWindow_PreviewClosed(object sender, WindowPreviewClosedEventArgs e)
{
e.Cancel = true;
}