Exemplo n.º 1
0
        public void MoveForward()
        {
            var nextNode = Current.NextNode;

            Current = nextNode;

            OnHistoryChanged();
        }
Exemplo n.º 2
0
        public void MoveBack()
        {
            var previousNode = Current.PreviousNode;

            Current = previousNode;

            OnHistoryChanged();
        }
Exemplo n.º 3
0
        public void Add(TabViewModelBase viewModel)
        {
            var newNode = new TabItemNode(viewModel);

            Current.NextNode     = newNode;
            newNode.PreviousNode = Current;

            Current = newNode;

            OnHistoryChanged();
        }
Exemplo n.º 4
0
        public TabItemHistory(TabViewModelBase viewModel)
        {
            var head = new TabItemNode(viewModel);

            Current = head;
        }