14 references to ScreenCaptureMode
System.Windows.Forms (14)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Validation.cs (2)
674
public static void Validate(System.Windows.Forms.
ScreenCaptureMode
enumToValidate, string parameterName = "value")
678
ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.
ScreenCaptureMode
));
System\Windows\Forms\Form.cs (12)
1753
/// A <see cref="
ScreenCaptureMode
"/> enumeration value indicating the desired capture restriction.
1754
/// The default is <see cref="
ScreenCaptureMode
.Allow"/>.
1759
public
ScreenCaptureMode
FormScreenCaptureMode
1761
get => Properties.GetValueOrDefault(s_propFormScreenCaptureMode,
ScreenCaptureMode
.Allow);
1785
FormScreenCaptureMode !=
ScreenCaptureMode
.Allow;
1788
FormScreenCaptureMode =
ScreenCaptureMode
.Allow;
1790
private void SetScreenCaptureModeInternal(
ScreenCaptureMode
value)
1797
ScreenCaptureMode
.Allow => WINDOW_DISPLAY_AFFINITY.WDA_NONE,
1798
ScreenCaptureMode
.HideWindow => WINDOW_DISPLAY_AFFINITY.WDA_EXCLUDEFROMCAPTURE,
1799
ScreenCaptureMode
.HideContent => WINDOW_DISPLAY_AFFINITY.WDA_MONITOR,
4217
if (FormScreenCaptureMode !=
ScreenCaptureMode
.Allow)
5003
if (FormScreenCaptureMode !=
ScreenCaptureMode
.Allow)