22 references to LocalAppContext
PresentationFramework (22)
parent\InternalApis\Clr\inc\LocalAppContext.cs (3)
116
if (
LocalAppContext
.DisableCaching)
118
return
LocalAppContext
.IsSwitchEnabled(switchName);
121
bool isEnabled =
LocalAppContext
.IsSwitchEnabled(switchName);
src\Framework\MS\Internal\FrameworkAppContextSwitches.cs (12)
32
return
LocalAppContext
.GetCachedSwitchValue(DoNotApplyLayoutRoundingToMarginsAndBorderThicknessSwitchName, ref _doNotApplyLayoutRoundingToMarginsAndBorderThickness);
43
return
LocalAppContext
.GetCachedSwitchValue(GridStarDefinitionsCanExceedAvailableSpaceSwitchName, ref _gridStarDefinitionsCanExceedAvailableSpace);
54
return
LocalAppContext
.GetCachedSwitchValue(SelectionPropertiesCanLagBehindSelectionChangedEventSwitchName, ref _selectionPropertiesCanLagBehindSelectionChangedEvent);
65
return
LocalAppContext
.GetCachedSwitchValue(DoNotUseFollowParentWhenBindingToADODataRelationSwitchName, ref _doNotUseFollowParentWhenBindingToADODataRelation);
78
return
LocalAppContext
.GetCachedSwitchValue(UseAdornerForTextboxSelectionRenderingSwitchName, ref _useAdornerForTextboxSelectionRendering);
91
return
LocalAppContext
.GetCachedSwitchValue(AppendLocalAssemblyVersionForSourceUriSwitchName, ref _AppendLocalAssemblyVersionForSourceUriSwitchName);
104
return
LocalAppContext
.GetCachedSwitchValue(IListIndexerHidesCustomIndexerSwitchName, ref _IListIndexerHidesCustomIndexer);
117
return
LocalAppContext
.GetCachedSwitchValue(KeyboardNavigationFromHyperlinkInItemsControlIsNotRelativeToFocusedElementSwitchName, ref _KeyboardNavigationFromHyperlinkInItemsControlIsNotRelativeToFocusedElement);
132
return
LocalAppContext
.GetCachedSwitchValue(ItemAutomationPeerKeepsItsItemAliveSwitchName, ref _ItemAutomationPeerKeepsItsItemAlive);
146
return
LocalAppContext
.GetCachedSwitchValue(SelectorUpdatesSelectionPropertiesWhenDisconnectedSwitchName, ref _SelectorUpdatesSelectionPropertiesWhenDisconnected);
160
return
LocalAppContext
.GetCachedSwitchValue(SelectorInDataGridUpdatesSelectionPropertiesWhenDisconnectedSwitchName, ref _SelectorInDataGridUpdatesSelectionPropertiesWhenDisconnected);
176
return
LocalAppContext
.GetCachedSwitchValue(Enable2019_12_BSwitchName, ref _Enable2019_12_B);
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);