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
-
objectReactiveObjectDataModelInputViewModel
- Implements
-
IReactiveNotifyPropertyChanged<IReactiveObject>IHandleObservableErrorsIReactiveObjectIEnableLogger
- Derived
- Inherited Members
-
ReactiveObject.SuppressChangeNotifications()ReactiveObject.AreChangeNotificationsEnabled()ReactiveObject.DelayChangeNotifications()ReactiveObject.ChangingReactiveObject.ChangedReactiveObject.ThrownExceptionsReactiveObject.PropertyChangingReactiveObject.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()