Class EffectConfigurationViewModel
Represents a view model for an effect configuration window
Inheritance
ReactiveObject
ReactiveValidationObject
EffectConfigurationViewModel
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
IValidatableViewModel
IActivatableViewModel
Inherited Members
ReactiveValidationObject.HasErrors
ReactiveValidationObject.ValidationContext
ReactiveValidationObject.ErrorsChanged
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged
Namespace: Artemis.UI.Shared.LayerEffects
Assembly: Artemis.UI.Shared.dll
Syntax
public abstract class EffectConfigurationViewModel : ValidatableViewModelBase, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IValidatableViewModel, IActivatableViewModel
Constructors
EffectConfigurationViewModel(BaseLayerEffect)
Creates a new instance of the EffectConfigurationViewModel class
Declaration
protected EffectConfigurationViewModel(BaseLayerEffect layerEffect)
Parameters
Type | Name | Description |
---|---|---|
BaseLayerEffect | layerEffect |
Properties
LayerEffect
Gets the layer effect this view model is associated with
Declaration
public BaseLayerEffect LayerEffect { get; }
Property Value
Type | Description |
---|---|
BaseLayerEffect |
Methods
CanClose()
Called when the window wants to close, returning false will cause the window to stay open.
Declaration
public virtual bool CanClose()
Returns
Type | Description |
---|---|
bool |
CanCloseAsync()
Called when the window wants to close, returning false will cause the window to stay open.
Declaration
public virtual Task<bool> CanCloseAsync()
Returns
Type | Description |
---|---|
Task<bool> |
RequestClose()
Closes the dialog
Declaration
public void RequestClose()
Events
CloseRequested
Occurs when a close was requested
Declaration
public event EventHandler? CloseRequested
Event Type
Type | Description |
---|---|
EventHandler |
Implements
ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
ReactiveUI.IHandleObservableErrors
ReactiveUI.IReactiveObject
Splat.IEnableLogger
ReactiveUI.Validation.Abstractions.IValidatableViewModel
ReactiveUI.IActivatableViewModel