Expression Blend

Jun 3, 2011 at 10:36 AM


I'm using Catel 1.4 with Expression Blend 4. When I create a new Project inside Visual Studio with the Project Template (net 4.0) and open this solution inside Expression Blend get the following error in the MainWindow.xaml:

The property "TypeArguments" does not exist in the 
"" namespace.

Does someone have any Idea?

Maybe this can help:


Thank You!

Jun 3, 2011 at 1:58 PM

I am currently out of office. as soon as I get back I will take a look at this. for the meantime, try the 3.5 libraries, they work perfectly with a 4.0 project.

Jun 3, 2011 at 6:49 PM

Same problem.

Jun 3, 2011 at 8:12 PM

ok. can you prepare a very small example application that displays the issue and upload it as a new issue here on codeplex? you can attach files to isues.

probably it's because the datawindow and usercontrol are generic, and expression blend cannot handle this correctly (shame on expression blend). 

btw. if you are using wpf, be very careful using expr. blend. I tried copy/pasting, but the codeplex editor does not work very well on my tablet. therefore, just search for "gui designer" at

Jun 3, 2011 at 8:52 PM

I'v already read your blog artikel, but maybe you'll understand that I still want to use Expression Blend nevertheless. I think I'm not the only one that is interested in using Catel and using it with Expression Blend.

Jun 4, 2011 at 11:24 AM

You can use the same solution as used for the Silverlight implementation.

try this:

    /// <summary>
    /// Interaction logic for MainWindow.xaml.
    /// </summary>
    public class MainWindow : DataWindow<MainWindowViewModel>
        /// <summary>
        /// Initializes a new instance of the <see cref="MainWindow"/> class.
        /// </summary>
        public MainWindow()
            : base(DataWindowMode.Custom)
    public partial class MainWindow2 : MainWindow
        public MainWindow2() : base()
Jun 5, 2011 at 6:08 PM

Hi Marko!

I'm sure your solution is the right way to solve this problem. Unfortunately your snippet is not working. Do I have to change the Code of the MainPage.xaml, too?

I wasn't able to reconstruct your solution from an empty silverlight project - things are different there.

I'd be very thankfully if you could give me another hint.

Jun 6, 2011 at 6:20 AM

You have to make a little change to the xaml:

<Windows1:MainWindow x:Class="WPFApplication1.UI.Windows.MainWindow2"

    <!-- Resources -->

    <!-- Content -->
        <Label Content="Here goes your real content" />
Jun 6, 2011 at 7:33 AM

Now its working!

Thank You very much!