I have created an extension of a chart control, and I have declared following property:
public ObservableCollection<DataPoint> ItemsSource { get; set; }
Now, when I try to use it in binding
<chart:DataChart ItemsSource="{Bind MySource}"/>
I am getting:
error MC3074: The tag 'Bind' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'
What should I change for this to work?
Binding, notBind. (Perhaps just a misspelling.)BindingforItemsSource, it has to be a dependency property.