H
Haiping
Hello,
I understand that WindowsFormsIntegration is loaded on demand. Is there a
way to force WindowsFormsIntegration to be loaded?
I have some UserControls with some WindowsFormsHosts. If I call XamlWriter
first to save them and then call XamlReader to read them there is no problem.
But if I call XamlReader first to read the saved UserControl I got following
error message:
The tag"WindowsFormsHost" does not exist in XML namesapce
"clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration".
I think WindowsFormsIntegration was loaded by XamlWriter but XamlReader does
not load WindowsFormsIntegration. How to force WindowsFormsIntegration to be
loaded without call XamlWriter?
Thanks for any help,
I understand that WindowsFormsIntegration is loaded on demand. Is there a
way to force WindowsFormsIntegration to be loaded?
I have some UserControls with some WindowsFormsHosts. If I call XamlWriter
first to save them and then call XamlReader to read them there is no problem.
But if I call XamlReader first to read the saved UserControl I got following
error message:
The tag"WindowsFormsHost" does not exist in XML namesapce
"clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration".
I think WindowsFormsIntegration was loaded by XamlWriter but XamlReader does
not load WindowsFormsIntegration. How to force WindowsFormsIntegration to be
loaded without call XamlWriter?
Thanks for any help,