ChildWindow: fixed bug in the .NET 3.5 version when setting the FocusVisualStyle in the OnApplyTemplate method. .NET 3.5 doesn't support setting Setter.Value with a ContentControl so it is a limitation of the .net framework. Luckily this works in .NET 4.0. The work around was to not use a focus visual style in the .NET 3.5 version and to set it to null.