33 references to CoreAppContextSwitches
PresentationCore (32)
MS\Internal\Interop\TipTsfHelper.cs (1)
103
&& !
CoreAppContextSwitches
.DisableImplicitTouchKeyboardInvocation
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (1)
2238
if (
CoreAppContextSwitches
.DisableDirtyRectangles)
System\AppContextDefaultValues.cs (14)
17
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotScaleForDpiChangesSwitchName, false);
18
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.OverrideExceptionWithNullReferenceExceptionName, false);
19
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier2OrGreaterSwitchName, false);
21
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableStylusAndTouchSupportSwitchName, false);
22
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.EnablePointerSupportSwitchName, false);
23
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableDiagnosticsSwitchName, false);
24
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.AllowChangesDuringVisualTreeChangedSwitchName, false);
25
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableImplicitTouchKeyboardInvocationSwitchName, false);
26
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailableSwitchName, false);
27
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStationSwitchName, false);
28
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier3OrGreaterSwitchName, false);
29
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.AllowExternalProcessToBlockAccessToTemporaryFilesSwitchName, false);
30
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.EnableHardwareAccelerationInRdpSwitchName, false);
31
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableSpecialCharacterLigatureSwitchName, false);
System\Windows\Diagnostics\VisualDiagnostics.cs (2)
38
s_IsEnabled = !
CoreAppContextSwitches
.DisableDiagnostics;
283
s_AllowChangesDuringVisualTreeChanged =
CoreAppContextSwitches
.AllowChangesDuringVisualTreeChanged;
System\Windows\Input\Cursor.cs (1)
275
if (MS.Internal.
CoreAppContextSwitches
.AllowExternalProcessToBlockAccessToTemporaryFiles)
System\Windows\Input\Stylus\Common\StylusLogic.cs (2)
193
return !
CoreAppContextSwitches
.DisableStylusAndTouchSupport;
208
&& (
CoreAppContextSwitches
.EnablePointerSupport || IsPointerEnabledInRegistry)
System\Windows\InterOp\HwndTarget.cs (2)
307
NativeMethodsSetLastError.LsDisableSpecialCharacterLigature(
CoreAppContextSwitches
.DisableSpecialCharacterLigature);
2036
!
CoreAppContextSwitches
.DoNotScaleForDpiChanges &&
System\Windows\Media\ImageSourceConverter.cs (1)
153
if (context == null &&
CoreAppContextSwitches
.OverrideExceptionWithNullReferenceException)
System\Windows\Media\MediaContext.cs (6)
132
/// i. <see cref=" MS.Internal.
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailable"/>
133
/// ii. <see cref="MS.Internal.
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStation"/>
140
/// it can lead to a CPU spike), it can set <see cref=" MS.Internal.
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailable"/>
147
/// <see cref="MS.Internal.
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStation"/> to true
175
!
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStation : // THEN render by default, allow ShouldNotRender AppContext override
176
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailable; // ELSE do not render by default, allow ShouldRender AppContext override
System\Windows\Media\MediaSystem.cs (2)
71
UnsafeNativeMethods.RenderOptions_EnableHardwareAccelerationInRdp(
CoreAppContextSwitches
.EnableHardwareAccelerationInRdp);
148
int disableDirtyRectangles =
CoreAppContextSwitches
.DisableDirtyRectangles ? 1 : 0;
PresentationFramework (1)
System\Windows\Window.cs (1)
7822
/// <see cref="
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier2OrGreater"/>