private static void TrackPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { PackagesView control = sender as PackagesView; control._track = (List <CarStateModel>)e.NewValue; control.DisplayData(); }
private static void DataPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) { PackagesView control = sender as PackagesView; control._data = (LinesDataModel)e.NewValue; control.DisplayData(); }