diff --git a/src/System.Windows.Forms/System/Windows/Forms/Form.cs b/src/System.Windows.Forms/System/Windows/Forms/Form.cs index d0cb40856fe..5c2f4d1fcfe 100644 --- a/src/System.Windows.Forms/System/Windows/Forms/Form.cs +++ b/src/System.Windows.Forms/System/Windows/Forms/Form.cs @@ -1767,7 +1767,7 @@ public ScreenCaptureMode FormScreenCaptureMode return; } - if (!TopLevel) + if (!TopLevel && !DesignMode) { throw new InvalidOperationException(SR.FormScreenCaptureModeRequiresTopLevel); }