Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.44 KB

intermittently-unable-to-scroll-to-bottom-item-in-itemscontrols-when-using-customer-datatemplates.md

File metadata and controls

46 lines (33 loc) · 1.44 KB

Intermittently unable to scroll to bottom item in ItemsControls (like ListBox and DataGrid) when using custom DataTemplates

Scope

Minor

Version Introduced

4.5

Version Reverted

4.5.2

Source Analyzer Status

Available

Change Description

In some instances, a bug in the .NET Framework 4.5 is causing ItemsControls (like xref:System.Windows.Controls.ListBox?displayProperty=name, xref:System.Windows.Controls.ComboBox?displayProperty=name, xref:System.Windows.Controls.DataGrid?displayProperty=name, etc.) to not scroll to their bottom item when using custom DataTemplates. If the scrolling is attempted a second time (after scrolling back up), it will work then.

  • Quirked
  • Build-time break

Recommended Action

This issue has been fixed in the .NET Framework 4.5.2 and may be addressed by upgrading to that version (or a later version) of the .NET Framework. Alternatively, users can still drag scroll bars to the final items in these collections, but may need to try twice to do so successfully.

Affected APIs

  • Not detectable via API analysis

Category

Windows Presentation Foundation (WPF)