I am using a customized control derived from TileListPanel. and I have overriden ArrangeOverride() in this control. I am using this control in two different windows and those two windows are being shown at a time on UI.
I am seeing a crash whose callstack is origination from Mycontrols' ArrangeOverride(). Below is the callstack. could you please help me out in fixing this issue.
Object reference not set to an instance of an object.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Telerik.Windows.Controls.TilesPlacementLocator.MarkTakenPlaceHolders(Int32 row, Int32 column, Tile tile)
at Telerik.Windows.Controls.TileListPanel.DistributeTiles(Size availableSize, List`1 tiles, Int32 firstColumnIndex)
at Telerik.Windows.Controls.TileListPanel.ArrangeOverride(Size finalSize)