Class ToolViewModel
- Namespace
- Artemis.UI.Shared.Services.ProfileEditor
- Assembly
- Artemis.UI.Shared.dll
Represents a profile editor tool.
public abstract class ToolViewModel : ActivatableViewModelBase, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IActivatableViewModel, IToolViewModel, IDisposable
- Inheritance
-
objectReactiveObjectToolViewModel
- Implements
-
IReactiveNotifyPropertyChanged<IReactiveObject>IHandleObservableErrorsIReactiveObjectIEnableLoggerIActivatableViewModel
- Inherited Members
-
ReactiveObject.SuppressChangeNotifications()ReactiveObject.AreChangeNotificationsEnabled()ReactiveObject.DelayChangeNotifications()ReactiveObject.ChangingReactiveObject.ChangedReactiveObject.ThrownExceptionsReactiveObject.PropertyChangingReactiveObject.PropertyChanged
Properties
Hotkey
Gets the keyboard hotkey that activates the tool.
public abstract Hotkey? Hotkey { get; }
Property Value
Icon
Gets the icon which this tool should show in the toolbar.
public abstract MaterialIconKind Icon { get; }
Property Value
- MaterialIconKind
IsEnabled
Gets a boolean indicating whether the tool is enabled.
public abstract bool IsEnabled { get; }
Property Value
IsExclusive
Gets a boolean indicating whether or not this tool is exclusive. Exclusive tools deactivate any other exclusive tools when activated.
public abstract bool IsExclusive { get; }
Property Value
IsSelected
Gets or sets a boolean indicating whether the tool is selected.
public bool IsSelected { get; set; }
Property Value
Order
Gets the order in which this tool should appear in the toolbar.
public abstract int Order { get; }
Property Value
ShowInToolbar
Gets or sets a boolean indicating whether this tool should be shown in the toolbar.
public abstract bool ShowInToolbar { get; }
Property Value
ToolTip
Gets the tooltip which this tool should show in the toolbar.
public abstract string ToolTip { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
Releases the unmanaged resources used by the object and optionally releases the managed resources.
protected virtual void Dispose(bool disposing)