Table of Contents

Class HistoryViewModel

Namespace
Gemini.Modules.UndoRedo.ViewModels
Assembly
Gemini.dll
[Export(typeof(IHistoryTool))]
public class HistoryViewModel : Tool, IViewAware, IChild, IHistoryTool, ITool, ILayoutItem, IScreen, IHaveDisplayName, IActivate, IDeactivate, IGuardClose, IClose, INotifyPropertyChangedEx, INotifyPropertyChanged
Inheritance
PropertyChangedBase
ViewAware
Screen
HistoryViewModel
Implements
IViewAware
IChild
IScreen
IHaveDisplayName
IActivate
IDeactivate
IGuardClose
IClose
INotifyPropertyChangedEx
Derived
Inherited Members
Screen.OnInitialize()
Screen.OnActivate()
Screen.Parent
Screen.DisplayName
Screen.IsActive
Screen.IsInitialized
Screen.Activated
Screen.AttemptingDeactivation
Screen.Deactivated
ViewAware.DefaultContext
ViewAware.Views
ViewAware.ViewAttached
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

HistoryViewModel(IShell)

[ImportingConstructor]
public HistoryViewModel(IShell shell)

Parameters

shell IShell

Properties

HistoryItems

public IObservableCollection<HistoryItemViewModel> HistoryItems { get; }

Property Value

IObservableCollection<HistoryItemViewModel>

PreferredLocation

public override PaneLocation PreferredLocation { get; }

Property Value

PaneLocation

SelectedIndex

public int SelectedIndex { get; set; }

Property Value

int

UndoRedoManager

public IUndoRedoManager UndoRedoManager { get; set; }

Property Value

IUndoRedoManager

Methods

UndoOrRedoTo(HistoryItemViewModel)

public void UndoOrRedoTo(HistoryItemViewModel item)

Parameters

item HistoryItemViewModel