20 references to FrameworkCompatibilityPreferences
PresentationFramework (20)
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (4)
1699switch (FrameworkCompatibilityPreferences.GetHandleTwoWayBindingToPropertyWithNonPublicSetter()) 1701case FrameworkCompatibilityPreferences.HandleBindingOptions.Allow: 1705case FrameworkCompatibilityPreferences.HandleBindingOptions.Disallow: 1731case FrameworkCompatibilityPreferences.HandleBindingOptions.Throw:
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
2424if (!FrameworkCompatibilityPreferences.TargetsDesktop_V4_0) 2434if (!FrameworkCompatibilityPreferences.TargetsDesktop_V4_0)
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
1844if (!FrameworkCompatibilityPreferences.GetVSP45Compat())
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
3263if (!FrameworkCompatibilityPreferences.GetUseSetWindowPosForTopmostWindows())
src\Framework\System\Windows\Controls\TextBox.cs (1)
1235if (FrameworkCompatibilityPreferences.GetKeepTextBoxDisplaySynchronizedWithTextProperty())
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (3)
11465get { return FrameworkCompatibilityPreferences.GetVSP45Compat(); } 11865_targetName = FrameworkCompatibilityPreferences.GetScrollingTraceTarget(); 11869string s = FrameworkCompatibilityPreferences.GetScrollingTraceFile();
src\Framework\System\Windows\Data\Binding.cs (1)
343FrameworkCompatibilityPreferences.TargetsDesktop_V4_0) // (for compat - Dev11 738992)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (2)
388when (!FrameworkCompatibilityPreferences.ShouldThrowOnCopyOrCutFailure) 457when (!FrameworkCompatibilityPreferences.ShouldThrowOnCopyOrCutFailure)
src\Framework\System\Windows\FrameworkCompatibilityPreferences.cs (1)
422nameof(FrameworkCompatibilityPreferences)));
src\Framework\System\Windows\PropertyPath.cs (1)
894if (FrameworkCompatibilityPreferences.TargetsDesktop_V4_0)
src\Framework\System\Windows\SystemColors.cs (2)
1703if (FrameworkCompatibilityPreferences.GetAreInactiveSelectionHighlightBrushKeysSupported()) 1726if (FrameworkCompatibilityPreferences.GetAreInactiveSelectionHighlightBrushKeysSupported())
src\Framework\System\Windows\Window.cs (1)
5802FrameworkCompatibilityPreferences.GetUseSetWindowPosForTopmostWindows() &&