When you are setting IsSelected=true
to the RadDiagramShape
, the diagram focuses the shape internally in code.
If I understand you correctly, you would like to keep the focus on the TextBox
while the user is writing, but select the matched item.
Easiest thing would be to manually set the focus back to the TextBox
after you set IsSelected
to the shape. This would put the cursor at the end of the text already in the Textbox
, so the user could continue to write.
If that does not satisfy your requirement or if I had misunderstood your case, could I ask you to provide more information and/or runnable code snippets/project.
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer
and share your thoughts.