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
-
PropertyChangedBaseViewAwareScreenHistoryViewModel
- Implements
-
IViewAwareIChildIScreenIHaveDisplayNameIActivateIDeactivateIGuardCloseICloseINotifyPropertyChangedEx
- Derived
- Inherited Members
-
Screen.OnInitialize()Screen.OnActivate()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.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
SelectedIndex
public int SelectedIndex { get; set; }
Property Value
UndoRedoManager
public IUndoRedoManager UndoRedoManager { get; set; }
Property Value
Methods
UndoOrRedoTo(HistoryItemViewModel)
public void UndoOrRedoTo(HistoryItemViewModel item)
Parameters
item
HistoryItemViewModel