6 references to LocalAppContextSwitches
System.Drawing (6)
commonui\System\Drawing\Advanced\PrivateFontCollection.cs (1)
46
if (!
LocalAppContextSwitches
.DoNotRemoveGdiFontsResourcesFromFontCollection)
commonui\System\Drawing\Icon.cs (1)
954
if (HasPngSignature() && !
LocalAppContextSwitches
.DontSupportPngFramesInIcons) {
commonui\System\Drawing\LocalAppContextSwitches.cs (3)
21
return LocalAppContext.GetCachedSwitchValue(@"Switch.System.Drawing.DontSupportPngFramesInIcons", ref
LocalAppContextSwitches
.dontSupportPngFramesInIcons);
28
return LocalAppContext.GetCachedSwitchValue(@"Switch.System.Drawing.Printing.OptimizePrintPreview", ref
LocalAppContextSwitches
.optimizePrintPreview);
35
return LocalAppContext.GetCachedSwitchValue(@"Switch.System.Drawing.Text.DoNotRemoveGdiFontsResourcesFromFontCollection", ref
LocalAppContextSwitches
.doNotRemoveGdiFontsResourcesFromFontCollection);
commonui\System\Drawing\Printing\PrintController.cs (1)
148
canceled =
LocalAppContextSwitches
.OptimizePrintPreview ? PrintLoopOptimized(document) : PrintLoop(document);