有人知道为什么 WPFViewbox
控件不能缩放 WPFWebBrowser
控件吗?
有可能做吗?
XAML:
<Window x:Class="WpfApplication12.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525" Background="Yellow">
<Viewbox Stretch="Fill" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >
<WebBrowser VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Source="http://stackoverflow.com"></WebBrowser>
</Viewbox>
</Window>