I came across this strange issue and after lot of trials and errors I think I was able to find out the recipe to produce this error. Here it goes,
I have a RichTextBox --> It has 3 Tables
Whenever I hover over the Header of Any Table it shows me the MOVE box near the Table Header(Table Header is just the first row in my case which is style differently) .. I am just stating this because I think there is an issue here.
Setup: Here is the structure of the RichTextBox XAML
Table1 : Rows including header row ==43
Table2 : Rows including header row ==36
Table3 : Rows including header row ==3
If the Table 1 has even 1 more row than 43, and you hover over the header row of Table 2 Ot Table 3 the application blows up throwing Index out of Range . Must be non-negative and less than the size of the collection error. I have attached the error screenshot
Similarly If the Table 2 has 1 more record than 43 rows and I hover over Table 3 then application blows.
Important thing to consider was 43 was the row count that would fill up 1 page height, after 43 rows the 44th row spills over to the next page.
its really strange problem. Please help ...