Let's say I have a simple class like this:
I then have a class that essientially contains pointers to entities in the base class:
Lastly I create an ObervableCollection of MyClass and my XAML looks like this:
Public Class MyBaseClass |
Implements INotifyPropertyChanged |
Private _coord As Integer |
Public Property coord() As Integer |
Get |
coord = _coord |
End Get |
Set(ByVal value As Integer) |
_coord = value |
RaiseEvent PropertyChanged(Me, New PropertyChangedEventArgs("coord")) |
End Set |
End Property |
Public Event PropertyChanged(ByVal sender As Object, ByVal e As System.ComponentModel.PropertyChangedEventArgs) Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged |
End Class |
I then have a class that essientially contains pointers to entities in the base class:
Public Class MyClass |
Public Property coord_x As MyBaseClass |
Public Property coord_y As MyBaseClass |
End Class |
Lastly I create an ObervableCollection of MyClass and my XAML looks like this:
..... |
<telerik:SeriesMapping.ItemMappings> |
<telerik:ItemMapping DataPointMember="XValue" FieldName="coord_x.value"/> |
<telerik:ItemMapping DataPointMember="YValue" FieldName="coord_y.value"/> |
</telerik:SeriesMapping.ItemMappings> |
..... |
<TextBlock Text="{Binding coord_a.value}"/> |
When entities change in the base class the changes are reflected in the TextBlock, but not in the radchart (if I rebind the chart is updated). If the chart is attached directly to the base class (for testing purposes) all changes are reflected in the chart also.
Are there some limitations in your current implementation of radchart or is this a bug?