XamlReader

Oct 18, 2010 at 2:09 PM

Hello,

For example I use following code:

string xaml = @"<DataTemplate 
                                    xmlns='http://schemas.microsoft.com/client/2007' 
                                    xmlns:local='clr-namespace:SL.Articles.Views;assembly=SL.ArticleListView'>
                                    <local:ArticleListView/>
                                </DataTemplate>";

                DataTemplate dataTemplate = (DataTemplate)XamlReader.Load(xaml);

 

 Can you please help me how to IMPORT ArticleListView class? I have no idea how to do this. XamlReader throws exception "ArticleListView cannot be find". Thank you very much.