Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.33 KB

binding-a-wpf-selector-property-(such-as-'selecteditem')-to-a-static-property-does-not-work.md

File metadata and controls

37 lines (25 loc) · 1.33 KB

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

Recommended Action

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