Completed
Last Updated: 21 Oct 2021 10:47 by ADMIN
Release R3 2021 SP1
Doug
Created on: 12 Oct 2021 10:26
Category: UI Framework
Type: Bug Report
0
TPF: KeyNotFoundException when setting Font

  StackTrace:
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Telerik.WinControls.VisualElement.GetScaledFont(Single scale)
   at Telerik.WinControls.UI.LightVisualElement.CreateTextParams()
   at Telerik.WinControls.UI.GridCellElement.CreateTextParams()
   at Telerik.WinControls.UI.TextPart.Measure(SizeF availableSize)

KeyNotFoundException when trying to access a dictionary in GetScaledFont, because of race condition, when setting a Font in another thread.

0 comments