Table of Contents

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

context IContext
plugin ITreeLayoutPlugin
monitor IMonitor

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

string

Directions

Supported Directions for The Tree Layout.
public IReadOnlyList<string> Directions { get; }

Property Value

IReadOnlyList<string>

IsVisible

Shortcut to indicate if AddNodeDirection is null.
public Visibility IsVisible { get; }

Property Value

Visibility

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

disposing bool

OnPropertyChanged(string?)

protected virtual void OnPropertyChanged(string? propertyName)

Parameters

propertyName string

Events

PropertyChanged

Occurs when a property value changes.
public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler