<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
xmlns:cmd="clr-namespace:GalaSoft.MvvmLight.Command;assembly=GalaSoft.MvvmLight.Extras.WPF45"
xmlns:models="clr-namespace:Wordsearch_Editor.Models"
xmlns:src="clr-namespace:Wordsearch_Editor"
xmlns:Controls="clr-namespace:WpfRichText;assembly=WpfRichText"
xmlns:wf="clr-namespace:AxSHDocVw.AxWebBrowser;assembly=AxSHDocVw.AxWebBrowser"
xmlns:resc="clr-namespace:Wordsearch_WYSIWYG_Editor.Resources"
x:Name="window"
Title="Wordsearch Editor" Height="500" Width="815" MinHeight="500" MinWidth="850">
<Grid>
<WindowsFormsHost>
<wf:AxWebBrowser x:Name="mtbDate" Mask="00/00/0000"/>
</WindowsFormsHost>
</Grid>
我已经引用了AxWebBrowser和Windows窗体,但出于某种原因我无法将Windows窗体控件包装在WPF中。