36 references to CoreAppContextSwitches
PresentationCore (35)
MS\Internal\Interop\TipTsfHelper.cs (1)
107
&& !
CoreAppContextSwitches
.DisableImplicitTouchKeyboardInvocation
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (1)
2255
if (
CoreAppContextSwitches
.DisableDirtyRectangles)
System\AppContextDefaultValues.cs (17)
25
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotScaleForDpiChangesSwitchName, true);
30
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.OverrideExceptionWithNullReferenceExceptionName, true);
35
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier2OrGreaterSwitchName, true);
50
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotScaleForDpiChangesSwitchName, false);
51
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.OverrideExceptionWithNullReferenceExceptionName, false);
52
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier2OrGreaterSwitchName, false);
54
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableStylusAndTouchSupportSwitchName, false);
55
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.EnablePointerSupportSwitchName, false);
56
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableDiagnosticsSwitchName, false);
57
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.AllowChangesDuringVisualTreeChangedSwitchName, false);
58
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableImplicitTouchKeyboardInvocationSwitchName, false);
59
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailableSwitchName, false);
60
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStationSwitchName, false);
61
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier3OrGreaterSwitchName, false);
62
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.AllowExternalProcessToBlockAccessToTemporaryFilesSwitchName, false);
63
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.EnableHardwareAccelerationInRdpSwitchName, false);
64
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableSpecialCharacterLigatureSwitchName, false);
System\Windows\Diagnostics\VisualDiagnostics.cs (2)
43
s_IsEnabled = !
CoreAppContextSwitches
.DisableDiagnostics;
288
s_AllowChangesDuringVisualTreeChanged =
CoreAppContextSwitches
.AllowChangesDuringVisualTreeChanged;
System\Windows\Input\Cursor.cs (1)
282
if (MS.Internal.
CoreAppContextSwitches
.AllowExternalProcessToBlockAccessToTemporaryFiles)
System\Windows\Input\Stylus\Common\StylusLogic.cs (2)
203
return !
CoreAppContextSwitches
.DisableStylusAndTouchSupport;
218
&& (
CoreAppContextSwitches
.EnablePointerSupport || IsPointerEnabledInRegistry)
System\Windows\InterOp\HwndTarget.cs (2)
320
NativeMethodsSetLastError.LsDisableSpecialCharacterLigature(
CoreAppContextSwitches
.DisableSpecialCharacterLigature);
2049
!
CoreAppContextSwitches
.DoNotScaleForDpiChanges &&
System\Windows\Media\ImageSourceConverter.cs (1)
166
if (context == null &&
CoreAppContextSwitches
.OverrideExceptionWithNullReferenceException)
System\Windows\Media\MediaContext.cs (6)
153
/// i. <see cref=" MS.Internal.
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailable"/>
154
/// ii. <see cref="MS.Internal.
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStation"/>
161
/// it can lead to a CPU spike), it can set <see cref=" MS.Internal.
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailable"/>
168
/// <see cref="MS.Internal.
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStation"/> to true
196
!
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStation : // THEN render by default, allow ShouldNotRender AppContext override
197
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailable; // ELSE do not render by default, allow ShouldRender AppContext override
System\Windows\Media\MediaSystem.cs (2)
84
UnsafeNativeMethods.RenderOptions_EnableHardwareAccelerationInRdp(
CoreAppContextSwitches
.EnableHardwareAccelerationInRdp);
161
int disableDirtyRectangles =
CoreAppContextSwitches
.DisableDirtyRectangles ? 1 : 0;
PresentationFramework (1)
System\Windows\Window.cs (1)
7835
/// <see cref="
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier2OrGreater"/>