Late reply, but if anyone stumbled across this post for similar reasons, I found that I had to replace this line
I have also refactored my code to not be var view, but var source.
var view = context.View as FrameworkElement;
asvar view = context.Source as FrameworkElement;
Note: i am using the Xceed busy indicator and not the WPFToolkit one, but the principal is the same.I have also refactored my code to not be var view, but var source.