コード例 #1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     Chart.StrokeThickness = 3;
     Chart.SetBinding(LineChart.ItemsSourceProperty, new Binding("ExampleCollection")); //doesn't work
     Listbox.SetBinding(ListBox.ItemsSourceProperty, new Binding("ExampleCollection")); //works
 }