'Legend' does not exist in XML namespace System.Windows.Controls.DataVisualizati

Posted by Rajanarayanan under Silverlight on 5/18/2012 | Points: 10 | Views : 4128 | Status : [Member] | Replies : 1
Hi ,

I want to solve this issue in silverlight 5.

xmlns:charttoolkit="clr-namespace:System.Windows.Controls.DataVisualization;assembly=System.Windows.Controls.DataVisualization.Toolkit"
...
<charttoolkit:Legend ...

Results in "The tag 'Legend' does not exist in XML namespace clr-namespace:System.Windows.Controls.DataVisualization;assembly=System.Windows.Controls.DataVisualization.Toolkit" error.

How to solve this issue. Please guide me.

Thanks & Regards
Narayanan P



Responses

Posted by: Superb1986 on: 7/1/2012 [Member] Starter | Points: 25

Up
0
Down
You have to add the following namespaces
System.Windows.Controls
System.Windows.Controls.Toolkit
System.Windows.Controls.Toolkit.internals
System.Windows.Controls.Data

Rajanarayanan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response