private void CreateCommandBars()
        {
            _commandBarActions = new MultiModeEditorCommandBar
            {
                TargetType = AppBarTargetType.Action,
                CopyCommand = _viewModel.CopyScriptBrickCommand,
                DeleteCommand = _viewModel.DeleteScriptBrickCommand,
                NewCommand = _viewModel.AddNewScriptBrickCommand,
                PlayCommand = _viewModel.StartPlayerCommand,
                DataContext = _viewModel
            };
            _commandBarActions.ModeChanged += MultiModeEditorCommandBar_OnModeChanged;
            _commandBarActions.SetBinding(MultiModeEditorCommandBar.ModeProperty,
                new Binding { Path = new PropertyPath("ActionsCommandBarMode"), Mode = BindingMode.TwoWay });

            _commandBarLooks = new MultiModeEditorCommandBar
            {
                TargetType = AppBarTargetType.Look,
                CopyCommand = _viewModel.CopyLookCommand,
                DeleteCommand = _viewModel.DeleteLookCommand,
                NewCommand = _viewModel.AddNewLookCommand,
                PlayCommand = _viewModel.StartPlayerCommand,
                DataContext = _viewModel
            };
            _commandBarLooks.ModeChanged += MultiModeEditorCommandBar_OnModeChanged;
            _commandBarLooks.SetBinding(MultiModeEditorCommandBar.ModeProperty,
                new Binding { Path = new PropertyPath("LooksCommandBarMode"), Mode = BindingMode.TwoWay });

            _commandBarSounds = new MultiModeEditorCommandBar
            {
                TargetType = AppBarTargetType.Sound,
                CopyCommand = _viewModel.CopySoundCommand,
                DeleteCommand = _viewModel.DeleteSoundCommand,
                NewCommand = _viewModel.AddNewSoundCommand,
                PlayCommand = _viewModel.StartPlayerCommand,
                DataContext = _viewModel
            };
            _commandBarSounds.ModeChanged += MultiModeEditorCommandBar_OnModeChanged;
            _commandBarSounds.SetBinding(MultiModeEditorCommandBar.ModeProperty,
                new Binding { Path = new PropertyPath("SoundsCommandBarMode"), Mode = BindingMode.TwoWay });
        }