WindowsFormsHost not showing when Wpf Window style is set?

Up vote 1 down vote favorite share g+ share fb share tw.

I have a WPF Window that has a WinForms Button inside. When I set the Style of the Window the button isn't rendered, but when the Window Style is not set the Button appears as it should be. Window Xaml: Here is the Style for the window: I have other windows with the same style but only with WPF controls (some with default style and some with custom style) and there is no problem.

I've tried to Enable Visual Styles with no luck.. Thanks in advance for any help... wpf styles winforms-interop link|improve this question edited Aug 15 '11 at 15:59Dave Clemmer1,77331030 asked Jul 6 '10 at 17:22jpsstavares601313 86% accept rate.

2 This is known limitation of WindowsFormsHost: when you set AllowsTransparency="True" your win-forms controls don't show up :( You can look at this here: social.msdn.microsoft.com/forums/en-US/w... but the workaround suggestion there is very ugly. – repka Jul 7 '10 at 0:01 Oh damn it! Anyway, if you answer as an answer I would mark your answuer as correct.

I think I'm not able to do it in the comment – jpsstavares Jul 7 '10 at 8:18.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions