## Selector SelectionChanged event and SelectedValue property ### Scope Minor ### Version Introduced 4.7.1 ### Source Analyzer Status NotPlanned ### Change Description Starting with the .NET Framework 4.7.1, a always updates the value of its property before raising the event, when its selection changes. This makes the SelectedValue property consistent with the other selection properties ( and ), which are updated before raising the event.

In the .NET Framework 4.7 and earlier versions, the update to SelectedValue happened before the event in most cases, but it happened after the event if the selection change was caused by changing the property. - [X] Quirked - [ ] Build-time break ### Recommended Action Apps that target the .NET Framework 4.7.1 or later can opt out of this change and use legacy behavior by adding the following to the `` section of the application configuration file: ```xml ``` Apps that target the .NET Framework 4.7 or earlier but are running on the .NET Framework 4.7.1 or later can enable the new behavior by adding the following line to the `` section of the application .configuration file: ```xml ``` ### Affected APIs * `P:System.Windows.Controls.TabControl.SelectedContent` * `E:System.Windows.Controls.Primitives.Selector.SelectionChanged` ### Category Windows Presentation Foundation (WPF)