# Prevent Dragging Off the Screen

With its default settings, the **RadWindow** can be dragged off the screen by the user. To prevent the user from dragging the **RadWindow** off the screen you have to set the **IsRestricted** property of the **RadWindow** to **True**.

```C#
RadWindow radWindow = new RadWindow();
radWindow.IsRestricted = true;
```

```VB.NET
	Dim radWindow As New RadWindow()
	radWindow.IsRestricted = True
```

## See Also

* [Moving](https://www.telerik.com/products/wpf/documentation/controls/radwindow/features/moving)

* [Hide the Maximize and Minimize buttons](https://www.telerik.com/products/wpf/documentation/controls/radwindow/how-to/hide-minimize-maximize-buttons)

* [Center the Header of the RadWindow](https://www.telerik.com/products/wpf/documentation/controls/radwindow/how-to/center-the-header-of-the-content)
