I binded the ZoomLevel
-Property of the ChromiumWebBrowser
to a Slider
in a UserControl.xaml. It works really good and its easy too, but its scrolls to the left upper corner of the browser.
<Slider Minimum="0" Maximum="10" x:Name="Slider" />
<cef:ChromiumWebBrowser ZoomLevel="{Binding Path=Value, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, ElementName=Slider}" />
Do you know how to control the ChromiumWebBrowser
-ScrollViewer
or have a solution for this problem?