i have a table in a wpf rtb control, im trying to build a solution for merging table cells. at the moment my algorithm can determine the correct row and column spans, however im getting stuck when it comes time to delete the required cells.
initially my code worked flawlessly across column merging, however when row merging came into the picture i cant seem to find my way out. the problem was dealing with varying row spans and deleting the right cells under the right conditions, however i find that there seems to be multiple variations to have to deal with with this method. i figured the easier solution would be to collect all the cells within my RTB.Selection and and simply .Parent, .IndexOf, .Remove, etc. now my last problem is my weakness with TextPointers and trying to wrap my head around the new WPF RTB control...hence, does anyone have a solution for being able to find the TableCells within my Selection() ?