FrameworkCompatibilityPreferences Class

.NET Framework 4.6 and 4.5

Contains properties that specify how an application should behave relative to WPF features that are in the PresentationFramework assembly.


Namespace:  System.Windows
Assembly:  PresentationFramework (in PresentationFramework.dll)

public static class FrameworkCompatibilityPreferences

The FrameworkCompatibilityPreferences type exposes the following members.

Public propertyStatic memberAreInactiveSelectionHighlightBrushKeysSupportedGets or sets a value that indicates whether the application should use the InactiveSelectionHighlightBrush and InactiveSelectionHighlightTextBrush properties for the colors of inactive selected items.
Public propertyStatic memberKeepTextBoxDisplaySynchronizedWithTextPropertyGets or sets a value that indicates whether a data-bound TextBox should display a string that is identical to the value of the source its Text property

.NET Framework

Supported in: 4.6, 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft