33 references to CoreAppContextSwitches
PresentationCore (32)
MS\Internal\Interop\TipTsfHelper.cs (1)
102
&& !
CoreAppContextSwitches
.DisableImplicitTouchKeyboardInvocation
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (1)
2237
if (
CoreAppContextSwitches
.DisableDirtyRectangles)
System\AppContextDefaultValues.cs (14)
16
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotScaleForDpiChangesSwitchName, false);
17
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.OverrideExceptionWithNullReferenceExceptionName, false);
18
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier2OrGreaterSwitchName, false);
20
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableStylusAndTouchSupportSwitchName, false);
21
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.EnablePointerSupportSwitchName, false);
22
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableDiagnosticsSwitchName, false);
23
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.AllowChangesDuringVisualTreeChangedSwitchName, false);
24
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableImplicitTouchKeyboardInvocationSwitchName, false);
25
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailableSwitchName, false);
26
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStationSwitchName, false);
27
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier3OrGreaterSwitchName, false);
28
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.AllowExternalProcessToBlockAccessToTemporaryFilesSwitchName, false);
29
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.EnableHardwareAccelerationInRdpSwitchName, false);
30
LocalAppContext.DefineSwitchDefault(
CoreAppContextSwitches
.DisableSpecialCharacterLigatureSwitchName, false);
System\Windows\Diagnostics\VisualDiagnostics.cs (2)
37
s_IsEnabled = !
CoreAppContextSwitches
.DisableDiagnostics;
282
s_AllowChangesDuringVisualTreeChanged =
CoreAppContextSwitches
.AllowChangesDuringVisualTreeChanged;
System\Windows\Input\Cursor.cs (1)
272
if (MS.Internal.
CoreAppContextSwitches
.AllowExternalProcessToBlockAccessToTemporaryFiles)
System\Windows\Input\Stylus\Common\StylusLogic.cs (2)
192
return !
CoreAppContextSwitches
.DisableStylusAndTouchSupport;
207
&& (
CoreAppContextSwitches
.EnablePointerSupport || IsPointerEnabledInRegistry)
System\Windows\InterOp\HwndTarget.cs (2)
304
NativeMethodsSetLastError.LsDisableSpecialCharacterLigature(
CoreAppContextSwitches
.DisableSpecialCharacterLigature);
2027
!
CoreAppContextSwitches
.DoNotScaleForDpiChanges &&
System\Windows\Media\ImageSourceConverter.cs (1)
144
if (context == null &&
CoreAppContextSwitches
.OverrideExceptionWithNullReferenceException)
System\Windows\Media\MediaContext.cs (6)
131
/// i. <see cref=" MS.Internal.
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailable"/>
132
/// ii. <see cref="MS.Internal.
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStation"/>
139
/// it can lead to a CPU spike), it can set <see cref=" MS.Internal.
CoreAppContextSwitches
.ShouldRenderEvenWhenNoDisplayDevicesAreAvailable"/>
146
/// <see cref="MS.Internal.
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStation"/> to true
174
!
CoreAppContextSwitches
.ShouldNotRenderInNonInteractiveWindowStation : // THEN render by default, allow ShouldNotRender AppContext override
175
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
bool disableDirtyRectangles =
CoreAppContextSwitches
.DisableDirtyRectangles;
PresentationFramework (1)
System\Windows\Window.cs (1)
7790
/// <see cref="
CoreAppContextSwitches
.DoNotUsePresentationDpiCapabilityTier2OrGreater"/>