tags:

views:

304

answers:

2

What is the difference by Keyboard focus and logical focus in WPF? and how WPF focus is different from the focus in winform ?

+3  A: 

see Focus Overview

ArsenMkrt
+1  A: 

I found a good series of blog posts on WPF focus.

http://www.julmar.com/blog/mark/2008/09/02/Part1ItsBasicallyFocus.aspx

http://www.julmar.com/blog/mark/2008/09/04/Part2ChangingWPFFocusInCode.aspx

http://www.julmar.com/blog/mark/2008/09/12/Part3ShiftingFocusToTheFirstAvailableElementInWPF.aspx

They are all good to read, but the 1st part specifically deals with logical vs keyboard focus. The 3rd part shows a good way to set focus to a UI element in a UserControl.

Ashley Davis