Table of Contents

Class DataModelInputViewModel

Namespace
Artemis.UI.Shared.DataModelVisualization
Assembly
Artemis.UI.Shared.dll

For internal use only, implement DataModelInputViewModel<T> instead.

public abstract class DataModelInputViewModel : ReactiveObject, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger
Inheritance
object
ReactiveObject
DataModelInputViewModel
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
Derived
Inherited Members
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged

Methods

Cancel()

Discards changes to the input value and removes this view model.

This is called automatically when the user presses escape

public abstract void Cancel()

OnCancel()

Called before the current value is discarded

protected virtual void OnCancel()

OnSubmit()

Called before the current value is submitted

protected virtual void OnSubmit()

Submit()

Submits the input value and removes this view model.

This is called automatically when the user presses enter or clicks outside the view

public abstract void Submit()