42 references to FrameworkAppContextSwitches
PresentationFramework (42)
MS\Internal\Data\PropertyPathWorker.cs (1)
1432if (!FrameworkAppContextSwitches.IListIndexerHidesCustomIndexer)
MS\Internal\Data\ValueTable.cs (1)
79value = SystemDataHelper.GetValue(item, pd, !FrameworkAppContextSwitches.DoNotUseFollowParentWhenBindingToADODataRelation);
MS\Internal\Documents\TextBoxView.cs (1)
1250return !FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering;
System\AppContextDefaultValues.cs (11)
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); 35LocalAppContext.DefineSwitchDefault(FrameworkAppContextSwitches.DisableDynamicResourceOptimizationSwitchName, true);
System\Windows\Appearance\WindowBackdropManager.cs (1)
140!FrameworkAppContextSwitches.DisableFluentThemeWindowBackdrop;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (1)
658!FrameworkAppContextSwitches.ItemAutomationPeerKeepsItsItemAlive)
System\Windows\Controls\Border.cs (3)
213if (this.UseLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 260if (this.UseLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 579if(FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
System\Windows\Controls\Grid.cs (2)
1612if (FrameworkAppContextSwitches.GridStarDefinitionsCanExceedAvailableSpace) 2044if (FrameworkAppContextSwitches.GridStarDefinitionsCanExceedAvailableSpace)
System\Windows\Controls\ItemsControl.cs (1)
1834if (!FrameworkAppContextSwitches.KeyboardNavigationFromHyperlinkInItemsControlIsNotRelativeToFocusedElement)
System\Windows\Controls\Primitives\Selector.cs (2)
457if (!FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent) 487if (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent)
System\Windows\Controls\Primitives\TextBoxBase.cs (1)
824(FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering) ? AdornerSelectionOpacityDefaultValue : NonAdornerSelectionOpacityDefaultValue;
System\Windows\Controls\RichTextBox.cs (1)
52if (!FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering)
System\Windows\Controls\TabControl.cs (1)
335if (MS.Internal.FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent)
System\Windows\Controls\TabItem.cs (2)
288if (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent) 483bool setFocusOnContent = (FrameworkAppContextSwitches.SelectionPropertiesCanLagBehindSelectionChangedEvent || !IsKeyboardFocusWithin)
System\windows\Documents\TextSelection.cs (1)
1785if (FrameworkAppContextSwitches.UseAdornerForTextboxSelectionRendering
System\Windows\FrameworkElement.cs (5)
4312if (useLayoutRounding && (this is ScrollContentPresenter || !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)) 4332if (useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 4561if(useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 4669if(useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness) 4882if(useLayoutRounding && !FrameworkAppContextSwitches.DoNotApplyLayoutRoundingToMarginsAndBorderThickness)
System\Windows\Markup\Baml2006\Baml2006ReaderInternal.cs (1)
48if (FrameworkAppContextSwitches.AppendLocalAssemblyVersionForSourceUri &&
System\Windows\ResourceDictionary.cs (3)
1730if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization) 1789if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization) 2525if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization)
System\Windows\ResourceReferenceExpression.cs (1)
280if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization)
System\Windows\SystemResources.cs (2)
1725if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization) 1797if (FrameworkAppContextSwitches.DisableDynamicResourceOptimization)