33 references to FrameworkAppContextSwitches
PresentationFramework (33)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (1)
1458if (!FrameworkAppContextSwitches.IListIndexerHidesCustomIndexer)
src\Framework\MS\Internal\Data\ValueTable.cs (1)
85value = SystemDataHelper.GetValue(item, pd, !FrameworkAppContextSwitches.DoNotUseFollowParentWhenBindingToADODataRelation);
src\Framework\MS\Internal\Documents\TextBoxView.cs (1)
1294return !FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering;
src\Framework\System\AppContextDefaultValues.cs (7)
30LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThicknessSwitchName, true); 34LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.GridStarDefinitionsCanExceedAvailableSpaceSwitchName, true); 38LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEventSwitchName, true); 42LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.DoNotUseFollowParentWhenBindingToADODataRelationSwitchName, true); 46LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.IListIndexerHidesCustomIndexerSwitchName, true); 50LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.SelectorUpdatesSelectionPropertiesWhenDisconnectedSwitchName, true); 71LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRenderingSwitchName, true);
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
621!FrameworkAppContextSwitches.ItemAutomationPeerKeepsItsItemAlive)
src\Framework\System\Windows\Controls\Border.cs (3)
224if (this.UseLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 271if (this.UseLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 584if(FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
src\Framework\System\Windows\Controls\Grid.cs (2)
1692if (FrameworkAppContextSwitches.GridStarDefinitionsCanExceedAvailableSpace) 2124if (FrameworkAppContextSwitches.GridStarDefinitionsCanExceedAvailableSpace)
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
1876if (!FrameworkAppContextSwitches.KeyboardNavigationFromHyperlinkInItemsControlIsNotRelativeToFocusedElement)
src\Framework\System\Windows\Controls\Primitives\Selector.cs (4)
479if (!FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent) 509if (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)
58if (!FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering)
src\Framework\System\Windows\Controls\TabControl.cs (1)
347if (MS.Internal.FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent)
src\Framework\System\Windows\Controls\TabItem.cs (2)
296if (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent) 476bool setFocusOnContent = (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent || !IsKeyboardFocusWithin)
src\Framework\System\windows\Documents\TextSelection.cs (1)
1811if (FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering
src\Framework\System\Windows\FrameworkElement.cs (5)
4331if (useLayoutRounding && (this is ScrollContentPresenter || !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)) 4348if (useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 4577if(useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 4684if(useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 4895if(useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
src\Framework\System\Windows\Interop\HwndHost.cs (1)
1199else 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.