Introduced ActiveViewChanged event on AvalonDockViewHost which is fired any time a document or tool view is activated. Selected item in treeview is set as the application's selection when it gets focus. PipingCalculationsView current cell is cleared when the data source is updated. Related to Issue [WTI-756] git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@4603 5a3db67b-de53-47b5-99c8-a1c30a6650e2