33 references to FrameworkAppContextSwitches
PresentationFramework (33)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1458
if (!
FrameworkAppContextSwitches
.IListIndexerHidesCustomIndexer)
src\Framework\MS\Internal\Data\ValueTable.cs (1)
85
value = SystemDataHelper.GetValue(item, pd, !
FrameworkAppContextSwitches
.DoNotUseFollowParentWhenBindingToADODataRelation);
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
1294
return !
FrameworkAppContextSwitches
.UseAdornerForTextboxSelectionRendering;
src\Framework\System\AppContextDefaultValues.cs (7)
30
LocalAppContext.DefineSwitchDefault(
FrameworkAppContextSwitches
.DoNotApplyLayoutRoundingToMarginsAndBorderThicknessSwitchName, true);
34
LocalAppContext.DefineSwitchDefault(
FrameworkAppContextSwitches
.GridStarDefinitionsCanExceedAvailableSpaceSwitchName, true);
38
LocalAppContext.DefineSwitchDefault(
FrameworkAppContextSwitches
.SelectionPropertiesCanLagBehindSelectionChangedEventSwitchName, true);
42
LocalAppContext.DefineSwitchDefault(
FrameworkAppContextSwitches
.DoNotUseFollowParentWhenBindingToADODataRelationSwitchName, true);
46
LocalAppContext.DefineSwitchDefault(
FrameworkAppContextSwitches
.IListIndexerHidesCustomIndexerSwitchName, true);
50
LocalAppContext.DefineSwitchDefault(
FrameworkAppContextSwitches
.SelectorUpdatesSelectionPropertiesWhenDisconnectedSwitchName, true);
71
LocalAppContext.DefineSwitchDefault(
FrameworkAppContextSwitches
.UseAdornerForTextboxSelectionRenderingSwitchName, true);
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
621
!
FrameworkAppContextSwitches
.ItemAutomationPeerKeepsItsItemAlive)
src\Framework\System\Windows\Controls\Border.cs (3)
224
if (this.UseLayoutRounding && !
FrameworkAppContextSwitches
.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
271
if (this.UseLayoutRounding && !
FrameworkAppContextSwitches
.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
584
if(
FrameworkAppContextSwitches
.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
src\Framework\System\Windows\Controls\Grid.cs (2)
1692
if (
FrameworkAppContextSwitches
.GridStarDefinitionsCanExceedAvailableSpace)
2124
if (
FrameworkAppContextSwitches
.GridStarDefinitionsCanExceedAvailableSpace)
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
1876
if (!
FrameworkAppContextSwitches
.KeyboardNavigationFromHyperlinkInItemsControlIsNotRelativeToFocusedElement)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (4)
479
if (!
FrameworkAppContextSwitches
.SelectionPropertiesCanLagBehindSelectionChangedEvent)
509
if (
FrameworkAppContextSwitches
.SelectionPropertiesCanLagBehindSelectionChangedEvent)
1124
( !
FrameworkAppContextSwitches
.SelectorUpdatesSelectionPropertiesWhenDisconnected
1125
|| (!
FrameworkAppContextSwitches
.SelectorInDataGridUpdatesSelectionPropertiesWhenDisconnected
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
854
(
FrameworkAppContextSwitches
.UseAdornerForTextboxSelectionRendering) ? AdornerSelectionOpacityDefaultValue : NonAdornerSelectionOpacityDefaultValue;
src\Framework\System\Windows\Controls\RichTextBox.cs (1)
58
if (!
FrameworkAppContextSwitches
.UseAdornerForTextboxSelectionRendering)
src\Framework\System\Windows\Controls\TabControl.cs (1)
347
if (MS.Internal.
FrameworkAppContextSwitches
.SelectionPropertiesCanLagBehindSelectionChangedEvent)
src\Framework\System\Windows\Controls\TabItem.cs (2)
296
if (
FrameworkAppContextSwitches
.SelectionPropertiesCanLagBehindSelectionChangedEvent)
476
bool setFocusOnContent = (
FrameworkAppContextSwitches
.SelectionPropertiesCanLagBehindSelectionChangedEvent || !IsKeyboardFocusWithin)
src\Framework\System\windows\Documents\TextSelection.cs (1)
1811
if (
FrameworkAppContextSwitches
.UseAdornerForTextboxSelectionRendering
src\Framework\System\Windows\FrameworkElement.cs (5)
4331
if (useLayoutRounding && (this is ScrollContentPresenter || !
FrameworkAppContextSwitches
.DoNotApplyLayoutRoundingToMarginsAndBorderThickness))
4348
if (useLayoutRounding && !
FrameworkAppContextSwitches
.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
4577
if(useLayoutRounding && !
FrameworkAppContextSwitches
.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
4684
if(useLayoutRounding && !
FrameworkAppContextSwitches
.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
4895
if(useLayoutRounding && !
FrameworkAppContextSwitches
.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
src\Framework\System\Windows\Interop\HwndHost.cs (1)
1199
else if (!
FrameworkAppContextSwitches
.Enable2019_12_B || _hwnd.Handle != IntPtr.Zero) // When the "knob" is disabled, it would be as if this condition didn't exist - which is equivalent to the code prior to this change.