WPF: after add WPF Toolkit DLL

84 views Asked by At

After add rrr DLL i am looking at this tutorial. Do i need to add some reference in my XAML in order to find chartingToolkit:Chart ?

1

There are 1 answers

0
Michael On BEST ANSWER

At the end of the opening Window tag, the tutorial's code imports the namespace your are talking about. Do you have the following XAML in your opening Window tag?

xmlns:chartingToolkit= "clr-namespace:System.Windows.Controls.DataVisualization.Charting; assembly=System.Windows.Controls.DataVisualization.Toolkit"

If you are unfamiliar with referencing CLR namespaces from XAML, I strongly recommend reading this MSDN introduction on the topic.