Class BrushConfigurationViewModel
- Namespace
- Artemis.UI.Shared.LayerBrushes
- Assembly
- Artemis.UI.Shared.dll
Represents a view model for a brush configuration window
public abstract class BrushConfigurationViewModel : ValidatableViewModelBase, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IValidatableViewModel, IDisposable, IActivatableViewModel
- Inheritance
-
objectReactiveObjectReactiveValidationObjectBrushConfigurationViewModel
- Implements
-
IReactiveNotifyPropertyChanged<IReactiveObject>IHandleObservableErrorsIReactiveObjectIEnableLoggerIValidatableViewModelIActivatableViewModel
- Inherited Members
-
ReactiveValidationObject.Dispose()ReactiveValidationObject.HasErrorsReactiveValidationObject.ValidationContextReactiveValidationObject.ErrorsChangedReactiveObject.SuppressChangeNotifications()ReactiveObject.AreChangeNotificationsEnabled()ReactiveObject.DelayChangeNotifications()ReactiveObject.ChangingReactiveObject.ChangedReactiveObject.ThrownExceptionsReactiveObject.PropertyChangingReactiveObject.PropertyChanged
Constructors
BrushConfigurationViewModel(BaseLayerBrush)
Creates a new instance of the BrushConfigurationViewModel class
protected BrushConfigurationViewModel(BaseLayerBrush layerBrush)
Parameters
layerBrushBaseLayerBrush
Properties
LayerBrush
Gets the layer brush this view model is associated with
public BaseLayerBrush LayerBrush { 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