Artemis Artemis
Artemis Artemis

Search Results for

    Class EffectConfigurationViewModel

    Represents a view model for an effect configuration window

    Inheritance
    object
    ReactiveObject
    ReactiveValidationObject
    ValidatableViewModelBase
    EffectConfigurationViewModel
    Implements
    IReactiveNotifyPropertyChanged<IReactiveObject>
    IHandleObservableErrors
    IReactiveObject
    IEnableLogger
    IValidatableViewModel
    IActivatableViewModel
    Inherited Members
    ValidatableViewModelBase.RaiseAndSetIfChanged<TRet>(ref TRet, TRet, string)
    ValidatableViewModelBase.DisplayName
    ValidatableViewModelBase.Activator
    ReactiveValidationObject.GetErrors(string)
    ReactiveValidationObject.RaiseErrorsChanged(string)
    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

    true if the window may close; otherwise false.

    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>

    A task true if the window may close; otherwise false.

    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
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.