Class TreeLayoutEngineWidgetViewModel
- Namespace
- Whim.TreeLayout.Bar
- Assembly
- Whim.TreeLayout.Bar.dll
View model for the active tree layout engine on the given monitor.
public class TreeLayoutEngineWidgetViewModel : INotifyPropertyChanged, IDisposable
- Inheritance
-
TreeLayoutEngineWidgetViewModel
- Implements
- Inherited Members
Constructors
TreeLayoutEngineWidgetViewModel(IContext, ITreeLayoutPlugin, IMonitor)
Initializes a new instance of TreeLayoutEngineWidgetViewModel.
public TreeLayoutEngineWidgetViewModel(IContext context, ITreeLayoutPlugin plugin, IMonitor monitor)
Parameters
contextIContextpluginITreeLayoutPluginmonitorIMonitor
Properties
AddNodeDirection
The string representation of the current tree layout engine's add node direction.
If the current workspace's active layout engine is not a tree layout engine, this will be
null.
public string? AddNodeDirection { get; set; }
Property Value
Directions
Supported Directions for The Tree Layout.
public IReadOnlyList<string> Directions { get; }
Property Value
IsVisible
Shortcut to indicate if AddNodeDirection is null.
public Visibility IsVisible { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposingbool
OnPropertyChanged(string?)
protected virtual void OnPropertyChanged(string? propertyName)
Parameters
propertyNamestring
Events
PropertyChanged
Occurs when a property value changes.
public event PropertyChangedEventHandler? PropertyChanged