14 references to ScreenCaptureMode
System.Windows.Forms (14)
_generated\1\Validation.cs (2)
658
public static void Validate(System.Windows.Forms.
ScreenCaptureMode
enumToValidate, string parameterName = "value")
662
ReportEnumValidationError(parameterName, intValue, typeof(System.Windows.Forms.
ScreenCaptureMode
));
System\Windows\Forms\Form.cs (12)
1750
/// A <see cref="
ScreenCaptureMode
"/> enumeration value indicating the desired capture restriction.
1751
/// The default is <see cref="
ScreenCaptureMode
.Allow"/>.
1756
public
ScreenCaptureMode
FormScreenCaptureMode
1758
get => Properties.GetValueOrDefault(s_propFormScreenCaptureMode,
ScreenCaptureMode
.Allow);
1782
FormScreenCaptureMode !=
ScreenCaptureMode
.Allow;
1785
FormScreenCaptureMode =
ScreenCaptureMode
.Allow;
1787
private void SetScreenCaptureModeInternal(
ScreenCaptureMode
value)
1794
ScreenCaptureMode
.Allow => WINDOW_DISPLAY_AFFINITY.WDA_NONE,
1795
ScreenCaptureMode
.HideWindow => WINDOW_DISPLAY_AFFINITY.WDA_EXCLUDEFROMCAPTURE,
1796
ScreenCaptureMode
.HideContent => WINDOW_DISPLAY_AFFINITY.WDA_MONITOR,
4208
if (FormScreenCaptureMode !=
ScreenCaptureMode
.Allow)
4956
if (FormScreenCaptureMode !=
ScreenCaptureMode
.Allow)