I created a Tool for the app builder that has some graphs on and I wan to put it in the SidePanelContainer with the other existing controls e.g. layers(switch on and off) etc.
This tool has its own viewmodel which I set in the actual tool so obviously once you click the tool it sets the view model. Now I added the view on a existing layout and called it GlassPlus and it looks like "<views:StatisticsView x:Name="StatsView" Grid.Row="1"/>" and the "views" obviously connects to the correct name space etc as the view does show.
Now the problem Im having is that every time I click it fires an event in my tool that I built and it does fire every time but nothing happens on the view itself in the side bar. it just stays the same.
Im thinking its to do with the fact that my tool inherits from the main app.
How do I set the binding on my own tool or work around the problem?