This question is locked. New answers and comments are not allowed.
Hi,
The EditTemplate of the Shape has a textbox. When I deleted the data in the textbox and by chance the user presses the delete one more time, the shape get the focus and is deleted. This is nuisance when the Edit template contains more than one textboxes and the rest of the data has been filled.
How do we avoid the shape being deleted when editing the data? Is there a way so that the focus remains in the textbox even when there is no data?
The sample (DiagramsMvvmSample) can be downloaded from my skydrive
Cheers
Deepak
The EditTemplate of the Shape has a textbox. When I deleted the data in the textbox and by chance the user presses the delete one more time, the shape get the focus and is deleted. This is nuisance when the Edit template contains more than one textboxes and the rest of the data has been filled.
How do we avoid the shape being deleted when editing the data? Is there a way so that the focus remains in the textbox even when there is no data?
The sample (DiagramsMvvmSample) can be downloaded from my skydrive
Cheers
Deepak