Interface ICustomViewModelNode
Represents a node that has a custom view model.
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public interface ICustomViewModelNode
Properties
ViewModelPosition
Gets or sets the position of the node's custom view model.
Declaration
CustomNodeViewModelPosition ViewModelPosition { get; }
Property Value
Type | Description |
---|---|
CustomNodeViewModelPosition |
Methods
GetCustomViewModel(NodeScript)
Called whenever the node must show it's custom view model, if null, no custom view model is used
Declaration
ICustomNodeViewModel? GetCustomViewModel(NodeScript nodeScript)
Parameters
Type | Name | Description |
---|---|---|
NodeScript | nodeScript |
Returns
Type | Description |
---|---|
ICustomNodeViewModel | The custom view model, if null, no custom view model is used |