Class EffectConfigurationViewModel
- Namespace
- Artemis.UI.Shared.LayerEffects
- Assembly
- Artemis.UI.Shared.dll
Represents a view model for an effect configuration window
public abstract class EffectConfigurationViewModel : ValidatableViewModelBase, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IValidatableViewModel, IDisposable, IActivatableViewModel
- Inheritance
-
objectReactiveObjectReactiveValidationObjectEffectConfigurationViewModel
- Implements
-
IReactiveNotifyPropertyChanged<IReactiveObject>IHandleObservableErrorsIReactiveObjectIEnableLoggerIValidatableViewModelIActivatableViewModel
- Inherited Members
-
ReactiveValidationObject.Dispose()ReactiveValidationObject.HasErrorsReactiveValidationObject.ValidationContextReactiveValidationObject.ErrorsChangedReactiveObject.SuppressChangeNotifications()ReactiveObject.AreChangeNotificationsEnabled()ReactiveObject.DelayChangeNotifications()ReactiveObject.ChangingReactiveObject.ChangedReactiveObject.ThrownExceptionsReactiveObject.PropertyChangingReactiveObject.PropertyChanged
Constructors
EffectConfigurationViewModel(BaseLayerEffect)
Creates a new instance of the EffectConfigurationViewModel class
protected EffectConfigurationViewModel(BaseLayerEffect layerEffect)
Parameters
layerEffectBaseLayerEffect
Properties
LayerEffect
Gets the layer effect this view model is associated with
public BaseLayerEffect LayerEffect { get; }
Property Value
Methods
CanClose()
Called when the window wants to close, returning false will cause the window to stay open.
public virtual bool CanClose()
Returns
CanCloseAsync()
Called when the window wants to close, returning false will cause the window to stay open.
public virtual Task<bool> CanCloseAsync()
Returns
RequestClose()
Closes the dialog
public void RequestClose()
Events
CloseRequested
Occurs when a close was requested
public event EventHandler? CloseRequested