コード例 #1
0
        private static void TrackPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PackagesView control = sender as PackagesView;

            control._track = (List <CarStateModel>)e.NewValue;
            control.DisplayData();
        }
コード例 #2
0
        private static void DataPropertyChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            PackagesView control = sender as PackagesView;

            control._data = (LinesDataModel)e.NewValue;
            control.DisplayData();
        }