Class ToolViewModel
Represents a profile editor tool.
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
    IHandleObservableErrors
    IReactiveObject
    IEnableLogger
    IActivatableViewModel
    
    
  Inherited Members
      ReactiveObject.SuppressChangeNotifications()
    
    
      ReactiveObject.AreChangeNotificationsEnabled()
    
    
      ReactiveObject.DelayChangeNotifications()
    
    
      ReactiveObject.Changing
    
    
      ReactiveObject.Changed
    
    
      ReactiveObject.ThrownExceptions
    
    
      ReactiveObject.PropertyChanging
    
    
      ReactiveObject.PropertyChanged
    
  Namespace: Artemis.UI.Shared.Services.ProfileEditor
Assembly: Artemis.UI.Shared.dll
Syntax
public abstract class ToolViewModel : ActivatableViewModelBase, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IActivatableViewModel, IToolViewModel, IDisposable
  Constructors
ToolViewModel()
Declaration
protected ToolViewModel()
  Properties
Icon
Gets the icon which this tool should show in the toolbar.
Declaration
public abstract MaterialIconKind Icon { get; }
  Property Value
| Type | Description | 
|---|---|
| MaterialIconKind | 
IsEnabled
Gets a boolean indicating whether the tool is enabled.
Declaration
public abstract bool IsEnabled { get; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
IsExclusive
Gets a boolean indicating whether or not this tool is exclusive. Exclusive tools deactivate any other exclusive tools when activated.
Declaration
public abstract bool IsExclusive { get; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
IsSelected
Gets or sets a boolean indicating whether the tool is selected.
Declaration
public bool IsSelected { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
Order
Gets the order in which this tool should appear in the toolbar.
Declaration
public abstract int Order { get; }
  Property Value
| Type | Description | 
|---|---|
| int | 
ShowInToolbar
Gets or sets a boolean indicating whether this tool should be shown in the toolbar.
Declaration
public abstract bool ShowInToolbar { get; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
ToolTip
Gets the tooltip which this tool should show in the toolbar.
Declaration
public abstract string ToolTip { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Methods
Dispose()
Declaration
public void Dispose()
  Dispose(bool)
Releases the unmanaged resources used by the object and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| bool | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources.  | 
      
Implements
      ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
  
  
      ReactiveUI.IHandleObservableErrors
  
  
      ReactiveUI.IReactiveObject
  
  
      Splat.IEnableLogger
  
  
      ReactiveUI.IActivatableViewModel