Click here to Skip to main content
15,893,337 members
Articles / Desktop Programming / WPF

Setting Focus to a Control inside a usercontrol in WPF

Rate me:
Please Sign up or sign in to vote.
4.93/5 (35 votes)
17 Oct 2012CPOL3 min read 139.9K   11  
Workaround for a bug concerning focus of child controls inside WPF UserControl
In this tip, you will see a solution to a bug concerning focus of child controls inside a WPF UserControl.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Sweden Sweden
Born in Copenhagen, Denmark
Have been living in Paris, France and L.A., The United States
Now live in Stockholm, Sweden

Started programming when I got my first VIC 20, and a few months later on Commodore 64. Those were the days!

Studied programming at the Copenhagen Engineering Academy

Professional console, winforms and webforms programming in Comal, x86 Assembler, Fortran, Pascal, Delphi, Visual Basic 3 through 6, Classic ASP, C# and VB.NET

I now work as Senior Microsoft Dynamics AX and .Net programmer, and have a number of projects in various states of progress to work on in the spare time...

Comments and Discussions