10 references to None
System.Private.Windows.GdiPlus (2)
Windows\Win32\Graphics\Gdi\DeviceContextHdcScope.cs (2)
60
applyGraphicsState ? ApplyGraphicsProperties.All : ApplyGraphicsProperties.
None
,
113
bool needToApplyProperties = applyGraphicsState != ApplyGraphicsProperties.
None
;
System.Windows.Forms (3)
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.ColorOptions.cs (1)
111
using DeviceContextHdcScope hdc = _deviceContext.ToHdcScope(ApplyGraphicsProperties.
None
);
System\Windows\Forms\Rendering\TextRenderer.cs (2)
606
return ApplyGraphicsProperties.
None
;
609
var apply = ApplyGraphicsProperties.
None
;
System.Windows.Forms.Primitives.Tests (5)
System\Windows\Forms\DeviceContextHdcScopeTests.cs (5)
72
using (DeviceContextHdcScope scope = new(g, ApplyGraphicsProperties.
None
))
183
using (DeviceContextHdcScope scope = new(g, ApplyGraphicsProperties.
None
))
213
[InlineData((int)ApplyGraphicsProperties.
None
)]
298
using (DeviceContextHdcScope scope = new(mockIDeviceContext.Object, ApplyGraphicsProperties.
None
))
318
[InlineData((int)ApplyGraphicsProperties.
None
)]