How to Focus on ListviewItem in WPF?

Posted by Prashant on Stack Overflow See other posts from Stack Overflow or by Prashant
Published on 2010-05-07T14:46:24Z Indexed on 2010/05/07 14:48 UTC
Read the original article Hit count: 340

Filed under:
|

I have ListBox in my application with Ten items, user can see five items at time. Sometimes I'm selecting items from code and setting focus.

Selecting an item and focusing work perfectly when items are visible on Form, but for other non-visible items, I'm unable to set the focus (NOTE: after selecting it is visible to user).

Can anyone help me please?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about c#