First, thanks for the work your team has put into this control. It's well-done, easy-to-modify, and straightforward to use.
I've been trying to the NodeXL GraphZoomAndScaleControl in a WPF app by instantiating the control in XAML with a WindowsFormHost:
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<nodexl:NodeXLControl x:Name="LinkGraph" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
<WindowsFormsHost Grid.Row="1" Height="28">
<nodeutil:GraphZoomAndScaleControl x:Name="ZoomScale" Anchor="Left" Visible="True"/>
In my code-behind, I initialize the ZoomAndScale control with:
this.ZoomScale.NodeXLControl = this.LinkGraph;
The graph displays just fine but I can't seem to get the zoom and scale control to display.
Is it possible to use this control in WPF? Did I miss something really obvious?
Thanks far any help.