The functionality of an Add-In Extension for Expression Blend 4 aims mostly on a particular project type. It is therefore useful to know how to control the visibility of the Expression Blend 4 extension depending what type of project is open or opens. This article describes how you can control the visibility of an Expression Blend 4 Extension depending on the project type.
The solution presented works with all types of solution of Expression Blend 4 including SketchFlow solutions (WPF and Silverlight).
Full source code of a demo Add-In is available for download.