dotnet/Documentation/compatibility/intermittently-unable-to-sc...

1.3 KiB

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 ListBox, ComboBox, DataGrid, 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

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)