locked
DesignData and WPF UI classes RRS feed

  • Question

  • Hi,

    I'm using the d:DesignData feature with Expression Blend 3. It seems that when I try to provide in the sample data file a mix of buisiness classes and WPF UI classes, Blend crashes. At first it renders the sample data in design view and then, after a little while it closes with an error. Is it wrong to have UI classes in the sample data file when used with the DesignData build action?

    <sys:ArrayList ...>
         <Ellipse Fill="Green">
            <Ellipse.DataContext>			
               <bpvm:BasePageViewModel DisplayName="Tab item header"/>	
            </Ellipse.DataContext>
         </Ellipse>
    </sys:ArrayList>
    
    Tuesday, December 1, 2009 3:26 PM