Beispiel #1
0
        public void OnInitialize()
        {
            Title = "Edit slideshow";
			
			ButtonBarCommands = new ObservableCollection<ICommand>();
			ButtonBarCommands.Add(MoveLeft);
			ButtonBarCommands.Add(MoveRight);
			ButtonBarCommands.Add(Delete);

            View = new EditSlideshowDialogView() { DataContext = this };
        }
Beispiel #2
0
        partial void OnInitialize()
        {
            Title = "Edit slideshow";
            DisplayCancelButton = false;

            SetCommandsTextAndDescription();
            AddCommandsToButtonBar();

            View = new EditSlideshowDialogView() { DataContext = this };

            PropertyChanged += EditSlideshowDialog_PropertyChanged;
        }