Artemis Artemis
Artemis Artemis

Search Results for

    Class BrushConfigurationViewModel

    Represents a view model for a brush configuration window

    Inheritance
    object
    ReactiveObject
    ReactiveValidationObject
    ValidatableViewModelBase
    BrushConfigurationViewModel
    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.LayerBrushes
    Assembly: Artemis.UI.Shared.dll
    Syntax
    public abstract class BrushConfigurationViewModel : ValidatableViewModelBase, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IValidatableViewModel, IActivatableViewModel

    Constructors

    BrushConfigurationViewModel(BaseLayerBrush)

    Creates a new instance of the BrushConfigurationViewModel class

    Declaration
    protected BrushConfigurationViewModel(BaseLayerBrush layerBrush)
    Parameters
    Type Name Description
    BaseLayerBrush layerBrush

    Properties

    LayerBrush

    Gets the layer brush this view model is associated with

    Declaration
    public BaseLayerBrush LayerBrush { get; }
    Property Value
    Type Description
    BaseLayerBrush

    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.