41 references to FrameworkAppContextSwitches
PresentationFramework (41)
MS\Internal\Data\PropertyPathWorker.cs (1)
1455if (!FrameworkAppContextSwitches.IListIndexerHidesCustomIndexer)
MS\Internal\Data\ValueTable.cs (1)
79value = SystemDataHelper.GetValue(item, pd, !FrameworkAppContextSwitches.DoNotUseFollowParentWhenBindingToADODataRelation);
MS\Internal\Documents\TextBoxView.cs (1)
1290return !FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering;
System\AppContextDefaultValues.cs (10)
23LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRenderingSwitchName, true); 25LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThicknessSwitchName, false); 26LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.GridStarDefinitionsCanExceedAvailableSpaceSwitchName, false); 27LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEventSwitchName, false); 28LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.DoNotUseFollowParentWhenBindingToADODataRelationSwitchName, false); 29LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.IListIndexerHidesCustomIndexerSwitchName, false); 31LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.AppendLocalAssemblyVersionForSourceUriSwitchName, false); 32LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.KeyboardNavigationFromHyperlinkInItemsControlIsNotRelativeToFocusedElementSwitchName, false); 33LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.ItemAutomationPeerKeepsItsItemAliveSwitchName, false); 34LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.DisableFluentThemeWindowBackdropSwitchName, false);
System\Windows\Appearance\WindowBackdropManager.cs (1)
140!FrameworkAppContextSwitches.DisableFluentThemeWindowBackdrop;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
661!FrameworkAppContextSwitches.ItemAutomationPeerKeepsItsItemAlive)
System\Windows\Controls\Border.cs (3)
213if (this.UseLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 260if (this.UseLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 571if(FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
System\Windows\Controls\Grid.cs (2)
1619if (FrameworkAppContextSwitches.GridStarDefinitionsCanExceedAvailableSpace) 2051if (FrameworkAppContextSwitches.GridStarDefinitionsCanExceedAvailableSpace)
System\Windows\Controls\ItemsControl.cs (1)
1864if (!FrameworkAppContextSwitches.KeyboardNavigationFromHyperlinkInItemsControlIsNotRelativeToFocusedElement)
System\Windows\Controls\Primitives\Selector.cs (2)
460if (!FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent) 490if (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
822(FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering) ? AdornerSelectionOpacityDefaultValue : NonAdornerSelectionOpacityDefaultValue;
System\Windows\Controls\RichTextBox.cs (1)
52if (!FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering)
System\Windows\Controls\TabControl.cs (1)
336if (MS.Internal.FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent)
System\Windows\Controls\TabItem.cs (2)
289if (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent) 484bool setFocusOnContent = (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent || !IsKeyboardFocusWithin)
System\windows\Documents\TextSelection.cs (1)
1800if (FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering
System\Windows\FrameworkElement.cs (5)
4321if (useLayoutRounding && (this is ScrollContentPresenter || !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)) 4341if (useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 4570if(useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 4678if(useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 4889if(useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
System\Windows\Markup\Baml2006\Baml2006ReaderInternal.cs (1)
48if (FrameworkAppContextSwitches.AppendLocalAssemblyVersionForSourceUri &&
System\Windows\ResourceDictionary.cs (3)
1728if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization) 1787if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization) 2526if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization)
System\Windows\ResourceReferenceExpression.cs (1)
279if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization)
System\Windows\SystemResources.cs (2)
1741if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization) 1813if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization)