Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Focus on a Border in a Canvas

I have a Canvas and in it a Border. Now I want to give focus to this Border.
Can somebody please tell me how do do this?

like image 649
stefan.at.wpf Avatar asked Apr 18 '10 22:04

stefan.at.wpf


1 Answers

First, make sure you have Border.Focusable = True. After that, just call Border.Focus() and you should be good to go.

like image 78
Sonny Boy Avatar answered Sep 28 '22 22:09

Sonny Boy