I have a WPF project and the main window is required to have rounded corners. I can do this currently by setting AllowTransparency=True. This way the white background near the rounded corners becomes transparent.
However, AllowTransparency is slow and buggy. Particularly there’s a known issue where AllowTransparency is badly broken and MS refuses to fix it — and it affects my customers. Also the MS suggested hotfix is inconsistent at best, so this is also not an option.
It seems I have two choices: 1) simply turn off AllowTransparency and have a miserably ugly form or 2) find a workaround to have rounded edges without AllowTransparency.
StackO is it possible to have rounded edges with AllowTransparency=False in a WPF project? Thanks.
Maybe this helps ? http://www.kirupa.com/blend_wpf/custom_wpf_windows.htm (still with AllowTransparency )
Or this one: http://www.codeproject.com/KB/WPF/CustomWPFWindow.aspx