public void ExecuteOnAdd(ObservableCollection<AppearListViewItemModel> dataList)
        {
            CommonLightBox dialog = new CommonLightBox();

            AppearListViewControl chWindow = new AppearListViewControl();

            dialog.Owner = Application.Current.MainWindow;
            dialog.BindUIElement(chWindow);

            var listViewModel = new AppearListViewModel()
            {
                DataList = dataList,
                DisplayOrNoDisplayHeader = "登場する/しない"
            };

            chWindow.DataContext = listViewModel;
            ShowDialogManager.ShowDialog(dialog);
        }
        public static AppearListViewModel Create(int storyFrameId)
        {
            var oneCharaStoryModel = ModelsComposite.CharacterStoryModelManager.FindModel(storyFrameId);

            AppearListViewModel appearListViewModel = new AppearListViewModel();
            appearListViewModel.DisplayOrNoDisplayHeader = "登場する/しない";

            appearListViewModel.DataList = new ObservableCollection<AppearListViewItemModel>();

            foreach(var markableItem in ModelsComposite.CharacterManager.ModelCollection)
            {
                var charaItem = markableItem as CharacterModel;

                bool isAppeared = (oneCharaStoryModel.FindModel(charaItem.Id) == null)? false : true;

                appearListViewModel.DataList.Add(new AppearListViewItemModel(charaItem.Name, isAppeared, "登場する", "登場しない", charaItem));
            }

            return appearListViewModel;
        }
        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            CommonLightBox dialog = new CommonLightBox();

            AppearListViewControl chWindow = new AppearListViewControl();

            dialog.Owner = Application.Current.MainWindow;
            dialog.BindUIElement(chWindow);

            var appearList = GetAppearList();
            var listViewModel = new AppearListViewModel()
            {
                DataList = appearList,
                DisplayOrNoDisplayHeader = "表示する/しない",
            };

            chWindow.DataContext = listViewModel;
            ShowDialogManager.ShowDialog(dialog);

            foreach (var item in listViewModel.DataList)
            {
                var data = item.ParentObject as TimelineAxis;
                data.IsDisplayed = item.IsAppeared;
            }

            _timelineViewModel.Initialize();
        }