14 references to ScreenCaptureMode
System.Windows.Forms (14)
_generated\1\Validation.cs (2)
666public static void Validate(System.Windows.Forms.ScreenCaptureMode enumToValidate, string parameterName = "value") 670ReportEnumValidationError(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"/>. 1759public ScreenCaptureMode FormScreenCaptureMode 1761get => Properties.GetValueOrDefault(s_propFormScreenCaptureMode, ScreenCaptureMode.Allow); 1785FormScreenCaptureMode != ScreenCaptureMode.Allow; 1788FormScreenCaptureMode = ScreenCaptureMode.Allow; 1790private void SetScreenCaptureModeInternal(ScreenCaptureMode value) 1797ScreenCaptureMode.Allow => WINDOW_DISPLAY_AFFINITY.WDA_NONE, 1798ScreenCaptureMode.HideWindow => WINDOW_DISPLAY_AFFINITY.WDA_EXCLUDEFROMCAPTURE, 1799ScreenCaptureMode.HideContent => WINDOW_DISPLAY_AFFINITY.WDA_MONITOR, 4217if (FormScreenCaptureMode != ScreenCaptureMode.Allow) 4972if (FormScreenCaptureMode != ScreenCaptureMode.Allow)