我在 WPF 中有 VLC ActiveX 插件控件。
<Grid>
<WindowsFormsHost HorizontalAlignment="Stretch" Margin="0,0,0,0" Visibility="Hidden" Name="windowsFormsHost1" VerticalAlignment="Stretch" ClipToBounds="True" SnapsToDevicePixels="True" />
</Grid>
当我尝试应用一些动画时,我遇到了这个错误:
A WindowsFormsHost cannot be rotated. To suppress this error, handle the LayoutError event and set ThrowException to false.
任何线索我们如何解决它?