Class BrushConfigurationViewModel
Represents a view model for a brush configuration window
Inheritance
ReactiveObject
ReactiveValidationObject
BrushConfigurationViewModel
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.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 |
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