Class
NodeViewModelBase

Base class for MVVM nodes.

Definition

Namespace:Telerik.Windows.Controls.Diagrams.Extensions.ViewModels

Assembly:Telerik.Windows.Controls.Diagrams.Extensions.dll

Syntax:

cs-api-definition
public class NodeViewModelBase : ItemViewModelBase, INotifyPropertyChanged, IDisposable

Inheritance: objectViewModelBaseItemViewModelBaseNodeViewModelBase

Derived Classes: ContainerNodeViewModelBase<TNode>HierarchicalNodeViewModel

Implements: IDisposableINotifyPropertyChanged

Inherited Members ItemViewModelBase.VisibilityItemViewModelBase.PositionItemViewModelBase.ContentItemViewModelBase.IsSelectedViewModelBase.VerifyPropertyName(string)ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.RaisePropertyChanged(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.Dispose(bool)ViewModelBase.PropertyChanged

Constructors

NodeViewModelBase()

Initializes a new instance of the NodeViewModelBase class.

Declaration

cs-api-definition
public NodeViewModelBase()

Properties

Height

Gets or sets the height.

Declaration

cs-api-definition
public double Height { get; set; }

Property Value

double

The height.

RotationAngle

Gets or sets the rotation of the shape.

Declaration

cs-api-definition
public double RotationAngle { get; set; }

Property Value

double

Width

Gets or sets the width.

Declaration

cs-api-definition
public double Width { get; set; }

Property Value

double

The width.