Edge
4.5
Available
In .NET Framework 4.5, when a WPF text box control is inactive (it doesn't have focus), the selected text inside the box will appear a different color than when the control is active.
- Quirked
- Build-time break
The previous (.NET Framework 4.0) behavior may be restored by setting the
xref:System.Windows.FrameworkCompatibilityPreferences.AreInactiveSelectionHighlightBrushKeysSupported
property to false
.
T:System.Windows.Controls.TextBox
Windows Presentation Foundation (WPF)