Files
dotnet/Documentation/compatibility/binding-a-wpf-selector-property-(such-as-'selecteditem')-to-a-static-property-does-not-work.md
Ron Petrusha 032b744d3a Misc issues (#644)
* Miscellaneous formatting and link changes

* Proper usage of .NET Framework

* Removed 'please'
2018-02-28 16:06:28 -08:00

1.3 KiB

Binding a WPF selector property (such as 'SelectedItem') to a static property does not work

Scope

Minor

Version Introduced

4.5

Version Reverted

4.5

Source Analyzer Status

Planned

Change Description

In the .NET Framework 4.5, WPF Selector properties (such as 'SelectedItem' on xref:System.Windows.Controls.ListBox?displayProperty=name or xref:System.Windows.Controls.DataGrid?displayProperty=name) that are data-bound to static properties do not properly update when their bound property is updated.

  • Quirked
  • Build-time break

This behavior was reverted in a servicing update for the .NET Framework 4.5. To fix this issue, update the .NET Framework 4.5, or upgrade to .NET Framework 4.5.1 or later.

Affected APIs

  • Not detectable via API analysis

Category

Windows Presentation Foundation (WPF)

More information