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