I have a DataGrid TemplateColumn with a readonly RichTextBox in its CellTemplate and a (editable) RichTextBox in its CellEditingTemplate. The problem is that when I double click the RichTextBox, it selects its text instead of bringing the DataGrid to Edit
As a workaround, I hooked PreviewDoubleClick on the RichTextBox and called DataGrid.BeginEdit(). Although this does bring the editable RichTextBox but the
Caret is always at the beginning of the text instead of the location where I double clicked.
Any Ideas how to handle this?
Syed Mehroz Alam
View Complete Post